Http Error 500 After Update To 4.15.1.sp1

Hello All,

I just upgrade to 4.15.1.SP1 and i got HTTP ERROR 500 on front page and also on admin .

all privileges seems to be correct , files 755 and 644

can someone provide me a fresh .htaccess file ? maybe if I replace the existing one with a fresh one , will work

thanks

Hello

Please check file /var/upgrade/core_log.txt. In this file should be information about upgrade process.

Best regards

Robert

Hello

Please check file /var/upgrade/core_log.txt. In this file should be information about upgrade process.

Best regards

Robert

Thank you Robert!

No error was found on upgrade process information.

Where I can find error logs ?

Hello
Did you try development mode ?
In config.local.php set
ini_set('display_errors', 1);
and in file config.php please find "DEVEL" and replace
//define('DEVELOPMENT', true);
on
define('DEVELOPMENT', true);
Best regards
Robert

Hello
Did you try development mode ?
In config.local.php set
ini_set('display_errors', 1);
and in file config.php please find "DEVEL" and replace
//define('DEVELOPMENT', true);
on
define('DEVELOPMENT', true);
Best regards
Robert

Thank you Robert!

I got tjust his error for now

/public_html/app/Tygh/SoftwareProductEnvironment.php on line 188

and on line 188 are:

$diff = $release_date->diff($now_date);

Hello

Please show screenshot

What version of the program do you have and what version of php?

Best regards

Robert

Hello

Please show screenshot

What version of the program do you have and what version of php?

Best regards

Robert

Hello,

PHO 7.4

this is the new error

app/Tygh/Providers/EnvironmentProvider.php:42 Stack trace: #0

https://prnt.sc/R8KhXWR_pSTz

Thank you Robert!

I have a similar error but it happened when I switched from PHP 7.4 to PHP 8.0

Hello,

PHO 7.4

this is the new error

app/Tygh/Providers/EnvironmentProvider.php:42 Stack trace: #0

https://prnt.sc/R8KhXWR_pSTz

Thank you Robert!

Hello!

Please provide the screenshot of the error.

My problem was caused by not downloading PHP extensions when I upgraded.

With The extensions the error is gone...

Hello,
This is the error on admin page → addons

php version now is 8.0… but same error

can you please provide extension name you added ?
Thank you!

installed the following packages via the EasyApache configuration page in WHM:
php80-php-mbstring
php80-php-mysqlnd
php80-php-curl
php80-php-gd
php80-php-exif
php80-php-soap
php80-php-zip
php80-php-fileinfo

Note same files version 8.1 also need to be installed if using PHP 8.1

Good luck!

those 3 are not installed.

That may be your problem…

It should be easy to install Do you have WHM and Apache 4?

Make sure that the config.php file has been updated after the upgrade. Otherwise you can manually open this file, find there the following string:

define('PRODUCT_VERSION', '4.15.1.SP4');

and add the followin one just below the mentioned one:

define('PRODUCT_RELEASE_TIMESTAMP', 1656460800);

Thank now , now is working ,version was 4.14.
But another problem appear. I can not activate SEO addon, I got below error

Please take a look

1 Like

If the config.php still contains version 4.14.x in it, I may suppose that the upgrade was not completed successfully. Please check if there are any errors in the var/upgrade/core.log log, for the latest upgrade. Maybe it is not too late to restore the backup if the upgrade process was interrupted by errors or timeouts.

thank you ecomlabs

but this docum it is for situation when seo addon are enabled, in my case I can not enable it