|
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 |
kafir Smarty n00b
Joined: 21 Apr 2006 Posts: 2
|
Posted: Fri Apr 21, 2006 11:38 am Post subject: Parse error: syntax error |
|
|
I'm trying to make a new installation of Smarty. I have copied the files from one installation to another and updatede the server & database connection according too the new webserver. Although when I run the site i get this error:
Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /customers/itkontrakt.dk/itkontrakt.dk/httpd.www/ramboll/model/classes/Person.class.php on line 1
What does that mean - where should I look for a solution to the problem? |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Fri Apr 21, 2006 12:51 pm Post subject: |
|
|
erm, I wouldn't wonder if the problem was in /customers/itkontrakt.dk/itkontrakt.dk/httpd.www/ramboll/model/classes/Person.class.php on line 1 |
|
Back to top |
|
kafir Smarty n00b
Joined: 21 Apr 2006 Posts: 2
|
Posted: Fri Apr 21, 2006 2:13 pm Post subject: |
|
|
I have checked the path with my ISP and it is correct. Do you have any suggestions on what to do when copying from one website to another? |
|
Back to top |
|
t-rob Smarty Rookie
Joined: 22 Feb 2006 Posts: 9 Location: Amsterdam, the Netherlands
|
Posted: Fri Apr 21, 2006 2:43 pm Post subject: |
|
|
seems you have a syntax error in that file, perhaps you could show the contents of /customers/itkontrakt.dk/itkontrakt.dk/httpd.www/ramboll/model/classes/Person.class.php |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Fri Apr 21, 2006 5:13 pm Post subject: |
|
|
You realize that is a PHP error, yes? It is also in a non-Smarty related file. Why ask us about it? |
|
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
|