Anonymous visitors see white-screen with page caching on
SpriteGF - July 4, 2008 - 00:07
| Project: | Organic Groups Subscriptions |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Drupal works fine when a user is logged in. After logging out, everything is white-screened. In php's error_log, this appears:
PHP Fatal error: Call to undefined function drupal_get_path() in /Users/Steven/src/drupal/sites/all/modules/subscriptions_og/subscriptions_og.module on line 21
On my installation, anonymous users have "access content" permission unchecked.
Manually disabling the subscriptions_og module in the system database table allowed me to get back in.
This error appears with the dev version committed June 25, 2008.

#1
Under admin/performance I disabled page caching, and re-enabled subscripitons_og. Now page viewing as anonymous seems to work.
A lot of contrib modules seem to have an issue with caching. For example:
http://www.google.com/search?client=opera&rls=en&q=call+to+undefined+fun...
http://drupal.org/node/54609
I'd still say this is a critical bug since normal users who don't know how to change the database will find it impossible to log back in.
#2
Thanks for your report, will be reviewed soon.