Support

Site Restoration

#15081 Parse error

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 nicholas on Tuesday, 19 February 2013 03:39 CST

bart1959

Mandatory information about my setup:

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.8)
PHP version: (5.3)
MySQL version: (unknown)
Host: (ovh)
Akeeba Backup version which took the backup: (3.0.6)
Kickstart version used to extract the backup: (3.0.6)

Description of my issue:

During a restore I've got tihs error in kickstart

Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in on line 126

what canI do? Thanks, Ugo.-

nicholas
Akeeba Staff
Manager

There are two possibilities:

  1. Your upload of kickstart.php failed. Please delete it from your server and re-upload it. If the upload halts and your FTP programme asks, DO NOT chose "Resume"; chose "Overwrite" instead.
  2. Your server is set up to use PHP 5.0 or earlier (I believe PHP 4.4 is most likely) by default. In this case you have to ask your host to make PHP 5.3 the default PHP version on your site. If their solution is based on creating a .htaccess file or adding special lines to an existing .htaccess file it won't work! Kickstart renamed .htaccess to htaccess.bak during restoration in order to avoid conflicts with options commonly found in many sites' .htaccess files. Do note that your host can make PHP 5.3 the default PHP version by changing the vhost configuration of your server.

I hope that helps.

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!

bart1959

It was an .htaccess problem... thanks Ugo.-

nicholas
Akeeba Staff
Manager

You're welcome!

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: 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!