Support

Akeeba Backup for Joomla!

#22556 Error on cron files

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 dlb on Wednesday, 29 April 2015 21:41 CDT

user81966
I tried to run CRON JOB.

php /home4/keyshain/public_html/homepage/cli/akeeba-backup.php --profile=3

And I get this via email:

Status: 500 Internal Server Error
Content-type: text/html

I contacted my hoster. They looked into the log files and found this:

[29-Apr-2015 16:20:01] PHP Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home4/keyshain/public_html/homepage/cli/akeeba-backup.php on line 25

so they told me it's a prolem with the script.

Please help.

dlb
The T_STRING error is usually a too old version of PHP. You are calling the default version there, you may be forcing a newer version in your .htaccess file to run your site. You would need to call that version with a path in front of the php part.

While you are talking to your host support about the path. You need to be calling PHP-CLI, not PHP-CGI or PHP_FCGI.


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)

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!