Support

Akeeba Backup for Joomla!

#38230 Restore impossible JERROR_COULD_NOT_FIND_TEMPLATE

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
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

Joomla! version
3
PHP version
7,4
Akeeba Backup version
8,2,2

Latest post by nicholas on Monday, 26 December 2022 11:35 CST

draguignan

Hi, 

I'm trying to restore a version of my website for test to moigrate in php 8.

Th restoration are corectly finished but when I go to the front, I have this message : 

Error: JERROR_COULD_NOT_FIND_TEMPLATE: JERROR_COULD_NOT_FIND_TEMPLATE

Log : https://ville-draguignan.fr/akeeba_backup_debug_log.txt

Best regards

Willy 

nicholas
Akeeba Staff
Manager

The error says that Joomla cannot find your template.

Where are you restoring your site? If it's a subdirectory of your main site, or a subdomain whose web root is under the main site's web root, it might not work. See https://www.akeeba.com/documentation/akeeba-backup-documentation/restoring-backups.html#general-guidelines under “Do not restore in a subdirectory of your main site” and “If you are restoring on a subdomain, make sure that the subdomain's root directory is NOT a subdirectory of your main site”.

Did you get any extraction errors? If you have a half-restored site it won't work.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

draguignan

Hi, I restore my website on a staging serveur in developpement.ville-draguignan.fr, it's not in a sub directory.

You think that my archives is broken? How I can check it.

nicholas
Akeeba Staff
Manager

OK, you answered half of my question :)

The other half is where is the subdomain's web root. If it's inside the web root of the ville-draguignan.fr site then you will have problems indeed: the .htaccess files are inherited based on the filesystem (where the files are in the server). The subdomain in this case would inherit the .htaccess of the main domain which would cause all sorts of problems, leading to an error trying to load the page which would make Joomla try to load an error page which, if missing from your template, would result exactly in the error you said you have.

That's why I need the answer to the other half of my question.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!