Support

Site Restoration

#30914 error: 0 syntax error, unexpected '?>', expecting function (T_FUNCTION) or const (T_CONST)

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 on Thursday, 14 March 2019 18:17 CDT

[email protected]
Hello

I want to restore a Joomla Site on a new Hosting.

I became the error: 0 syntax error, unexpected '?>', expecting function (T_FUNCTION) or const (T_CONST)

see here: Your text to link here...

on another hosting, everything runs flawlessly. The kickstart systemcheck is also successful.

have you any tip for me?

best regards

adi

tampe125
Akeeba Staff
Hello,

most likely there is some extension that needs a specific version of PHP.
Please get inside the Global Configuration page and set Error Reporting to Development and turn the Debug mode on.
You should get a more detailed error, telling you which file is causing the error.

If you still don't get any specific file, you should take a look at your error log file inside your host control panel. In that case you should ask your hosting where you can find it.

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!