|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
xyphos07 Smarty n00b
Joined: 05 Sep 2018 Posts: 2
|
Posted: Wed Sep 05, 2018 11:39 pm Post subject: Parse error : Smarty.class.php on line 575 with smarty-2.6 |
|
|
Hello, i 'm installing smarty in a new server and i have this error message :
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /mnt/112/sda/2/0/gestionloyer07/libs/Smarty.class.php on line 575
it's appear when y load the smarty file
require("libs/Smarty.class.php");
can you help me please ??
Thank you |
|
Back to top |
|
bsmither Smarty Elite
Joined: 20 Dec 2011 Posts: 322 Location: West Coast
|
Posted: Thu Sep 06, 2018 5:00 am Post subject: |
|
|
We may ask that you develop in Smarty 3, as the latest version will show which line of the template is causing the error.
Until then, it will be onerous to look through the templates looking for a possible missing closing brace. |
|
Back to top |
|
xyphos07 Smarty n00b
Joined: 05 Sep 2018 Posts: 2
|
Posted: Thu Sep 06, 2018 2:58 pm Post subject: |
|
|
bsmither wrote: | We may ask that you develop in Smarty 3, as the latest version will show which line of the template is causing the error.
Until then, it will be onerous to look through the templates looking for a possible missing closing brace. |
I can't use the Smart 3 version because my PHP version is 4.4.3-dev and i can't update the server.
I'm using the original file so it's curious if he have a missimg closing brace |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Thu Sep 06, 2018 3:00 pm Post subject: |
|
|
Can't provide support for unsupported PHP versions.
http://php.net/eol.php |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|