Ticket #2536 (closed defect: fixed)
Blank screen in SIlverstripe 2.2.2
| Reported by: | lancer | Owned by: | lancer |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | Modules - auth_external | Version: | 2.2.2 |
| Severity: | medium effort / impact | Keywords: | blank screen |
| Cc: | Hours: |
Description
Browsing to any URL in SilverStripe? 2.2.2 leads to a blank screen.
In the apache error log, the following message appears: [Sun May 25 20:04:15 2008] [error] [client 127.0.0.1] PHP Fatal error: Declaration of ExternalAuthenticator::authenticate() must be compatible with that of Authenticator::authenticate() in /var/www/silverstripe/sapphire/core/Core.php on line 70
Removing the External Authenticator module results in a properly loading site.
The patch attached works on auth_external/code/ExternalAuthenticator.php.
It changes: public static function authenticate(array $RAW_data, Form $form = null) into
public static function authenticate($RAW_data, Form $form = null)
After this change everything works again
