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.

Archive /

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

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

Installation Error (AuthOpenID)


Go to End


1560 Views

Avatar
jlosh

Community Member, 1 Post

25 December 2007 at 11:22am

When I try installing SilverStripe I get an error:

Fatal error: Class 'Authenticator' not found in /home/.smidget/devsrc/dev.devsrc.org/auth_openid/_config.php on line 20

My '_config.php' under the auth_openid is:

<?php

/**
 * Define the random number generator for the OpenID library
 *
 * To set a source of randomness, define {@link Auth_OpenID_RAND_SOURCE}
 * to the path to the randomness source. If your platform does not provide a
 * secure randomness source, the library can operate in pseudorandom mode,
 * but it is then vulnerable to theoretical attacks.
 * If you wish to operate in pseudorandom mode, define
 * {@link Auth_OpenID_RAND_SOURCE} to null.
 * On a Unix-like platform  (including MacOS X), try "/dev/random" and
 * "/dev/urandom".
 */
define('Auth_OpenID_RAND_SOURCE', null);

/**
 * Register the {@link OpenIDAuthenticator OpenID authenticator}
 */
Authenticator::register_authenticator('OpenIDAuthenticator');

?>

Any Ideas?