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.

Installing SilverStripe

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

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

"Website Error" when trying to access admin after install


Go to End
Reply

10 Posts   3020 Views

Avatar
senica

18 June 2010 at 7:27am Community Member, 18 Posts

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.

Avatar
senica

18 June 2010 at 8:16am Community Member, 18 Posts

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.

Avatar
Willr

18 June 2010 at 6:26pm (Last edited: 18 June 2010 6:27pm), Forum Moderator, 5511 Posts

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

Avatar
w1

24 June 2010 at 4:01pm Community Member, 21 Posts

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

Avatar
apiening

30 June 2010 at 11:41am Community Member, 60 Posts

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

Avatar
w1

30 June 2010 at 12:29pm Community Member, 21 Posts

Version 2.4.0

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

regards
Peter

Avatar
Spydo

1 July 2010 at 6:14am Community Member, 2 Posts

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

Avatar
Willr

1 July 2010 at 9:12am Forum Moderator, 5511 Posts

@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.

Go to Top