1
bikkppoes
Re: Time to get on GitHub! Check out the "Hello World" Tutorial! :)
  • Today 2:56

  • bikkppoes

  • Just popping in

  • Posts: 1

  • Since: Today 2:53


on the thought of his buddy zhuge qing, zhang chulan and feng baobao came to resolve the case with the help of "anywhere" business enterprise. how does zhang chulan display his competencies to assist the king trap the black hand backstage? what wonderful overall performance will zhuge qing, wang ye and others have? who're the people who covet the "8 wonders"? "under one guy-becoming a member of the world" may be introducedsoon!
best seo company



2
cadch
Re: where utf8mb4 protector table can not creat
  • 2021/12/4 15:50

  • cadch

  • Just popping in

  • Posts: 32

  • Since: 2007/12/17


OR SET KEY LENGTH:
CREATE TABLE log (
  
lid mediumint(8unsigned NOT NULL auto_increment,
  
uid mediumint(8unsigned NOT NULL default 0,
  
ip varchar(255NOT NULL default '0.0.0.0',
  
type varchar(255NOT NULL default '',
  
agent varchar(255NOT NULL default '',
  
description text,
  
extra text,
  
timestamp DATETIME,
  
PRIMARY KEY (lid) ,
  
KEY (uid) ,
  
KEY (ip(128)) ,
  
KEY (type(250)) ,
  
KEY (timestamp)
ENGINE=MyISAM;

CREATE TABLE access (
  
ip varchar(255NOT NULL default '0.0.0.0',
  
request_uri varchar(255NOT NULL default '',
  
malicious_actions varchar(255NOT NULL default '',
  
expire int NOT NULL default 0,
  
KEY (ip(128)),
  
KEY (request_uri(250)),
  
KEY (malicious_actions(250)),
  
KEY (expire)
ENGINE=MyISAM;



3
cadch
where utf8mb4 protector table can not creat
  • 2021/12/4 10:47

  • cadch

  • Just popping in

  • Posts: 32

  • Since: 2007/12/17


where mysql CHARACTER SET utf8mb4 have some errorQuote:
Creating tables...Specified key was too long; max key length is 1000 bytes

FILE:
Quote:
\htdocs\xoops_lib\modules\protector\sql\mysql.sql

CODE:
CREATE TABLE log (
  
lid mediumint(8unsigned NOT NULL auto_increment,
  
uid mediumint(8unsigned NOT NULL default 0,
  
ip varchar(255NOT NULL default '0.0.0.0',
  
type varchar(255NOT NULL default '',
  
agent varchar(255NOT NULL default '',
  
description text,
  
extra text,
  
timestamp DATETIME,
  
PRIMARY KEY (lid) ,
  
KEY (uid) ,
  
KEY (ip) ,
  
KEY (type) ,
  
KEY (timestamp)
ENGINE=MyISAM;

CREATE TABLE access (
  
ip varchar(255NOT NULL default '0.0.0.0',
  
request_uri varchar(255NOT NULL default '',
  
malicious_actions varchar(255NOT NULL default '',
  
expire int NOT NULL default 0,
  
KEY (ip),
  
KEY (request_uri),
  
KEY (malicious_actions),
  
KEY (expire)
ENGINE=MyISAM;

EDIT:
CREATE TABLE log (
  
lid mediumint(8unsigned NOT NULL auto_increment,
  
uid mediumint(8unsigned NOT NULL default 0,
  
ip varchar(128NOT NULL default '0.0.0.0',
  
type varchar(250NOT NULL default '',
  
agent varchar(255NOT NULL default '',
  
description text,
  
extra text,
  
timestamp DATETIME,
  
PRIMARY KEY (lid) ,
  
KEY (uid) ,
  
KEY (ip) ,
  
KEY (type) ,
  
KEY (timestamp)
ENGINE=MyISAM;

CREATE TABLE access (
  
ip varchar(128NOT NULL default '0.0.0.0',
  
request_uri varchar(250NOT NULL default '',
  
malicious_actions varchar(250NOT NULL default '',
  
expire int NOT NULL default 0,
  
KEY (ip),
  
KEY (request_uri),
  
KEY (malicious_actions),
  
KEY (expire)
ENGINE=MyISAM;

OR:(use utf8mb3)
CREATE TABLE log (
  
lid mediumint(8unsigned NOT NULL auto_increment,
  
uid mediumint(8unsigned NOT NULL default 0,
  
ip varchar(255CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL default '0.0.0.0',
  
type varchar(255CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL default '',
  
agent varchar(255NOT NULL default '',
  
description text,
  
extra text,
  
timestamp DATETIME,
  
PRIMARY KEY (lid) ,
  
KEY (uid) ,
  
KEY (ip) ,
  
KEY (type) ,
  
KEY (timestamp)
ENGINE=MyISAM;

CREATE TABLE access (
  
ip varchar(255CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL default '0.0.0.0',
  
request_uri varchar(255CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL default '',
  
malicious_actions varchar(255CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL default '',
  
expire int NOT NULL default 0,
  
KEY (ip),
  
KEY (request_uri),
  
KEY (malicious_actions),
  
KEY (expire)
ENGINE=MyISAM;



4
cadch
Re: XoopsCore25-2.5.11-Beta1 On PHP Version 8.0.13 protector some error,get_magic_quotes_gpc() returns undefined
  • 2021/12/4 10:38

  • cadch

  • Just popping in

  • Posts: 32

  • Since: 2007/12/17


ok



5
Mamba
Re: XoopsCore25-2.5.11-Beta1 On PHP Version 8.0.13 protector some error,get_magic_quotes_gpc() returns undefined
  • 2021/12/3 16:20

  • Mamba

  • Moderator

  • Posts: 11209

  • Since: 2004/4/23


Thank you so much for the reporting!

Could you please download the latest master here: https://github.com/XOOPS/XoopsCore25/archive/master.zip and re-test it?

There have been quite a few changes since the Beta 1 release...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



6
cadch
XoopsCore25-2.5.11-Beta1 On PHP Version 8.0.13 installer page_moduleinstaller.php some error, Undefined constant "_AM_SYSTEM_DBUPDATED"
  • 2021/12/3 15:06

  • cadch

  • Just popping in

  • Posts: 32

  • Since: 2007/12/17


FILE:
Quote:
htdocs\install\page_moduleinstaller.php

MOVE THE CODE TO LINE 25
if (!@include_once "../modules/system/language/{$wizard->language}/admin.php") {
    include_once 
'../modules/system/language/english/admin.php';
}

OR LINE 21 ADD
define('_AM_SYSTEM_DBUPDATED''Database Updated Successfully!');



7
cadch
XoopsCore25-2.5.11-Beta1 On PHP Version 8.0.13 installer page_theme.php some error, Undefined constant "_AM_SYSTEM_DBUPDATED"
  • 2021/12/3 15:00

  • cadch

  • Just popping in

  • Posts: 32

  • Since: 2007/12/17


FILE:
Quote:
\htdocs\install\page_theme.php

LINE:43 ADD
if (!@include_once "../modules/system/language/{$wizard->language}/admin.php") {
    include_once 
'../modules/system/language/english/admin.php';
}

OR ADD
define('_AM_SYSTEM_DBUPDATED''Database Updated Successfully!');



8
cadch
XoopsCore25-2.5.11-Beta1 On PHP Version 8.0.13 uploader.php some error, get_magic_quotes_gpc() returns undefined
  • 2021/12/3 14:27

  • cadch

  • Just popping in

  • Posts: 32

  • Since: 2007/12/17


FILE:
Quote:
\htdocs\class\uploader.php

LINE:234
$this->mediaName = @get_magic_quotes_gpc() ? stripslashes($_FILES[$media_name]['name'][$index]) : $_FILES[$media_name]['name'][$index];

CHANGE TO:
$this->mediaName $_FILES[$media_name]['name'][$index];



LINE:249
$this->mediaName = @get_magic_quotes_gpc() ? stripslashes($media_name['name']) : $media_name['name'];

CHANGE TO:
$this->mediaName $media_name['name'];



9
cadch
XoopsCore25-2.5.11-Beta1 On PHP Version 8.0.13 installer some error, get_magic_quotes_gpc() returns undefined
  • 2021/12/3 14:18

  • cadch

  • Just popping in

  • Posts: 32

  • Since: 2007/12/17


FILE:
Quote:
\htdocs\class\module.textsanitizer.php

LINE:523
if (!@get_magic_quotes_gpc()) {
            
$text addslashes($text);
        }

chang to
$text addslashes($text);



LINE:797
if (@get_magic_quotes_gpc()) {
            
$text stripslashes($text);
        }

DEL THE CODE
Because some installer used function addSlashes,On PHP 8.0.13 installer Can not continue.



10
cadch
XoopsCore25-2.5.11-Beta1 On PHP Version 8.0.13 protector some error,get_magic_quotes_gpc() returns undefined
  • 2021/12/3 14:12

  • cadch

  • Just popping in

  • Posts: 32

  • Since: 2007/12/17


\htdocs\xoops_lib\modules\protector\class\protector.php
LINE:627
$val = @get_magic_quotes_gpc() ? stripslashes($val) : $val;

DEL THE LINE.




TopTop
(1) 2 3 4 ... 29374 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

61 user(s) are online (40 user(s) are browsing Support Forums)


Members: 0


Guests: 61


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits