741
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: 54

  • Since: 2007/12/17


ok



742
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: 11468

  • 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.11 | Docs | Modules | Bugs



743
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: 54

  • 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!');



744
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: 54

  • 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!');



745
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: 54

  • 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'];



746
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: 54

  • 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.



747
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: 54

  • 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.



748
cadch
XoopsCore25-2.5.11-Beta1 On PHP Version 8.0.13 installer some error, Undefined constant XOOPS_VAR_PATH
  • 2021/12/3 14:05

  • cadch

  • Just popping in

  • Posts: 54

  • Since: 2007/12/17


When https://XOOPS_URL/install/index.php
have error
Quote:
Fatal Error Undefined constant "XOOPS_VAR_PATH" file: /home/sc/public_html/include/license.php : 24

Edit
\htdocs\install\include\common.inc.php
LINE:63
ADD
if (!defined('XOOPS_VAR_PATH')) {
    
define('XOOPS_VAR_PATH''');
}



749
zyspec
Re: Module translation and special characters
  • 2021/12/1 16:01

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


Glad the explanation helped. In this case Cedric's change should fix this particular issue.



750
alain01
Re: Module translation and special characters
  • 2021/12/1 10:50

  • alain01

  • Just can't stay away

  • Posts: 541

  • Since: 2003/6/20


yes I had seen but I didn't understand Cedric's explanation in the PR.
With the additional explanation given by Zyspec, it is clear and I now understand Cedric's explanation




TopTop
« 1 ... 72 73 74 (75) 76 77 78 ... 29446 »



Login

Who's Online

245 user(s) are online (186 user(s) are browsing Support Forums)


Members: 0


Guests: 245


more...

Donat-O-Meter

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

Latest GitHub Commits