Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Warning: scandir


Go to End


2 Posts   2314 Views

Avatar
lkirkpatrick

Community Member, 5 Posts

9 December 2008 at 6:37am

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.

Avatar
Nivanka

Community Member, 400 Posts

9 December 2008 at 11:46pm

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