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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

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


Go to End


2 Posts   704 Views

Avatar
novaweb

Community Member, 116 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, 1899 Posts

16 March 2013 at 11:50pm

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