Fatal error: Class 'Auth_Login_Superauth' not found in /home/virtwww/site/http/fuel/packages/auth/classes/auth/login/driver.php on line 36 An unrecoverable error occurred.I added to packages/auth/bootstrap.php following code:
'Auth\\Auth_Acl_Superacl' => __DIR__.'/classes/auth/acl/superacl.php', 'Auth\\Auth_Group_Supergroup' => __DIR__.'/classes/auth/group/supergroup.php', 'Auth\\Auth_Login_Superauth' => __DIR__.'/classes/auth/login/superauth.php',
Jelmer Schreuder wrote on 02/03/11 10:46 am:I'd guess there's something wrong with the path, but in general you shouldn't do it like this. A package should be dealt with just like core classes: don't extend them inside their own directory because you won't be able to update them after that.
Extend by placing your own driver in app/classes/auth/login/superauth.php and it should just work.
class Auth_Login_SuperAuth extends \Auth_Login_Driver {
class Auth_Login_SuperAuth extends \Auth_Login_SimpleAuth {
Jelmer Schreuder wrote on 02/03/11 12:43 pm:Could you show be the class decleration (beginning of the file until just after "class Auth_Login_SuperAuth extends Auth_Login_Driver" ) and a screenshot of your file structure to the file? Just to clarify why I want to see that: the error you're shown is a PHP error saying it can't find the class Auth_Login_Superauth, which is not a problem with the Auth but with autoloading that specific class. As the autoloading has been tested pretty thoroughly I still suspect there's a problem with where you put the file.
It looks like you're new here. If you want to get involved, click one of these buttons!