Support

Admin Tools

#11464 Core Update Completes but Unable to Access Site After Update

Posted in ‘Admin Tools 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
Admin Tools version
n/a

Latest post by nicholas on Monday, 12 March 2012 07:37 CDT

martinix
Joomla 1.7.3 running with Akeeba Admin and Backup Pro.

System stable. Ran Joomla Core update from Updates Tab to 2.5. Update cycle ran normally to completion. Following completion unable to View/Access Site Frontend. responds with error message:

Fatal error: Call to undefined method JLoader::setup() in /home/account_name/public_html/libraries/import.php on line 51

Login to Backend funtions correctly. Admin Tool reports all normal.

Would welcome advice on how to fix problem and regain access to site.

nicholas
Akeeba Staff
Manager
This actually means that you have leftover files. Upon extracting the new version's files, Admin Tools hands over the execution to Joomla!'s update script which is supposed to remove these leftover files. Pitfall: if Joomla!'s script (which was included in the package) fails to remove the old files, it doesn't throw an error and results in an unusable site. The only workaround I can think of is to give you a list of the files which the script tries to remove. If any of them exists in your site, remove them by FTP. Here are the lists.

Files:
			'/includes/version.php',
			'/installation/sql/mysql/joomla_update_170to171.sql',
			'/installation/sql/mysql/joomla_update_172to173.sql',
			'/installation/sql/mysql/joomla_update_17ga.sql',
			'/libraries/joomla/application/applicationexception.php',
			'/libraries/joomla/client/http.php',
			'/libraries/joomla/filter/filterinput.php',
			'/libraries/joomla/filter/filteroutput.php',
			'/libraries/joomla/form/formfield.php',
			'/libraries/joomla/form/formrule.php',
			'/libraries/joomla/utilities/garbagecron.txt',
			'/libraries/phpmailer/language/phpmailer.lang-en.php',
			'/media/system/css/modal_msie.css',
			'/media/system/images/modal/closebox.gif',

Folders:
			'libraries/joomlacms',
			'/media/editors/tinymce/jscripts/tiny_mce/plugins/media/img',
			'/media/plg_highlight',
			'/media/mod_finder_status',


Just for kicks, here's the comment above the list of folders:
// TODO There is an issue while deleting folders using the ftp mode

I guess that's exactly what happened with your site :(

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!

martinix
Thanks for your fast response ... not sure what happened ... magaged to regain control of site. Successfully logged in backend. Ran 'Fix Permissions' from Admin Tools panel. Cleared browser cache. Reloaded site and site worked. Went to "Extension Manager: Update", ran "Database" which showed a number of error so ran "Fix" which cleared the errors. Then did same for "Discover" which showed a number of extensions requiring updating. Following Database Fix/Discover Update everything now seems ok.

As far as I can see, all the files listed above have been deleted.

Not sure what caused problem - possibly some glitch during the update.

For future reference (aside from running a pre-backup) are there any special steps to be taken (e.g. reducing Admin security settings) before running the Admin Core Update process?

Many thanks for your help.

nicholas
Akeeba Staff
Manager
I've never seen that happening without any of the above files being left behind. Do you remember getting an error message or a blank screen during the Joomla! update? That would indicate a timeout error which means that the database update never ran, explaining exactly what happened. The other plausible explanations I can think of defy Occam's Razor principle, i.e. they are way too complicated to be true.

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!

martinix
Thanks for your response. All seems ok. now. I did have an error message the first time I ran Core Update - it was something like " ... unable to unpack/read readme.txt ..." I assumed something had happended during the download/unzip process so reran the update. That was when I started experiencing problems.

I think I'll leave well alone now! If I experience a similar problem in the future I'll try and capture/report more detailed information.

nicholas
Akeeba Staff
Manager
Hm, it sounds like you did have a partial/failed installation which caused that problem. If that happens again, yes, please try capturing as much information as possible.

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!