Support

Akeeba Backup for Joomla!

#17268 Problem with CronJob

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 tampe125 on Monday, 02 September 2013 02:06 CDT

user70971
Mandatory information about my setup: Joomla 2.5.14 with password protected administrator directory

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?)? Yes
Joomla! version: 2.5.14
PHP version: 5.3.8
MySQL version: 5.5.28
Host: www.mevlana.ch
Akeeba Backup version: 3.7.10

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:
Hi, since i Upgraded my Joomla to 2.5.14 I have Problems with the Cron Job.

I contacted the hoster to send me the logs of the job, he sent me this:

PHP Warning: require_once(/includes/defines.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/www/web83/html/mevlana/cli/akeeba-backup.php on line 62
PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/includes/defines.php' (include_path='.:/usr/local/php-gd-5.2.17/lib/php') in /home/www/web83/html/mevlana/cli/akeeba-backup.php on line 62
X-Powered-By: PHP/5.2.17
Content-type: text/html

<br />
<b>Warning</b>: require_once(/includes/defines.php) [&lt;a href='function.require-once'&gt;function.require-once&lt;/a&gt;]: failed to open stream: No such file or directory in <b>/home/www/web83/html/mevlana/cli/akeeba-backup.php</b> on line <b>62</b><br />
<br />
<b>Fatal error</b>: require_once() [&lt;a href='function.require'&gt;function.require&lt;/a&gt;]: Failed opening required '/includes/defines.php' (include_path='.:/usr/local/php-gd-5.2.17/lib/php') in <b>/home/www/web83/html/mevlana/cli/akeeba-backup.php</b> on line <b>62</b><br />

The Backend Backup works very good. Since the Update, i did secure the Administrator directory with a password, because a lot of logins happended. My hoster blocked the page and told me too secure it with a password (only the administrator directory)

If you need anything else from me, I will send it. Thanks for your help

tampe125
Akeeba Staff
Hello Renato,

it seems that you're missing the define.php file.
Can you take a look if you really have this file inside includes/define.php ?

If you don't have it, it means that your site is broken, you should consider restoring a previous backup.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user70971
Hello Davide

I checked the files. i attached a screenshot of the folder. I did reinstall Joomla in a new directory last week.

tampe125
Akeeba Staff
Sorry I just saw that.
Your CLI PHP version is older than your website PHP.
If you can see, in the log you posted before there is this string X-Powered-By: PHP/5.2.17.
Please ask your hosting to upgrade to PHP 5.3 your CLI version.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

dlb
Getting your host to upgrade to a modern version of php is certainly the right answer, but your host will probbaly have other ideas. It may be easier to get them to tell you the path where a more up to date version of php can be found. For example, my host also defaults to 5.2.x, my cron jobs need to start with "/opt/php53/bin/php" to call php 5.3.x.


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)

user70971
Thanks for your help. The hoster updated my php cli so the problem is solved.

tampe125
Akeeba Staff
You're welcome!

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!