Jump to:

4873 Posts in 7139 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » keep getting same syntax error...

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

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

Page: 1
Go to End
Author Topic: 1025 Views
  • JPG
    Avatar
    Community Member
    53 Posts

    keep getting same syntax error... Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: keep getting same syntax error... Link to this post

    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.

  • JPG
    Avatar
    Community Member
    53 Posts

    Re: keep getting same syntax error... Link to this post

    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

  • JPG
    Avatar
    Community Member
    53 Posts

    Re: keep getting same syntax error... Link to this post

    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?

  • TotalNet
    Avatar
    Community Member
    181 Posts

    Re: keep getting same syntax error... Link to this post

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

  • JPG
    Avatar
    Community Member
    53 Posts

    Re: keep getting same syntax error... Link to this post

    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)?

    1025 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.