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

"Website Error" when trying to access admin after install


Go to End


10 Posts   4860 Views

Avatar
senica

Community Member, 18 Posts

18 June 2010 at 7:27am

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

Community Member, 18 Posts

18 June 2010 at 8:16am

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

Forum Moderator, 5523 Posts

18 June 2010 at 6:26pm

Edited: 18/06/2010 6:27pm

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

Community Member, 21 Posts

24 June 2010 at 4:01pm

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

Community Member, 60 Posts

30 June 2010 at 11:41am

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

Community Member, 21 Posts

30 June 2010 at 12:29pm

Version 2.4.0

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

regards
Peter

Avatar
Spydo

Community Member, 2 Posts

1 July 2010 at 6:14am

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

Forum Moderator, 5523 Posts

1 July 2010 at 9:12am

@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