Support

Site Restoration

#35756 Restore not working

Posted in ‘Site restoration’
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

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by dkrbewsey on Monday, 06 September 2021 09:52 CDT

dkrbewsey

An OS Downloads update 2.0.2 stuffed the site. Wiped the files and uploaded the most recent jpa file. Uploaded kickstart 7, renamed it to restore.php. Everything appeared to run fine but on going to both backend and front end I get ERROR:  syntax error, unexpected '?', expecting variable (T_VARIABLE)

The backup did not have the OS Download update on it. I am unable to access the logs for the latest backup unfortuneately.

I have another site with the same issue. HELPPP!!!

Thanks David

nicholas
Akeeba Staff
Manager

You are not using PHP 7.3. Most likely your server has switched to a PHP 5 version which does not understand PHP 7 syntax.

Most third party extensions, including our own, require PHP 7.2 or later.

Go to your hosting control panel and change the PHP version for your site to PHP 7.3 or 7.4 (the latter is recommended as PHP 7.3 will become End of Life in December 2021).

Please note that the PHP version reported by your hosting control panel is the PHP version the hosting control panel itself runs under, NOT the PHP version your site runs under. I know it's utterly confusing.

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!

dkrbewsey

Sorry to have taken up your time. I have been running 7.3.27 using a line in the .htaccess file and I failed to note Kickstart cleans up additional code such as "AddHandler application/x-httpd-php73 .php .php5" which my hosting Heart Internet asked me to include as they haven't updated their CP PHP thingy which only goes up to 7.2. I've been bugging them to upgrade to 7.4 or even 8, without joy.

Now all is working and I'm grateful for your response.

Cheers

David

nicholas
Akeeba Staff
Manager

You're welcome!

As a side note, newer versions of Kickstart when restoring backups taken with newer versions of Akeeba Backup (8.0.7 or newer; or 9.x) will give you an option to keep the AddHandler / SetHandler lines in the Site Setup page, i.e. the penultimate page of the restoration. Please note that if you are using an older version of Kickstart or restoring a backup taken with an earlier version of Akeeba Backup this will not be possible. You will either not see the options at all or they will be greyed out.

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!

dkrbewsey

Thanks for the support. It's all experience. Kind regards David

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!