Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Warning: scandir

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1168 Views
  • lkirkpatrick
    Avatar
    Community Member
    5 Posts

    Warning: scandir Link to this post

    I have installed SilverStripe and begun bulding my website. Every now and then (when I first go to my site www.faithchapelchristiancenter.net for the day) I get this message:
    Warning: scandir(/kunden/homepages/44/d244428573/htdocs/faithchapel/Faith Chapel) [function.scandir]: failed to open dir: No such file or directory in /homepages/44/d244428573/htdocs/faithchapel/sapphire/core/ManifestBuilder.php on line 272

    After a moment, the site comes up under the warning message. If I refresh the page, the warning disappears and the site comes up normally. I've gotten the warning sometimes when I login to the admin as well.

    Does anyone know what needs to be fixed. Thanks.

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Warning: scandir Link to this post

    hi,

    check whether all your directories are in 777, or check whether is there any unwanted files on the server too.

    to mare the files to 777 in linux use the following

    chmod -R 777 foldername

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