4649 Posts in 1402 Topics by 1394 members
| Go to End | Next > | |
| Author | Topic: | 2554 Views |
-
"Website Error" when trying to access admin after install

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.
-
Re: "Website Error" when trying to access admin after install

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.
-
Re: "Website Error" when trying to access admin after install

18 June 2010 at 6:26pm Last edited: 18 June 2010 6:27pm
Is there anyway to turn on more detailed errors.
Put the site in dev mode to view the actual error messages.
-
Re: "Website Error" when trying to access admin after install

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 -
Re: "Website Error" when trying to access admin after install

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
-
Re: "Website Error" when trying to access admin after install

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 -
Re: "Website Error" when trying to access admin after install

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.htmregards
Spydo -
Re: "Website Error" when trying to access admin after install

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.
| 2554 Views | ||
| Go to Top | Next > |



