Support

Site Restoration

#41149 Error 500 after site restoration

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
7.x
CMS Type
Joomla!
CMS Version
3.10
Backup Tool Version
8.x
Kickstart version
8.0.6

Latest post by ggaillet on Friday, 27 September 2024 20:04 CDT

ggaillet

Managed to run kickstart and it's telling me all has been restored. Clicking on visiting site's frontend I get a blank page with error message Failed to load 'g5_helium' template: Please install Gantry 5 Framework!

On the backend, 0 syntax error, unexpected 'fn' (T_STRING), expecting :: (T_PAAMAYIM_NEKUDOTAYIM)

I am lost. 

tampe125
Akeeba Staff

Hello,

looking at the error, I suspect the problem is just caused by an incompatible PHP version.

What's your current PHP version? Do you remember what version was installed on the original website? As a rule of thumb, you should always restore on the same version, to avoid surprises.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

ggaillet

My backup from a working website was made 15 minutes before I had the bad idea to play with the .htaccess maker. Since I wasn't sure what happened, I restored my site with this back up and get the same error 500. Tried the back up from the previous day with the same error message.

Now, my site was running on PHP 7.4. I switched it to PHP 8.0 and get the front page and back end working again. Then generated a new .htaccess with the maker and went back into the exact same error message. So I switched again back to PHP 7.4 and the site was back up again. BUT only partially. All the pages linked through the top menu return error 404 not found.I am afraid of touching the .htaccess maker again (admin tool 6.2.1). What is going on?

Thanks.

tampe125
Akeeba Staff

Most likely your host is using the .htaccess to define the PHP version to use.

To avoid having these kind of problems, you should use your host control panel and set the PHP version. Then take a look at the .htaccess file, there would be a section with some markers (usually they add it at the end of the file), with some warnings (ie "do not edit", "automatically added" etc).

You have to select those lines and copy them inside the Htaccess Maker, in the field "Custom rules at the bottom of the file". In this way those required lines will be always added by Admin Tools to the file, avoiding the issue of breaking your website.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

ggaillet

That was exactly this. Everything is back to normal. Thanks for your support!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!