According to my status report:

APDQC - Session Backend	session_inc is not set to apdqc.
Inside settings.php add this to the bottom of the file

$conf['session_inc'] = 'sites/all/modules/apdqc/apdqc.session.inc';


However, when I add $conf['session_inc'] = 'sites/all/modules/apdqc/apdqc.session.inc'; to my settings.php, I get a WSOD on any page on the site. Problem is resolved upon removing the line.

PS: I don't know if it's related (perhaps an underlying problem on my site), but I have the same problem when trying to enable the mongodb_session.inc from the MongoDB module.

CommentFileSizeAuthor
#5 apdqc-2494111-4-fix-wsod.patch755 bytesmikeytown2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

Issue summary: View changes
Anonymous’s picture

And in the web server error log:

PHP Fatal error: Call to undefined function apdqc_escape_string() in /somesite/sites/all/modules/apdqc/apdqc.session.inc on line 163

Anonymous’s picture

Adding include_once('sites/all/modules/apdqc/apdqc.mysql.inc'); to settings.php before $conf['session_inc'] = 'sites/all/modules/apdqc/apdqc.session.inc'; stopped the WSOD. Is this acceptable?

  • mikeytown2 committed 7188d68 on 7.x-1.x
    Issue #2494111 by mikeytown2: Fix WSOD if just using lock.inc or session...
mikeytown2’s picture

Status: Active » Fixed
FileSize
755 bytes

Thanks for the bug report. I've made it so the file gets included automatically now.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.