Support

Akeeba Backup for Joomla!

#12516 500 Server error

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 nicholas on Thursday, 31 May 2012 09:04 CDT

waitz
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? No
Joomla! version: 2.5.4
PHP version: 5.3.9
MySQL version: 5.1.56
Host: Rochen
Akeeba Backup version: 5.3..

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:
When I try to open Akeeba in the Joomla backend, I get a 500 error:

Server error
The website encountered an error while retrieving http://www.humaniversity.com/hum2-5/administrator/index.php?option=com_akeeba. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.


When I turn error reporting on maximum, I see the error when going to Akeeba backup:
Fatal error: Declaration of AEPlatformJoomla15::getPlatformVersion() must be compatible with that of AEPlatformInterface::getPlatformVersion() in /home/humanive/public_html/hum2-5/administrator/components/com_akeeba/akeeba/platform/joomla15/platform.php on line 617


I also get an error with Admin Tools:
500 - An error has occurred.
JDatabaseMySQLi::query: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE `location` = 'http://cdn.akeebabackup.com/updates/libraries/fof'' at line 2 SQL=SELECT update_site_id WHERE `location` = 'http://cdn.akeebabackup.com/updates/libraries/fof'

Return to Control Panel

Call stack
#	Function	Location
1	JAdministrator->dispatch()	/home/humanive/public_html/hum2-5/administrator/index.php:46
2	JComponentHelper::renderComponent()	/home/humanive/public_html/hum2-5/administrator/includes/application.php:153
3	JComponentHelper::executeComponent()	/home/humanive/public_html/hum2-5/libraries/joomla/application/component/helper.php:357
4	require_once()	/home/humanive/public_html/hum2-5/libraries/joomla/application/component/helper.php:388
5	AdmintoolsDispatcher->dispatch()	/home/humanive/public_html/hum2-5/administrator/components/com_admintools/admintools.php:153
6	FOFDispatcher->dispatch()	/home/humanive/public_html/hum2-5/administrator/components/com_admintools/dispatcher.php:69
7	AdmintoolsControllerCpanel->execute()	/home/humanive/public_html/hum2-5/libraries/fof/dispatcher.php:197
8	FOFController->execute()	/home/humanive/public_html/hum2-5/administrator/components/com_admintools/controllers/cpanel.php:16
9	AdmintoolsControllerCpanel->onBeforeBrowse()	/home/humanive/public_html/hum2-5/libraries/fof/controller.php:280
10	AdmintoolsModelCpanels->needsDownloadID()	/home/humanive/public_html/hum2-5/administrator/components/com_admintools/controllers/cpanel.php:30
11	JDatabase->loadResult()	/home/humanive/public_html/hum2-5/administrator/components/com_admintools/models/cpanel.php:183
12	JDatabaseMySQLi->query()	/home/humanive/public_html/hum2-5/libraries/joomla/database/database.php:1109
13	JError::raiseError()	/home/humanive/public_html/hum2-5/libraries/joomla/database/database/mysqli.php:396
14	JError::raise()	/home/humanive/public_html/hum2-5/libraries/joomla/error/error.php:251


Any ideas..?

nicholas
Akeeba Staff
Manager
Regarding #2 you have to turn off the Debug System option from your site's Global Configuration.

Regarding #1, if you are receiving a blank page or a fatal error when trying to access Akeeba Backup and/or receive an AJAX error during backup right after upgrading to Akeeba Backup 3.5.x, please note that this is the result of a partial upgrade. There is a known bug in the Joomla! extensions installer (which is also used by our Live Update to perform the actual update). When upgrading to a version which has a different count of top-level directories, Joomla!'s extension installer "forgets" to copy all files and folders or remove the old ones. This usually happens when upgrading from Core to Professional and when upgrading between minor releases, e.g. 3.4 to 3.5.

The solution is very simple. First DO NOT UNINSTALL Akeeba Backup and DO NOT DOWNGRADE to an earlier release. The former will remove your backups and settings. The latter will cause Akeeba Backup to fail. Instead, go to our Downloads page and download the latest installation package of Akeeba Backup. Go to your site's back-end. Go to Extensions, Manage Plugins and make sure that the "System - System Restore Points"(*) plugin is either not installed or, if installed, is not published. Then go to Extensions, Manage Extensions and use the Browse button to locate the installation package you downloaded. Then click on "Upload and Install". You may have to repeat the installation a second time.

If this doesn't help, you are hit by another bug in the Joomla! installer. When a file already exists and is unwriteable, Joomla! will not overwrite it with the updated copy and will not throw an error. Furthermore, on some sites, obsolete files which are supposed to be removed in fact do not get removed and no error message is thrown. In order to work around that, you will have to perform some manual work. Remove the following folders:
- administrator/components/com_akeeba EXCEPT the administrator/components/com_akeeba/backup directory and the administrator/components/com_akeeba/akeeba/serverkey.php file. If you remove that directory and that file you will lose your existing backups and/or settings.
- components/com_akeeba
- administrator/modules/mod_akadmin
- media/com_akeeba
- plugins/system/plg_srp
- plugins/system/plg_akeebaupdatecheck
- plugins/system/plg_aklazy
- plugins/system/plg_oneclickaction
Now you can re-install Akeeba Backup.

VERY IMPORTANT CLARIFICATION: Please note that these ARE NOT bugs in Akeeba Backup. These are all caused by Joomla! bugs and/or bad file/folder ownership and permissions. As such they are outside of our control and can not be "fixed" by us. The closest you can get to fixing them is using a decent host using suPHP, mod_fpm (FastCGI Process Manager), mod_itk or mod_suid to execute PHP in a safe manner. In fact, all updates attempted in quality hosts like Rochen and CloudAccess.net by our team members never resulted to any kind of issue whatsoever. Coincidence? I don't think so.

(*) The name of the plugin may be localised if your back-end language is other than English. In this case use the filter drop-down called "- Select type -" to "system" and look for the entry where the Element column reads "srp".

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!

waitz
Fantastic Nicholas.

That must have been an all-time speed record in support :-)

The very simple solution was very simple, and it worked.

A question: In Akeeba it says now that the latest version is svn1544. Is this correct? (I set Stable as upgrade level the configuration)

And do I enable the System - System Restore Points again?

Thanks!! Rajan

nicholas
Akeeba Staff
Manager
It is a common question –caused by a known Joomla! installer bug– so I had the answer ready :)

Regarding the latest available version, you have accidentally set Akeeba Backup to report the latest developer's release instead of the official releases. In order to fix this go to Component Parameters, click on Live Update and set "Update to testing releases" to No, then click on Save & Close. Now click on the "Update found" and then click on "Refresh update information".

And, yes, you can now re-enable the System - System Restore Points plugin :)

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!

waitz
Great, thanks :-)

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!