Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Error Message


Reply


3 Posts   1303 Views

Avatar
alchimie

Community Member, 2 Posts

25 June 2008 at 6:17am

Hi there,

When I go to install the CMS I get the below message.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /data/members/paid/a/l/alchimie-prades.fr/htdocs/www/install.php on line 518

Is there anything I can do to fix this?

Rich

Avatar
Sean

Forum Moderator, 922 Posts

25 June 2008 at 9:14am

What version of PHP does your host have? SilverStripe will only work on PHP 5, it doesn't work on 4.

Avatar
alchimie

Community Member, 2 Posts

25 June 2008 at 9:32am

I think I solved this issue with the help of a previous forum post - I put the below code into my htaccess file, and it was all good.

AddType x-mapp-php5 .php
AddHandler application/x-httpd-php5 .php

Cheers dude,

Rich