Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After installing authcache 7.x-2.0-alpha5 I get a WSOD when trying to reach admin/config/system/authcache.
With 7.x-2.x-dev it is the same. There is no mention of any error in the recent log messages.
Trying on a clean drupal install on the same server gives the same problems.
Authcache works perfect on my localhost.
Debugging 7.x-2.0-alpha5 gives the following error
Fatal error: Invalid opcode 153/1/8. in /home/vis/public_html/sites/all/modules/authcache/authcache.module on line 1235
Line 1235 reads:
$options = drupal_map_assoc($durations, function($duration) use ($zero_duration) {
I'm running php version 5.3.26 on the server.
Comments
Comment #1
znerol CreditAttribution: znerol commentedThanks for the report. Do you use the eAccelerator PHP extension?
Comment #2
Bram Linssen CreditAttribution: Bram Linssen commentedThanks for your reply.
Yes I do use eaccelarator
php -v
givesComment #3
Bram Linssen CreditAttribution: Bram Linssen commentedComment #4
znerol CreditAttribution: znerol commentedOk, it seems that certain builds of eAccelerator have bugs related to anonymous functions. Please fix your eAccelerator setup or switch to another opcode cache, e.g. APC.
Some pointers:
Comment #5
Bram Linssen CreditAttribution: Bram Linssen commentedThanks for your reply. I'll let you know if that was the issue. I'm not maintaining the server myself so this might take a little.
In the meantime I'm very happy with Authcache 1.6