Jump to:

4952 Posts in 14081 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Warning: require_once(/www/htdocs/xxxx/lepus/...

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: 1753 Views
  • yaizo
    Avatar
    Community Member
    19 Posts

    Warning: require_once(/www/htdocs/xxxx/lepus/... Link to this post

    hello,

    i am trying to install the new silverstripe.var.2.3.6 on my live server. unfortunately i get the following message when i click -> cms-edit:

    Warning: require_once(/www/htdocs/xxx/lepus/mysite/_config.php) [function.require-once]: failed to open stream: Permission denied in /tmp/silverstripe-cache-www-htdocs-xxx-lepus/manifest-main on line 6060

    Fatal error: require_once() [function.require]: Failed opening required '/www/htdocs/xxx/lepus/mysite/_config.php' (include_path='.:/usr/share/php:..') in /tmp/silverstripe-cache-www-htdocs-xxx-lepus/manifest-main on line 6060

    i have tried it three times.
    the installation.php works that means that i come to the input form Database / password and so on, but when i recall the www.address.de
    i allways get Permission denied / you dont have the .. on this server.

    had somebody else these problem?. i dont know what the problem is, i am a beginner in php so it is an enigma to me.
    it always worked!!! normal index.html works wery well ... i am very confused !!!

    thanks for your help or suggestions!
    (sorry for my bad englisch, i am workin on it ....)

    greets moloko x . x

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Warning: require_once(/www/htdocs/xxxx/lepus/... Link to this post

    /tmp/silverstripe-cache-www-htdocs-xxx-lepus/

    This directory needs to have write permissions for the web server/SilverStripe to get in and start putting temporary files that it needs to cache. Try running this command on your server: "chmod 777 -R /tmp/silverstripe-cache-www-htdocs-xxx-lepus/"

  • yaizo
    Avatar
    Community Member
    19 Posts

    Re: Warning: require_once(/www/htdocs/xxxx/lepus/... Link to this post

    thank you so much!!! it did a while but now its working. i set the permission back to 664 after writing the function. hope its still working after doing that !

    thanx m.

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