Support

Akeeba Backup for Joomla!

#28514 Backend good, frontend not

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
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by user93304 on Wednesday, 27 September 2017 18:08 CDT

user93304
I downloaded my back-up as a zip and unpacked it using your eXtract Wizard, transferred all the files into my sub-domain folder, installed it using instalation.php and the installation went perfect except that when I went to my site all that is shows is our logo and a menu list in hyperlink. None of the modules display or any pages. When I click on any of the menu links it appears to go to the link address but nothing changes. I've included a screen shot of the page. The website address is http://www.theatrenownewyork.tnny.org/

In the backend however everything looks and seems to works great. All of the articles, images and extensions are all there and seem to be fine except one third party module doesn't open, but that's minor.

I was installing the website back into the exact same folder it was originally on the same server and nothing on my server has changed or is any different than before. I am hosted on Hostgator.

Any help on getting my site back up would be greatly appreciated.

dlb
Please edit your configuration.php file in the root of your site and look for the $live_site variable. It should contain the URL of your site or it should be an empty string. Usually it should be empty, Joomla! can provide this address without you explicitly entering it.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user93304
OK, it was an empty string so I inserted the url of my site....no difference, same thing, just a list of dead menu item links.

I looked at my other website root configuration.php files and they are all empty strings and they work fine.

dlb
Three is an error message in the browser console, "Uncaught ReferenceError: jQuery is not defined
at jqscripts.js:1"

I need to talk to one of the programmers tomorrow morning about that error.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

nicholas
Akeeba Staff
Manager
What exactly did you restore and how? When I look at the source code of your restored site's page I see
<jdoc:include type="head" /><link href="https://www.akeeba.com/templates/ol_chranet/images/favicon.ico" rel="shortcut icon" type="image/x-icon" /><style type="text/css">

That's something I would expect to see in a Joomla! template's index.php file. However, that is NOT a file that is served directly to the browser. It is a file that needs to go through Joomla! itself and transformed into something a browser can understand.

From the looks of it, you have copied the index.php file of your template i.e. templates/YOUR_TEMPLATE_NAME_HERE/index.php into the main site's folder. This will not work and it will most definitely break your site, exactly as observed.

I also don't know why would anyone hard-code the menu of their site inside the site's template, completely beating the purpose of having a content management system, but that's irrelevant to your issue. I just needed to preemptively explain why you see "the site's menu" which mislead both of you into believing that you have some site display issue after restoration. No, the problem is that the wrong index.php file was manually copied to the site's root.

If that's all the backups you've got from that site you're stuck between a rock and a hard place: your backup was taken after someone manually copied the wrong file around breaking the site's frontend, therefore you have a backup with a broken site. A simple way to fix that is extracting Joomla! 3.8.0 on top of the restored site and delete the installation directory before trying to access your site. Doing so will overwrite all Joomla! core files with what they should be and, hopefully, let your site work again.

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!

user93304
I re-installed everything from another back-up and got everything working now. All is good. Thanks, Tom

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!