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.

Archive

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

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

Warning: scandir


Reply

2 Posts   1313 Views

Avatar
lkirkpatrick

9 December 2008 at 6:37am Community Member, 5 Posts

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

9 December 2008 at 11:46pm Community Member, 395 Posts

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