Jump to:

4875 Posts in 6997 Topics by 1472 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » "Website Error" when trying to access admin after install

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

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

Page: 1 2
Go to End
Author Topic: 2839 Views
  • senica
    Avatar
    Community Member
    18 Posts

    "Website Error" when trying to access admin after install Link to this post

    Hey,
    I installed silverstripe for the first time today. After the install, the website comes up, but the admin just gives a "Website Error - There has been an error"

    Is there anyway to turn on more detailed errors.

    I've seen several things of people have problems with the initial install, any suggestions. I tried few things I found in the forums but nothing seemed to work.

    I guess I don't know where to go unless I can see more detailed errors.

  • senica
    Avatar
    Community Member
    18 Posts

    Re: "Website Error" when trying to access admin after install Link to this post

    I tried the fix that suggested to edit the /sapphire/_config.php file. That did NOT work.

    I edited the /sapphire/thirdparty/Zend/Cache/Backend/File.php on line 90 and made it 'cache_dir' => './silverstripe-cache/',//null,

    That works.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: "Website Error" when trying to access admin after install Link to this post

    Is there anyway to turn on more detailed errors.

    Put the site in dev mode to view the actual error messages.

    http://doc.silverstripe.org/debugging

  • w1
    Avatar
    Community Member
    21 Posts

    Re: "Website Error" when trying to access admin after install Link to this post

    We have done another install of 2.4 - In previous versions, the cache was written to the root tmp directory of the server, and that can be hungry on resources. So we used to create a directory within the client site root called silverstripe-cache and it used to write the files into client individual sites

    To achieve that now (cache directory in the client root), the core has be changed as above, and we dont think that is a good thing. Willr, was there a particular reason to change that?

    thanks
    peter

  • apiening
    Avatar
    Community Member
    55 Posts

    Re: "Website Error" when trying to access admin after install Link to this post

    hi w1,

    i just installed silverstripe with the cache folder within the project, cause my xp box chokes on the long paths it uses by default. it worked like it always did: i just created the silverstripe-cache folder in the silverstripe folder and it works without hacking the core. any other behavior would be a bug. what version of ss are you using? 2.4.0, 2.4 trunk?

    cheers

    andy

  • w1
    Avatar
    Community Member
    21 Posts

    Re: "Website Error" when trying to access admin after install Link to this post

    Version 2.4.0

    We had to go back to the default install because there was a admin login issue

    regards
    Peter

  • Spydo
    Avatar
    Community Member
    2 Posts

    Re: "Website Error" when trying to access admin after install Link to this post

    Hi,
    I have exactly the same Problem and I use the Version 2.4.0, too.

    My Error Message:
    http://web55.alfa3044.alfahosting-server.de/error.htm

    regards
    Spydo

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: "Website Error" when trying to access admin after install Link to this post

    @Spydo

    is_dir() [function.is-dir]: open_basedir restriction in effect.

    Means you cannot write the tmp files to /tmp/. To get around this issue create a 'silverstripe-cache' folder in your root folder and make sure the webserver has the correct permissions to read / write to the dir.

    2839 Views
Page: 1 2
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.