My auto-refresh didn't worked at first, because I was testing your module in a subdirectory, and the Ajax call was returning a 404.

Many thanks, this is really a great module!
Jérémy

Comments

kevin hankens’s picture

Yeah, sorry about that :) There is an admin setting for that purpose, but maybe not the most elegant solution. Try going to admin/settings/livecoverage and see if that works.

jonskulski’s picture

StatusFileSize
new1.97 KB

Kevin,

(We had talked in #drupal about converging our modules, so I'm reviewing live coverage so I'll have some patches & issues for you :) - heads up!)

I ran into this too. The subdirectory is an ok solution, but base_path() will catch subdirectories for you.

For example I develop locally at

http://localhost/Sitename

and on our server at

http://site.c3.net/~jskulski/

And in both cases base_path() will catch these for you and not require any administrative actions (which is good). Also, I was confused at first, I thought it was a subdirectory WITHIN the files dir, and only after firebug told me about a 404 did i realize what it was.

Here is a patch that adds base_path support for the updatedir and removes the the live subdirectory variable from admin settings.

kevin hankens’s picture

Status: Active » Fixed

Thanks! I like that solution a lot, I just committed the patch.

Status: Fixed » Closed (fixed)

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

Remon’s picture

Version: 6.x-1.0-beta2 » 6.x-2.0-beta1
StatusFileSize
new412 bytes

Also, Drupal.settings.basePath should be taken into account.

Remon’s picture

Status: Closed (fixed) » Active