Foren / Cotonti / Support / Parse Error

scriptor
#1 26. März 2009, 00:18
After i upload and set the database for a site i get this when i open it:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/nc1118/html/system/xtemplate.class.php on line 37

what can i do?
[url=http://www.freak-forum.de]Freak-Forum.de[/url] - The Freakstyle Community<br />
[url=http://www.adelmann-solutions.com]adelmann-solutions, webdesign Freiburg[/url]
Kilandor
#2 26. März 2009, 00:22
reupload your system/xtemplate.class.php
scriptor
#3 26. März 2009, 00:36
Try with another ftp prog, the same problem... now i redownload the package... but is it porrible that this is a problem of the php version?When yes i can only change to seditio?
[url=http://www.freak-forum.de]Freak-Forum.de[/url] - The Freakstyle Community<br />
[url=http://www.adelmann-solutions.com]adelmann-solutions, webdesign Freiburg[/url]
pieter
#4 26. März 2009, 02:41
I had this, I guess when using PHP4
Sometimes you can change it in your control panel, like I needed to do.

see http://www.cotonti.com/forums.php?m=posts&p=6093&highlight=XTEMPLATE#6093

I guess this will solve your problem.
... can we help you ...
scriptor
#5 28. März 2009, 21:29
oh okay merci but i found another way ;) sorry, but its possible on the host iam to set an htaccess file that say that all php files are interpreted as php5 ;) it function ;)
[url=http://www.freak-forum.de]Freak-Forum.de[/url] - The Freakstyle Community<br />
[url=http://www.adelmann-solutions.com]adelmann-solutions, webdesign Freiburg[/url]