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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

function.scandir error




1 February 2009 at 11:34pm Community Member, 4 Posts

Hi Folks!

I'm getting this annoying error now and again (maybe every 3-5 page loads), and I don't know what is wrong. It occurs at the top of the page on the front end. It also appears as a warning when doing a db build.

I'm running on FreeBSD 6.3 and Apache. If anyone knows what could be wrong, please let me know. Hopefully I'm not the only person with this error. :-)

Error follows:

Warning: scandir(/usr/home/sites/ [function.scandir]: failed to open dir: No such file or directory in /usr/home/sites/ on line 272

Warning: scandir() [function.scandir]: (errno 22): Invalid argument in /usr/home/sites/ on line 272