Jump to:

4938 Posts in 16602 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » SS3 silverstripe-cache problems

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: 1433 Views
  • Futureweb
    Avatar
    Community Member
    232 Posts

    SS3 silverstripe-cache problems Link to this post

    Hi,

    I'm running multiple sites on my VPS, and getting problems with "User 'xxxx' needs to be able to write to this file:
    /tmp/silverstripe-cache. The file is currently owned by 'yyyy'"

    in ss2, I would solve with by putting a new folder 'silverstripe-cache' into each websites public_html folder - along side the SS files.

    However, in SS3 this doesn't seem to work...

    Any suggestions?

    Jon

  • bobdylansbeard
    Avatar
    Community Member
    4 Posts

    Re: SS3 silverstripe-cache problems Link to this post

    I have the same problem Jon. It seems the old trick of creating a silverstripe-cache no longer works.
    Anybody???
    Paul

  • bobdylansbeard
    Avatar
    Community Member
    4 Posts

    Re: SS3 silverstripe-cache problems Link to this post

    To get it installed, the best solution I could come up with was to create the silverstripe-cache directory in root as normal, giving 777 permission and then to change line 725 in framework/dev/instal/install.php5
    from - $ssTmp = "$sysTmp/silverstripe-cache";
    to - $ssTmp = "/silverstripe-cache";

    Not pretty but at least it got me up and running.
    Friendly URLs appeared not to be working after install as I was redirected to an index.php? page but actually were, and all seems fine.

  • Craftnet
    Avatar
    Community Member
    58 Posts

    Re: SS3 silverstripe-cache problems Link to this post

    The latest version of the SS system does not require SilverStripe-cache (for me not see any error).

    But I have a problem such as your @bobdylansbeard
    "Friendly URLs Appeared to be not working after install as I was redirected to an index.php? Page but were Actually, and all Seems fine."

    Now I can not do anything because it pops up a 404 error if it does not give the address index.php

    Sorry for my bad English

  • bobdylansbeard
    Avatar
    Community Member
    4 Posts

    Re: SS3 silverstripe-cache problems Link to this post

    If SS3 does not reuire silverstripe-cache then why does the installation page tell me it requires write access to it?
    Your "friendly urls not working" is an unrelated problem. You'll find a lot of existing help on that in this forum.

  • _Vince
    Avatar
    Community Member
    161 Posts

    Re: SS3 silverstripe-cache problems Link to this post

    Thanks, BobDylansBeard, that came in handy.

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