1
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: 55

  • Since: 2007/12/17


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

LINE:523
le="color: #000000"><?php if (!@get_magic_quotes_gpc()) { $text = addslashes($text); }

chang to
le="color: #000000"><?php $text = addslashes($text);



LINE:797
le="color: #000000"><?php 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.

Login

Donat-O-Meter

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

Latest GitHub Commits