Hi guys,
I have inherited a Chevereto installation. I needed to move it from the old server to my own VPS as the old server was about to expire.
I have transferred all files through FTP (ancient old server) and re-uploaded it to my cpanel VPS. Everything seemed in order, so I went ahead and set up the cron and changed the values in settings.php to connect to my own database. But when I go to domain.com/chevereto it gives me a 500 server error.
Any thoughts? Database name, user and password are correct and server is localhost. I have tried it on PHP 7.3, 7.4 and 8.
When I dig into the error.log this is what I get:
Stack trace:
#0 /home/DOMAIN/public_html/chevereto/lib/G/functions.php(86): count(NULL)
#1 /home/DOMAIN/public_html/chevereto/lib/G/functions.php(1499): G\check_value(NULL)
#2 /home/DOMAIN/public_html/chevereto/app/loader.php(95): G\absolute_to_url('/home/DOMAIN/p...')
#3 /home/DOMAIN/public_html/chevereto/index.php(20): include_once('/home/DOMAIN/p...')
#4 {main}
thrown in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 86
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined array key "session.save_path" in /home/DOMAIN/public_html/chevereto/lib/G/G.php on line 86
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $subject follows optional parameter $delimiter in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 1613
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $filename follows optional parameter $method in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 2164
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined array key "error_reporting" in /home/DOMAIN/public_html/chevereto/lib/G/G.php on line 119
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $values_array follows optional parameter $exception in /home/DOMAIN/public_html/chevereto/app/lib/functions.php on line 81
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $item follows optional parameter $tpl in /home/DOMAIN/public_html/chevereto/app/lib/functions.render.php on line 396
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $template follows optional parameter $tpl in /home/DOMAIN/public_html/chevereto/app/lib/functions.render.php on line 396
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $tools follows optional parameter $tpl in /home/DOMAIN/public_html/chevereto/app/lib/functions.render.php on line 396
[07-Nov-2023 10:18:03 UTC] PHP Warning: A non-numeric value encountered in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 1422
[07-Nov-2023 10:18:03 UTC] PHP Warning: A non-numeric value encountered in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 1422
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined array key "crypt" in /home/DOMAIN/public_html/chevereto/app/loader.php on line 51
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined variable $join in /home/DOMAIN/public_html/chevereto/lib/G/classes/class.db.php on line 349
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined array key "active_storage" in /home/DOMAIN/public_html/chevereto/app/lib/classes/class.settings.php on line 241
[07-Nov-2023 10:18:03 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/DOMAIN/public_html/chevereto/lib/G/functions.php:86
At a bit of a loss here...
I have inherited a Chevereto installation. I needed to move it from the old server to my own VPS as the old server was about to expire.
I have transferred all files through FTP (ancient old server) and re-uploaded it to my cpanel VPS. Everything seemed in order, so I went ahead and set up the cron and changed the values in settings.php to connect to my own database. But when I go to domain.com/chevereto it gives me a 500 server error.
Any thoughts? Database name, user and password are correct and server is localhost. I have tried it on PHP 7.3, 7.4 and 8.
When I dig into the error.log this is what I get:
Stack trace:
#0 /home/DOMAIN/public_html/chevereto/lib/G/functions.php(86): count(NULL)
#1 /home/DOMAIN/public_html/chevereto/lib/G/functions.php(1499): G\check_value(NULL)
#2 /home/DOMAIN/public_html/chevereto/app/loader.php(95): G\absolute_to_url('/home/DOMAIN/p...')
#3 /home/DOMAIN/public_html/chevereto/index.php(20): include_once('/home/DOMAIN/p...')
#4 {main}
thrown in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 86
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined array key "session.save_path" in /home/DOMAIN/public_html/chevereto/lib/G/G.php on line 86
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $subject follows optional parameter $delimiter in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 1613
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $filename follows optional parameter $method in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 2164
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined array key "error_reporting" in /home/DOMAIN/public_html/chevereto/lib/G/G.php on line 119
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $values_array follows optional parameter $exception in /home/DOMAIN/public_html/chevereto/app/lib/functions.php on line 81
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $item follows optional parameter $tpl in /home/DOMAIN/public_html/chevereto/app/lib/functions.render.php on line 396
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $template follows optional parameter $tpl in /home/DOMAIN/public_html/chevereto/app/lib/functions.render.php on line 396
[07-Nov-2023 10:18:03 UTC] PHP Deprecated: Required parameter $tools follows optional parameter $tpl in /home/DOMAIN/public_html/chevereto/app/lib/functions.render.php on line 396
[07-Nov-2023 10:18:03 UTC] PHP Warning: A non-numeric value encountered in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 1422
[07-Nov-2023 10:18:03 UTC] PHP Warning: A non-numeric value encountered in /home/DOMAIN/public_html/chevereto/lib/G/functions.php on line 1422
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined array key "crypt" in /home/DOMAIN/public_html/chevereto/app/loader.php on line 51
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined variable $join in /home/DOMAIN/public_html/chevereto/lib/G/classes/class.db.php on line 349
[07-Nov-2023 10:18:03 UTC] PHP Warning: Undefined array key "active_storage" in /home/DOMAIN/public_html/chevereto/app/lib/classes/class.settings.php on line 241
[07-Nov-2023 10:18:03 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/DOMAIN/public_html/chevereto/lib/G/functions.php:86
At a bit of a loss here...
Last edited: