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

Permissions Problem? Fatal Error Class Doesn't Exist..... BS!


Reply


2 Posts   376 Views

Avatar
novaweb

Community Member, 115 Posts

19 February 2013 at 9:52am

Howdy,

Getting this error on a project, been a while since I've hit this wall and can't remember what I did to fix it:

Fatal error: Class 'PhpCaptchaField' not found in /Users/novaweb/Sites/SilverStripe/mysite/code/LoginPage.php on line 34

I have:

- Set all permissions to 755, except assets (777) and .htaccess / mysite/_config.php (666)
- run ?flush=1
- made a silverstripe-cache directory (777)
- checked and double checked PhpCaptchaField exists and that the file name matches the class name

Stumped....

Avatar
swaiba

Forum Moderator, 1799 Posts

16 March 2013 at 11:50pm

got the opening <?php tag in the file? that gets me sometimes