Jump to:

4873 Posts in 7171 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » error on 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
Go to End
Author Topic: 1972 Views
  • webtonic
    Avatar
    Community Member
    26 Posts

    error on install Link to this post

    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?

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: error on install Link to this post

    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

  • CHD
    Avatar
    Community Member
    217 Posts

    Re: error on install Link to this post

    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.

  • bunheng
    Avatar
    Community Member
    69 Posts

    Re: error on install Link to this post

    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

  • JonoM
    Avatar
    Community Member
    103 Posts

    Re: error on install Link to this post

    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.

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: error on install Link to this post

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

  • JonoM
    Avatar
    Community Member
    103 Posts

    Re: error on install Link to this post

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

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