Elxis CMS Forum

Support => Installation => Topic started by: Notepad on April 29, 2009, 02:50:55

Title: Installation Problem ( Resolved)
Post by: Notepad on April 29, 2009, 02:50:55
This error
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.151/photofab/www/includes/version.php on line 16


Solutions? Grazie!

I added these lines Work all OK Gazie Amigos from Sardinian Italy ;)

SetEnv REGISTER_GLOBALS 0
SetEnv ZEND_OPTIMIZER 1
SetEnv MAGIC_QUOTES 1
SetEnv PHP_VER 5
Title: Re: Installation Problem ( Resolved)
Post by: datahell on April 29, 2009, 08:20:47
The last one was the solution, you used php4 while Elxis requires php5. I am happy that you solved the problem by your self.
Title: Re: Installation Problem ( Resolved)
Post by: RogerK on October 22, 2009, 18:49:12
I have the same problem i think ...
[Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/****/public_html/*****/*****/includes/floodblocker.class.php on line 43]

My PHP Version is 4.4.9
Where you added these lines ??
Is this script  secure ?? (to set SetEnv MAGIC_QUOTES  to 1).
Title: Re: Installation Problem ( Resolved)
Post by: datahell on October 22, 2009, 19:19:06
In htaccess file, but you have to install PHP 5. Elxis does not work any more with PHP 4. Requires PHP 5.

If you wish, you can install Elxis 2008.0 that runs under PHP4.