Support

Admin Tools

#12612 No access & Fatal error after latest 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, 11 June 2012 11:02 CDT

platterpuss
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting? Yes/searched
Have I searched the tickets before posting? yes
Have I read the documentation before posting yes/searched for error msg
Joomla! version: 1.5.26
PHP version: 5.3
MySQL version: (unknown)
Host: godaddy
Admin Tools version: latest update

I have just run the auto update for admin tools and reloaded the site but i get the following fatal error messages and am unable to access the site or backend

I cannot find any mention of this error in the support area

Warning: require_once(/home/content/xx/xxx/html/administrator/components/com_admintools/models/storage.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/xx/xxx/html/plugins/system/admintools/core.php on line 74

Fatal error: require_once() [function.require]: Failed opening required '/home/content/xx/xxx/html/administrator/components/com_admintools/models/storage.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/xx/xxx/html/plugins/system/admintools/core.php on line 74

any help would be appreciated - thanks

platterpuss
I have just been investigating further and have found that html/administrator/components/com_admintools/ does not contain a directory /models or the file storage.php

nicholas
Akeeba Staff
Manager
You have a partial upgrade. Some files have not been copied during the upgrade, causing this problem. Here's how to solve this.

First try deleting the plugins/system/admintools directory and the plugins/system/admintools.php file. This will allow you to log back into your site's back-end. Now go to Extensions, Install/Uninstall and reinstall Admin Tools 2.2.6. IMPORTANT! Do NOT uninstall your current version. Just install 2.2.6 on top of what you have.

If you end up with the same problem, you have permission issues with the component files. We will have to do a manual uninstallation of the files so that Joomla!'s extension installer can copy the new files. Using an FTP programme, please remove the following files and directories, in the order outlined below:
plugins/system/admintools.php
plugins/system/admintools
plugins/system/atoolsjupdatecheck.php
plugins/system/atoolsupdatecheck.php
administrator/modules/mod_atjupgrade
components/com_admintools
administrator/components/com_admintools
Now you can log back into your site's back-end and reinstall Admin TOols 2.2.6.

Please note that this is not a bug in Admin Tools. It is caused by wrong ownership and/or permissions of any of the files and directories listed above and a bug in Joomla!'s extension installer (when it can't overwrite a file it won't throw an error or warning, misleading you into believing that the installation/update was successful). Also note that Live Update uses Joomla!'s extension installer to install the update. Live Update merely downloads the update package and extracts it. The actual installation is performed by com_installer, Joomla!'s extension installer component.

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!

platterpuss
Did that & it's working now - Thanks for the help :)

nicholas
Akeeba Staff
Manager
You're welcome!

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!