Blank page when logout

beerlao

Joined: 2007-05-29
Posts: 3
Posted: Tue, 2009-07-28 14:03

Hi,

after installing and configuring gallery module for drupal I get a blank page when clicking on logout (just a blank page, the URL remains with http://host/logout -> no redirect to http://host/node as it does when gallery for drupal is disabled). All other things are doing well which means I can access my galleries and can do all other things you can do with drupal. Just logout doesn't work. If I hit "Refresh" on the blank page, then the login form appears.

Apache logfile says that there is a error 500. In php.ini I set memory_limit to 128M. Drupal is 6.13 and gallery module is 6.x-1.0. Gallery2 itself is 2.3.

If I disable gallery module or just reset configuration drupal is working fine again.

Any hints?

Thanks for reading.

 
beerlao

Joined: 2007-05-29
Posts: 3
Posted: Wed, 2009-07-29 08:10

I tracked this down. This error only appears when in gallery2 the optional module 'userinfo' is enabled. If you enable debug mode in gallery2 you will find something like

PHP Fatal error:  Call to a member function getUserName() on a non-object in /****/****/public_html/gallery2/modules/userinfo/classes/MyEventHandlerClass.class on line 84

Disabling the module in gallery solves the error.

 
fotonut

Joined: 2009-02-21
Posts: 74
Posted: Tue, 2010-02-16 00:29

What if you wish to keep the module enabled? Any other work-arounds? Thanks!