Support

Site Restoration

#36483 Error while running the installer

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

MrClick

After the extraction process when I run the installer I get this message,

Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home1/mysiteadmin/public_html/installation/framework/input/input.php on line 281

mysiteadmin is my username.

 

I also notice that when I start the extraction it wants me that my PHP is 5.6 when my server site is running PHP 7,4

The extraction however is successful. 

 

Thank you. 

 

nicholas
Akeeba Staff
Manager

Well, the problem is indeed that you have PHP 5.6 instead of 7.4.

Please remember that a web server may have multiple PHP versions installed on it but only one of them will be active at any one time. Also remember that the PHP version reported by your hosting control panel is the version of PHP the hosting control panel itself runs under, not necessarily the same version of PHP your site runs under.

While most modern hosts allow you to set up the default PHP version at the hosting account level, most older hosting control panels (and many custom control panels created by the hosts themselves) change the PHP version by modifying the .htaccess file. When you have a blank site there is no .htaccess file therefore the server falls back to its default PHP version, usually an older one. In your case, PHP 5.6.

Go to your hosting control panel and select PHP 7.4 as the default PHP version. If there is no such option or, at least, you cannot find one please contact your host so they can guide you. Then you can rerun Kickstart. Kickstart will “see” the special line in the .htaccess file and carry it forward through the restoration so that Kickstart and the site restoration script (ANGIE) run under PHP 7.4.

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!

MrClick

Thanks, Nicholas for the reply. 

 

Now working nicely. 

 

As always, great to come back to your tool. Thank you. 

 

 

nicholas
Akeeba Staff
Manager

> Now I have not created any database on the new server. I guess I have to. Am I right?

Correct. You need to create a database, a database user and give the database user adequate permissions to the database.

I have put this all in a concise documentation page: https://www.akeeba.com/documentation/akeeba-backup-documentation/abidatabase.html It gives you some practical tips as well.

> And if I do, does it have to be using the same database and user pw as the one I backed up?

Nope. That's why you are allowed to change the database hostname and port, the database name, username and password and even the prefix. You have full flexibility.

> Apparetly the last time I created a ticket was in 2012 (that is how long I have been your customer). 
 
Thank you 🙏🏽 It is very much appreciated!

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!

MrClick

Done and everything is great now. I have not done backup and restore for more than 6 years. That is why I forgot what to do exactly. 

nicholas
Akeeba Staff
Manager

No worries! Have a great day :)

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: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.