Page 1 of 1

[solved] Installation Difficulty

Posted: Tue Sep 28, 2010 1:46 pm
by peterbisset
Hi,

I have followed the installation instructions in the user guide and have uploaded the CMS system to my 1&1 server following all of the steps outlined in the guide. Unfortunately when I try to access the page - http://s328791098.websitehome.co.uk/cms/ I get the following error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/4/d328791089/htdocs/cms/lib/test.functions.php on line 36

Please can somebody help?

Thanks,
Peter

Re: Installation Difficulty

Posted: Tue Sep 28, 2010 2:25 pm
by uniqu3
What version do you try to install, seems like you are missing PHP 5.2.x

See requirements: http://wiki.cmsmadesimple.org/index.php ... quirements

Re: Installation Difficulty

Posted: Tue Sep 28, 2010 3:14 pm
by peterbisset
Thanks for the reply. I am trying to install version 1.8.2. The 1&1 documentation states that my server has:

PHP  4.4.9
PHP5 5.2.13

Is this ok for CMS Made Simple?

Re: Installation Difficulty

Posted: Tue Sep 28, 2010 3:36 pm
by uniqu3
Consult your provider how PHP5 is being enabled via .htaccess file.

To be sure what version you are running create new php file with this line of code:

Code: Select all

<?php phpinfo(); ?>
Upload to your webspace and you will see exact PHP version currently running.

Edit: Here it is from 1&1 documentation
Create a txt file named htaccess with this line of code

Code: Select all

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
Upload to your /cms folder and rename from htaccess.txt to .htaccess and you should be able to install.

Re: Installation Difficulty

Posted: Tue Sep 28, 2010 4:21 pm
by peterbisset
Thanks I will try this...

Re: Installation Difficulty

Posted: Wed Sep 29, 2010 10:12 am
by peterbisset
Thank you very much... that did the trick ;D