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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

keep getting same syntax error...


Go to End


6 Posts   1465 Views

Avatar
JPG

Community Member, 53 Posts

26 July 2010 at 10:29am

Edited: 26/07/2010 10:31am

I keep getting the same syntax error in my directory - no matter what I do...

Parse error: syntax error, unexpected ';', expecting '(' in /homepages/43/d331152502/htdocs/ss/install.php on line 59

any ideas (hugely appreciated)

Much thanks

Avatar
Willr

Forum Moderator, 5523 Posts

26 July 2010 at 11:24am

Is this when you are trying to install SS?

What version are you using and have you tried reuploading / replacing the copy you have with a fresh download. It could be possible that the file was incorrectly uploaded.

Avatar
JPG

Community Member, 53 Posts

27 July 2010 at 4:38am

Have fixed it now (was a .htaccess issue with the PHP 5 handler).

now - I cannot do a "dev/build" flush - I keep getting a "404 page not found" error page!

Any ideas

Much thanks

JPG

Avatar
JPG

Community Member, 53 Posts

27 July 2010 at 10:34am

I think that I am having a melt down or something - dev/build is working now but only when as a suffix to index.php - is this how it has always been??? I swear that it normally goes in after the root of my URL?

Avatar
TotalNet

Community Member, 181 Posts

27 July 2010 at 10:40am

Sounds like a rewrite rule problem, can you post your .htaccess?

Avatar
JPG

Community Member, 53 Posts

27 July 2010 at 10:52am

I was advised by my hosting service to re-write my .htaccess with the following

AddHandler x-mapp-php5 .php

It does actually work now... is it going to cause future problems if I follow index.php for the dev/build (or any other command for that matter)?