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.

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   759 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