Closed (fixed)
Project:
Authenticated User Page Caching (Authcache)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2011 at 21:49 UTC
Updated:
24 Jan 2011 at 21:24 UTC
Comments
Comment #1
Jonah Ellison commentedoops, committed now, thanks!
http://drupalcode.org/viewvc/drupal/contributions/modules/authcache/auth...
Comment #2
threading_signals commentedWow, that was fast, thanks!
Comment #3
threading_signals commentedThe js debug link is at the top left corner of every page now. How do I disable...? Thank you.
Comment #4
Jonah Ellison commentedYou can disable debugging on the Authcache admin page under Performance.
Comment #5
threading_signals commentedCan you check to see if that logic is in place? The javascript was cached on my browser when browsing anonymously. I had to troubleshoot a varnish 503 but since all I did was copy the js file from the link mentioned above to my authcache directory, I can't be sure if it is disabled by default when downloading the project and enabling authcache, before the debug option is selected. Once debug option is selected, I think it will also let anonymous users have access to the debug link as well?
Comment #6
Jonah Ellison commentedAh, there was some buggy debug logic, just committed a fix. http://drupal.org/cvs?commit=487784
Comment #7
threading_signals commentedstderr: PHP Fatal error: Unsupported operand types in /var/www/sites/all/modules/authcache/authcache.inc on line 19
..? Thanks for your contributions to drupal.
Comment #8
Jonah Ellison commentedIs that a new error? authcache.inc didn't change in the last commit. What is your $conf value?
Comment #9
threading_signals commentedPerhaps the installation steps that I took was wrong. I didn't disable the module, uninstall, remove the directory, etc. I'm also using postgresql. Here is my config though:
$conf = array(
# Authcache
'cache_inc' => './sites/all/modules/authcache/authcache.inc',
#'cache_inc' => './sites/all/modules/memcache/memcache.inc',
# Sessions
'session_inc' => './sites/all/modules/memcache/memcache-session.inc',
#'session_inc' => './sites/all/modules/no_anon/session-no-anon.inc',
'memcache_servers' => array('127.0.0.1:11211' => 'default',
'127.0.0.1:11212' => 'session',
'127.0.0.1:11213' => 'users',
),
'memcache_bins' => array('cache' => 'default',
'cache_apachesolr' => 'default',
'cache_block' => 'default',
'cache_content' => 'default',
'cache_filter' => 'default',
'cache_form' => 'default',
'cache_menu' => 'default',
'cache_page' => 'default',
'cache_pathdst' => 'default',
'cache_pathsrc' => 'default',
'cache_update' => 'default',
'cache_views' => 'default',
'cache_views_data' => 'default',
'session' => 'session',
'users' => 'users',
), );
$conf['memcache_options'] = array(
Memcached::OPT_COMPRESSION => FALSE,
Memcached::OPT_DISTRIBUTION => Memcached::DISTRIBUTION_CONSISTENT,
Memcached::OPT_BINARY_PROTOCOL => TRUE,
);
I've also thought about using socket connections via memcached for some of the servers, but it's not a priority to throughly test that right now.
Comment #10
Jonah Ellison commentedI can't reproduce the error using the latest 6.x-1.x-dev version and memcached. Let me know if you figure it out.
Comment #11
threading_signals commentedSorry, I can't reproduce this error, but I got the new dev version installed and it's looking good, thank you. Have a good one Jonah.