ok, i have a others lot of problems
Google find a error 500 with this log
Code: Select all
[Wed Jan 03 09:34:26.710767 2024] [fcgid:warn] [pid 823643] [client 66.249.70.4:63975] mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Undefined constant "SID" in /var/www/vhosts/mysite.it/httpdocs/catalog/includes/classes/usu_init.php:36
[Wed Jan 03 09:34:26.710805 2024] [fcgid:warn] [pid 823643] [client 66.249.70.4:63975] mod_fcgid: stderr: Stack trace:
[Wed Jan 03 09:34:26.710809 2024] [fcgid:warn] [pid 823643] [client 66.249.70.4:63975] mod_fcgid: stderr: #0 /var/www/vhosts/mysite.it/httpdocs/catalog/includes/system/versioned/1.0.8.1/hooks.php(160): usu_init::i()
[Wed Jan 03 09:34:26.710813 2024] [fcgid:warn] [pid 823643] [client 66.249.70.4:63975] mod_fcgid: stderr: #1 /var/www/vhosts/mysite.it/httpdocs/catalog/includes/application_top.php(30): hooks->generate()
[Wed Jan 03 09:34:26.710816 2024] [fcgid:warn] [pid 823643] [client 66.249.70.4:63975] mod_fcgid: stderr: #2 /var/www/vhosts/mysite.it/httpdocs/catalog/product_info.php(13): require('...')
[Wed Jan 03 09:34:26.710820 2024] [fcgid:warn] [pid 823643] [client 66.249.70.4:63975] mod_fcgid: stderr: #3 {main}
[Wed Jan 03 09:34:26.710823 2024] [fcgid:warn] [pid 823643] [client 66.249.70.4:63975] mod_fcgid: stderr: thrown in /var/www/vhosts/mysite.it/httpdocs/catalog/includes/classes/usu_init.php on line 36
usu_init.php:36 have :
inside the function :
Code: Select all
usu_Main::i()->setVar( 'version', usu_Main::$usu_version)
->setVar( 'request_type', $GLOBALS['request_type'] )
->setVar( 'session_started', $GLOBALS['session_started']?? null ) // cambio 1.0.8.19
->setVar( 'sid', SID ) // cambio 1.0.8.19
->setVar( 'languages_id', $_SESSION['languages_id'] )
->setVar( 'language', isset ($_SESSION['language']) ? $_SESSION['language'] : DEFAULT_LANGUAGE)
->setVar( 'filename', basename($GLOBALS['PHP_SELF']) )
->setvar( 'filepath' , pathinfo($GLOBALS['PHP_SELF'])['dirname'])
->initiate( ( isset( $GLOBALS['$lng'] ) && ( $GLOBALS['$lng'] instanceof language ) ) ? $GLOBALS['$lng'] : [], $_SESSION['languages_id'], $_SESSION['language'] );
And log:
Code: Select all
mod_fcgid: stderr: PHP Warning: Undefined variable $PHP_SELF in /var/www/vhosts/mysite.it/httpdocs/catalog/includes/apps/ultimate_seo_urls/canonical_modules/specials.php on line 16, referer: http://m.facebook.com
mod_fcgid: stderr: PHP Warning: Undefined variable $PHP_SELF in /var/www/vhosts/mysite.it/httpdocs/catalog/includes/apps/ultimate_seo_urls/canonical_modules/stock_pages.php on line 18, referer: http://m.facebook.com
those last, of sure, also with php 7.4.x
Enrico