Support

Akeeba Backup for Joomla!

#8498 Fatal error with cron backup

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, 29 June 2010 02:55 CDT

domini
Hi,
I have a problem with this function.
Using the backup from Joomla interface, it ends successfully but doing it from command line it shows this error:
Fatal error: Call to a member function enqueueMessage() on a non-object in /var/www//libraries/joomla/error/error.php on line 480

This is the command line log

This is the Akeeba log

Is there any solution?

dlb
The backup actually finished, the problem appears to be in sending the success email. I'll have to ask Nicholas to take a look at this.


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
Yeap. Joomla!'s JMailer failed to send the email and crashed, bringing down the rest of Akeeba Backup's finalization procedure as well. At this point, make sure that you can send emails from your site, i.e. that an email is sent if you use the Mass Mail feature or when a new user registers on your site. I give it a 99% chance that it's a configuration error of the site's email settings in Joomla!'s Global Configuration 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!

domini
The Joomla site is configured correctly because in other cases, the e-mail are sent.

If I begin the backup procedure from the administrator panel, the mail is sent in both cases (success on unsuccess).
The problem is only with che cron method.

nicholas
Akeeba Staff
Manager
The error mail is sent by the CRON daemon, running on your host's operating system, not Joomla!'s mail class. Receiving that email doesn't mean that the Joomla! mail class works. It means that your host's server can send out emails. AS I told you, the problem is with Joomla!'s email setup, not your host's email setup.

The backups taken from the administrator panel do not send out any emails. Line 108 of administrator/components/com_akeeba/akeeba/core/domain/finalization.php checks the backup origin. If it's originating from the back-end no email is ever sent by Akeeba Backup. If you take a look at the log file produced by a back-end backup you'll see no sign of the "Preparing to send e-mail to administrators" message which indicates the initialization of the mailer procedure. So, what you say it happens can't be happening by any means (you getting an email from a back-end backup job on success and failure).

At this point I still do not know with any degree of certainty that your Joomla! site is properly configured to send out emails. Please do check your site's email configuration as proposed in my previous reply:
make sure that you can send emails from your site, i.e. that an email is sent if you use the Mass Mail feature or when a new user registers on your site.

Does this work? I really need this information to help you, otherwise I wouldn't have asked for it :)

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!

domini
Thanks for all :)
The problem was in our webfarm :/ They had closed our smtp port :/

nicholas
Akeeba Staff
Manager
You're welcome! I'm glad we could help you get to the bottom of this :)

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!