Jump to:

4938 Posts in 16379 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » No Errors

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: 402 Views
  • Parker1090
    Community Member
    38 Posts

    No Errors Link to this post

    Hi All,
    This is a new one for me. Using the latest stable download (2.4.7), I've installed silverstripe. Looking at the database, all tables are present, the members table exists with my email address in (as stated in the installation).

    However, once installation is complete, I see the following:

    "Installation Successful

    Congratulations, SilverStripe has been successfully installed.

    You can start editing your site's content by opening the CMS.

    No email or password? When I try logging in with the specified username and password, no errors are displayed, but instead, I'm just shown the log in page once again. Does anyone have any ideas about this please?


  • Willr
    Forum Moderator
    5497 Posts

    Re: No Errors Link to this post

    You can hard code an admin account by including the following in your _config.php file:

    Security::setDefaultAdmin('admin', 'password');

    Then that should at least give you access to the backend.

  • Parker1090
    Community Member
    38 Posts

    Re: No Errors Link to this post

    Cheers Will, but this doesn't seem to change anything.

    When you try to log in, it appears as if the page simply refreshes.


    Edit: I've tried "I've lost my password", which successfully sends me an email, but when I click on the link, it asks me to log in.
    I've also tried /dev/build?username=username&password=pass when it's in 'dev' mode, but this also seems to have no effect. The database appears to remain unchanged.


    Edit (Again):
    It seems to have been fixed. The domain name was a sub domain name (originally) "dev.example.com", just for development purposes. This was done due to an error of "/sapphire/main.php" not being found when run as "example.com/dev/". However, by changing the .htaccess to state "RewriteBase /dev/", and run it from the /dev/ rather than the subdomain, this appears to have fixed it. (Hope that makes sense!)

    Cheers for your help tho, just thought I'd post the outcome in case others go looking for a solution in the future.

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.