PHP7 issue : start a fix PHP7 issue : start a fix
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

PHP7 issue : start a fix

Started by shnoulle, July 16, 2018, 02:15:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shnoulle

Hi,

Since i move and updating to cpg1.5.46 on a PHP7 server, i put some update needed (when i found it.

1st deprecated function set_magic_quotes_runtime (this one can really be removed since is deprecated since 5.3)
Add this in config.php
if (!function_exists('set_magic_quotes_runtime')) {
    function set_magic_quotes_runtime($setting) {
        return true;
    }
}


Updating this post when i found more (but maybe moving to 1.6 before)

phill104

1.6 is the way forward. There are many changes needed for PHP7 all of which have been done in 1.6. Some themes and plugins are not yet migrated to 1.6 but we can help with those as and when.  We still have some parts of the docs to update and would love help with that.
It is a mistake to think you can solve any major problems just with potatoes.

JohannM

Quote from: shnoulle on July 16, 2018, 02:15:25 AM
Hi,

Since i move and updating to cpg1.5.46 on a PHP7 server, i put some update needed (when i found it.

1st deprecated function set_magic_quotes_runtime (this one can really be removed since is deprecated since 5.3)
Add this in config.php
if (!function_exists('set_magic_quotes_runtime')) {
    function set_magic_quotes_runtime($setting) {
        return true;
    }
}


Updating this post when i found more (but maybe moving to 1.6 before)


Hello

Is this now in config.inc.php file ?