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

error on install


Go to End


7 Posts   4036 Views

Avatar
webtonic

Community Member, 26 Posts

8 November 2010 at 3:30pm

I have been using and installing silverstripe with no issues for the last 18 months. Recently I am having this problem, after installing and getting no errors when tyring to access admin for the 1st time I get this error I have installed 2.42

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-CMSMain_php-02d0a5412efcd50b228a465bb7828ebc) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-MemberTableField_php-9aacb995d70e6698d30316637f9e8e79) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-ModelAdmin_php-f9912af7dd2a5b7b82499870307d2bb8) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-SecurityAdmin_php-5e946628039e7cee3cc3771a4e1c3c36) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-JSONDataFormatter_php-495951f05abbc51a72d9785309030821) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-RestfulServer_php-ef4d93d36c9a9ce79dd3a44cfbf21596) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-RestfulService_php-14ae096777bf6d20f254c771497fbda0) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-ClassInfo_php-1781acf60bd1e8cd6f1be7a3f3ce7124) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-SSViewer_php-97eb2e4fccf825eee915f7c51a8df974) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-Session_php-5c7d591f4498241d190b70a5caaa2e52) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-ContentNegotiator_php-e67f728ffbb11abae26c86b080f0c1a2) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-Controller_php-2cbd5e9d28f5c0f9304ed1297832f4da) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Warning: fopen(/tmp/silverstripe-cache-home-startruc-public_html/manifestClassParse-Director_php-c9381a1141d1c5b9de6fe4904181507a) [function.fopen]: failed to open stream: Permission denied in /home/startruc/public_html/sapphire/core/ManifestBuilder.php on line 466

Is this a server issue?

Avatar
Sean

Forum Moderator, 922 Posts

8 November 2010 at 4:02pm

Edited: 08/11/2010 4:06pm

Yes, it is a server issue.

The directory /tmp/silverstripe-cache-home-startruc-public_html and all the files and sub-directories inside it should be owned by the web server user.

The user the web server runs as could have been changed, but the files will be owned by the old user, causing permission problems when the new user tries to read and write to these files in /tmp/silverstripe-cache-home-startruc-public_html

The easiest way to change permissions is by issuing this command (probably as root, replacing "www-data" with whatever your web server is running as):

chown www-data -R /tmp/silverstripe-cache-home-startruc-public_html

If you don't know who the web server user is, you can run this at the top of your _config.php and see what it displays when you browse to your site:

var_dump(get_current_user());
die();

Cheers,
Sean

Avatar
CHD

Community Member, 219 Posts

20 October 2011 at 4:23am

Just had this problem with one of my clients, hosted it on their shared host as they didn't want to use ours (*sigh*)
Kept getting a HTTP error on files over 100KB. 500 Internal Server Error was the only response.

Logged into plesk, checked the error logs and found this:

[Wed Oct 19 12:03:53 2011] [warn] [client 94.175.14.30] mod_fcgid: HTTP request length 132180 (so far) exceeds MaxRequestLen (131072) 

Realised their server was running in FastCGI mode!
switched that to run as Apache module, switched off safe mode.

then had this:

[Wed Oct 19 16:18:02 2011] [error] [client 94.175.14.30] PHP Warning: fopen(/var/www/vhosts/xxxxxxxxxxxx failed to open stream: Permission denied in xxxxxxxxx

SS wasn't able to write to the tmp folder, so just quickly created a "silverstripe-cache" folder in the site root with 777 permission and all is well.

Hope this helps others.

Avatar
bunheng

Community Member, 78 Posts

6 November 2011 at 4:50pm

Edited: 17/11/2011 10:09pm

Hi,

I am having the same problem when moving from shared hosting virtual dedicate server, I can't upload any file unless I have to sit and change all the directory and sub directories within Assets to 777 especially _resampled directory . Could you kindly point out the solution to solve it? As two nights already google about this cause.

Thanks
Bunheng

I found the solution with the following link
http://www.silverstripe.org/installing-silverstripe/show/18476#post309434#post309434

Avatar
JonoM

Community Member, 130 Posts

17 November 2011 at 2:41pm

Re: user 'Missman' - Can we get a 'Report Spam' button on forum posts for logged in users? Or 'Report Spammer' on profiles? I would love to do my bit to get rid of these guys.

Avatar
swaiba

Forum Moderator, 1899 Posts

17 November 2011 at 9:09pm

Hi JonoM - that's what us moderator are here for ;-)

If you see one of these you can email us and we will take care of it... normally I become aware becase they reply to threads I am subscribed to... but there must be some still getting through.

And it does feel good to blast them - I've nothing against a little promotion - but while giving value and only a *little*.

Avatar
JonoM

Community Member, 130 Posts

18 November 2011 at 1:51pm

Good to know Swaiba I will keep it in mind for next time ;) Cheers