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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Error Message


Go to End


3 Posts   1489 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