Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Fatal error after install (SignInForm does not exist)
Hi, I'm trying to install Vanilla 0.9.2 and I have done all the steps correctly. But, after the final step, the signin page doesn't appear, but this error shows up:
A fatal, non-recoverable error has occurred
Technical information (for support personel):
Error Message: The "SignInForm" class referenced by "SignInForm" does not appear to exist.
Affected Elements: ObjectFactory.NewObject();
What am I missing?
Thanks,
Vamsee.
0
This discussion has been closed.
Comments
Failing that, I'd make my way through the code trying to find the spot where the error occurs and try to find out why. The SignInForm is instantiated on line 21 of signin.php. It is done using the ObjectFactory object. The object factory throws that error on line 39 of library/Utility.ObjectFactory.class.php like so:
if (!class_exists($ClassName)) $Context->ErrorManager->AddError($Context, "ObjectFactory", "NewObject", "The \"".$ClassName."\" class referenced by \"".$ClassLabel."\" does not appear to exist.");
So, it's checking to see if the class name has been defined, and it's saying it hasn't. The SignInForm class is included on line 74 of the appg/init_external.php like so:
$Page->Import($Page->ControlFile);
The "$Page->ControlFile" variable should be controls/signin.php.
So, you can check that the correct control file is being imported (just echo and die to see), and if it is being imported properly, you can check to make sure that the file exists.
so, is the controls/index file there? Can you open it up and make sure it's not empty?
I've seen some ftp programs screw up and leave files blank.
A virtual host shouldn't be a problem - I'm running Vanilla on numerous virtual hosts (w/ apache, tho) without issues. What version of PHP have you got?
<?php phpinfo(); ?>
and then go ahead and upload and view it on your domain, it should give you the info on what it's actually running. Given, it might be the exact same version, but t's worth a look.