Jump to content

Syntax error in sandboxedtemplate.php

Featured Replies

Posted

Hello, I had to move my domain to another hosting and almost everything went well. Almost, because after moving the files and the database to the new location, when I tried to access the forum it gives me this error.

  Parse error: syntax error, unexpected '.', expecting ')' in home/site/public_html/site/forums/system/Theme/SandboxedTemplate.php on line 57

I reuploaded the whole system folder from the backup, but same story. Can anyone gimme some help on this?

If it counts, I moved from a virtual machine where I had ftp and ssh access to a CPanel hosting

It seems that your new server is using a quite old php version. I would suggest to upgrade php to the recent version (  php 7.1.5 :))

  • Author

Many thanks! I will see what I can do about it

 

PS: I checked now, the server has php 5.4 installed :(

58 minutes ago, fmro said:

Many thanks! I will see what I can do about it

 

PS: I checked now, the server has php 5.4 installed :(

That's bad. PHP 5.6.0 is the minimum request, but I would really suggest to get PHP 7 if possible.

  • Author

I spoke with the hosting provider and he will move it to a new server, that has PHP7.

Thanks for the help, you saved my day

You can also follow the guide:

 

 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.