Missing file in dev version.

Comments

Jonah Ellison’s picture

threading_signals’s picture

Wow, that was fast, thanks!

threading_signals’s picture

The js debug link is at the top left corner of every page now. How do I disable...? Thank you.

Jonah Ellison’s picture

You can disable debugging on the Authcache admin page under Performance.

threading_signals’s picture

Can 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?

Jonah Ellison’s picture

Ah, there was some buggy debug logic, just committed a fix. http://drupal.org/cvs?commit=487784

threading_signals’s picture

stderr: PHP Fatal error: Unsupported operand types in /var/www/sites/all/modules/authcache/authcache.inc on line 19

..? Thanks for your contributions to drupal.

Jonah Ellison’s picture

Is that a new error? authcache.inc didn't change in the last commit. What is your $conf value?

threading_signals’s picture

Perhaps 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.

Jonah Ellison’s picture

I can't reproduce the error using the latest 6.x-1.x-dev version and memcached. Let me know if you figure it out.

threading_signals’s picture

Status: Active » Closed (fixed)

Sorry, 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.