If the role theme module is enabled and normal caching is enabled and a theme is set for anonymous users, a php fatal error is triggered at line 16 probably due to the attempt to clear the css cache for these users.

I have disabled the module pending a solution. Thanks,

Comments

rkdesantos’s picture

Priority: Normal » Critical

Any further information required on this issue? I'd like to be able to use the module again.

romansta’s picture

Title: Anonymous users get fatal error if caching enabled » Have the same error

Any Idea?

rkdesantos’s picture

Title: Have the same error » Anonymous users get fatal error if caching enabled
tiutiun’s picture

Assigned: Unassigned » tiutiun

I've checked module for "Normal" caching mode set and it didn't show me any errors.
Though, module is not compatible with "Aggressive" caching, and I do not see ways by now to make it compatible with "Aggressive" caching.

If you do experience problems with "Normal" caching - could you please let me know, so we could examine this problem?

tiutiun’s picture

Please send me also a screenshot with error

rkdesantos’s picture

I'll retest this (it's been six months) and report back.

rkdesantos’s picture

Immediately after enabling the module I get this error but I don't know if it's the same problem:

Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 10072791 bytes) in /home/.../includes/database.mysql.inc on line 402

I repeated the process, disabling, re-enabling, and it loaded. I wasn't able to reproduce the specific error I was getting in August this time. I only have "normal" caching enabled at the moment.

tiutiun’s picture

Hmmm...
As for memory - it doesn't seem to be Role Theme Switcher issue.
Can we close this issue?

BTW, there's appeared release for Drupal 6

rkdesantos’s picture

Status: Active » Closed (fixed)

Yes, close it and it can be re-opened if myself or another user can replicate teh problem.