Support

Akeeba Backup for Joomla!

#23244 akeeba-altbackup.php

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 Thursday, 10 September 2015 07:07 CDT

user40471
Hi,

I'm triying to confiure the scheduled backup through the cron task of my cpanel. I have configured everything, but each time the cron tries to execute i received this error:

----
Content-type: text/html

<br />
<b>Parse error</b>: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in <b>/home/content/31/12839031/html/cli/akeeba-altbackup.php</b> on line <b>25</b><br />
----

the execution line is:

Cron <Iusr_12839031@p3nlhftpg286> /web/cgi-bin/php5 "$HOME/html/cli/akeeba-altbackup.php" --profile=1

and in the line 25 of the php file appears:
use Akeeba\Engine\Platform;

I think is right, but it doesn't work.

Thanks,
Alberto Espeja

tampe125
Akeeba Staff
Hello Alberto,

can you please double check you PHP version used in CLI? Web and CLI executables could be different, I suspect your are using PHP 5.2, which doesn't support namespaces. Please ask your host to upgrade 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!

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!