Ticket #2536 (closed defect: fixed)

Opened 8 months ago

Last modified 2 weeks ago

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

Attachments

ExternalAuthenticator.patch (0.5 kB) - added by lancer 8 months ago.
Fix for auth_external/code/ExternalAuthenticator.php

Change History

Changed 8 months ago by lancer

Fix for auth_external/code/ExternalAuthenticator.php

Changed 2 weeks ago by lancer

  • status changed from new to closed
  • resolution set to fixed

Fixed in SVN trunk

Note: See TracTickets for help on using tickets.