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.

Archive

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

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

Installation Error (AuthOpenID)


Reply

1173 Views

Avatar
jlosh

25 December 2007 at 11:22am Community Member, 1 Post

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?