Support

Akeeba Backup for Joomla!

#8672 Error attempting to load from database

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 Tuesday, 19 October 2010 11:46 CDT

user17166
I have purchased Akeeba Backup Pro today - and have setup Cron scripts to automatically backup the site. They are failing though and all the log contains is the following:

DEBUG |101017 18:48:20|Kettenrad :: Attempting to load from database
DEBUG |101017 18:48:22|
DEBUG |101017 18:48:29|Kettenrad :: Attempting to load from database
DEBUG |101017 18:48:30|

This is happening with all automated Cron scripts hosted with my provider. I have read on the forum and gone into configuration - and saved (as I belive this was a known bug). Can anyone shed any light on this please?

Thanks

user17166
This has been tried with both the normal backup and altbackup.php

DEBUG |101017 19:06:13|Kettenrad :: Attempting to load from database
DEBUG |101017 19:06:14|
DEBUG |101017 19:06:22|Kettenrad :: Attempting to load from database
DEBUG |101017 19:06:23|

nicholas
Akeeba Staff
Manager
The log lines up there are created when the Control Panel is loaded. This means that the CRON jobs have never ran. When you say that they failed, what is the exact email message you get from your site's CRON daemon? I suspect that you either try to access these files directly as web pages (you shouldn't) or you are using the wrong path to either the PHP binary or the scripts themselves. As a result, it would help if you also posted the exact CRON command line you are using.

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!

user17166
Hi Nicholas,

I do not get any emails come through front the CRON Daemon on the websites that are causing problems. The CRON command line that is being used is:

/usr/local/bin/php /home/dmoss/public_html/administrator/components/com_akeeba/altbackup.php -profile=1

On my main website (csmwebdesign.com) everything is running fine, and I get an email from the CRON daemon to say that the script has run. It is only all sites hosted on one server (which is quite a few) that all seem to be failing and do not send me any emails or notifications :-(

Thanks for your help in advance

user17166
I have had a look at the front-end log as this seems to change as often as I set the CRON script to run (currently set at 15 minute intervals just to test). Does this help at all?##text##

nicholas
Akeeba Staff
Manager
According to that log file the CRON job was successful. I think that you thought that the backup was failing because you are getting no emails on completion. Getting emails is an optional setting which has to be defined by clicking on the Parameters button on Akeeba Backup's Control Panel page.

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!

user17166
Getting emails was enabled in the parameters section within the Akeeba Backup Control Panel?

user17166
If you say the backup is working fine - but no emails are coming through - do I need to specify any SMTP settings or change anything in any of the scripts? Seems odd that all websites on one particular host are not sending emails - yet on a different host it all works without a hitch.

nicholas
Akeeba Staff
Manager
If you are using anything but the backup.php script to perform a backup, setting SMTP settings in your site's Global Configuration will resolve the problem. backup.php runs in command line mode and can, therefore, not use the SMTP settings in your configuration.php. All other backup modes will resort to using PHP's mail() function if no SMTP settings are defined in your Joomla! Global Configuration, which might indeed cause mail delivery issues on some servers.

So, try setting the SMTP options and this should solve the issue. Tip: you can send your SMTP settings by using's Joomla!'s mass mail feature to send a test email to your Super Administrators. If it works, Akeeba Backup should be able to send emails too, as it uses Joomla!'s JMail class to send out those emails.

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!