Jump to:

4952 Posts in 14256 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » "Website Error" when trying to access admin after 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 2
Go to End
Author Topic: 2947 Views
  • Spydo
    Avatar
    Community Member
    2 Posts

    Re: "Website Error" when trying to access admin after install Link to this post

    Thanks for this Information.

    but I have also the Problem that I dont have the permission to create a folder on my root dir.

    I have also ask my WebHoster and he advise my to change the tmp folder in the code to "/var/www/web55/phptmp/" and I have no idea how to change it ;).

  • Devlin
    Avatar
    Community Member
    215 Posts

    Re: "Website Error" when trying to access admin after install Link to this post

    I got a similar problem.

    The error message was:

    [User Error] Uncaught Zend_Cache_Exception: cache_dir is not writable
    GET /login/admin?flush

    Line 208 in /[...]/sapphire/thirdparty/Zend/Cache.php

    [...]

    # Zend_Cache::throwException(cache_dir is not writable)
    Line 156 of File.php
    # Zend_Cache_Backend_File->setCacheDir(/tmp/,)
    Line 122 of File.php

    I fixed it with this line in my _config:

    // workaround to get ZF cache in the right folder
    $_ENV['TMPDIR'] = dirname(__FILE__)."/../silverstripe-cache";

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