Closed (duplicate)
Project:
Memcache API and Integration
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2011 at 21:15 UTC
Updated:
30 Jul 2011 at 17:07 UTC
Just a notice abt modules not playing well.
i'm putting a D7 site together and tried to use these 2 modules together with no success. Same thing happens with all D7 versions of these modules.
With memcache enabled Domain Access won't bootstrap at all. If i install Donmain Access first then switch on Memcache i get blank screens or PDO errors. i haven't invested extensive time into Drupal since D5 so have no idea what's happening. i have a pretty standard set up with the mysql server on a separate box.
Comments
Comment #1
ben soo commentedalso started up a thread on this in the Domain Access module issue queue:
http://drupal.org/node/1030380
Comment #2
agentrickardHere's what @ben soo left in the duplicate issue:
Typically, you cannot use node access modules with external caching.
Comment #3
ben soo commentedi find that weird, but then i haven't a clue abt Drupal's internal organization. i thot whether a query transaction can be cached or not depended on whether the underlying data's changed.
Don't mind my clueless state: not enough coffee.
Comment #4
ben soo commentedOk, the latest test of this combo of modules shows that the D7 site does run with both Domain Access and Memcache enabled, but the memcached debug output shows no caching requests are going to the memcached daemon from the site.
When i disable the Domain Access module and comment out the Domain Access setup routine line in settings.php, then i see binary requests and retrievals in the memcached debug log.
Comment #5
agentrickard@ben soo
We fixed what is likely a related bug last week. Try 7.x.2.9 of Domain Access.
See #1046844: domain_bootstrap breaks page cache.
Comment #6
catchWe need more information here. Are you getting no requests to memcache at all? Or they're all cache misses?
Comment #7
catchActually I'm going to mark this as a duplicate of #1030338: D7 Domain Access module doesn't work with Memcache module which has suggested documentation to fix this issue.
Comment #8
ben soo commented--Yes, i checked the module, it is 7.x.2.9 with the patch that has the added drupal_settings_initialize(): that's what's giving me the behavior i noted above.
They not memcache misses, there's no communication with memcached at all, seems like.
i wish i had more, or any, competence with PHP and debugging thereof.
Comment #9
ben soo commentederm, that's this thread. i'll go and look around this issue queue and see what i've missed, and apologize beforehand for missing it.
Comment #10
brightboldI don't have the Memcache module installed, but had turned on performance logging in Devel and was getting exactly the same error as ben soo. When I disabled performance logging, Domain can be installed as usual.
So I don't know if that means this should be a Devel issue, or a Domain issue, or a Memcache issue, or if it should again be reclosed as a dupe. But Catch - you accidentally closed this as a duplicate of itself. Can you point us towards the issue you meant to link?
Comment #11
catchWhoops, that was #838520: Document Memcache and Domain Access settings.php issues! Moving back to duplicate.
Comment #12
ben soo commentedok, the described order of config settings in this thread is what i have in my settings.php: has no effect for me.
Comment #13
brightbold@ben soo -
Yes that didn't solve the problem for me either. I disabled Memcache to fix it. But I do know that the devs are unlikely to look at an issue where the status is "closed," so you should either post in the open issue (except it's specifically about documentation, so that seems not quite appropriate) or re-open this one.
Comment #14
jonaswouters commentedThis is still an issue. memcache has hits. But still getting error message "Domain access failed to load during phase: 2. Please check your settings.php file and site configuration."
Does not detect current active domain.
If anybody found a solution to this, I would like to know.
Comment #15
catchStill a duplicate of #1030338: D7 Domain Access module doesn't work with Memcache module which also has a solution.
Comment #16
catchSorry copy and paste fail again, this one: #838520: Document Memcache and Domain Access settings.php issues.
Comment #17
ben soo commentedNope, this reordering of settings.php doesn't fix the problem. This particular fix was for D6 anyway, dunno how different the code is for the D7 versions of these modules, but reordering the settings lines don't do anything.
Should i open another issue for this problem, since as noted above this one is marked closed?