Closed (fixed)
Project:
Content locking (anti-concurrent editing)
Version:
6.x-2.6
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
18 Apr 2011 at 01:40 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ergonlogicI'm seeing the same thing running under nginx, though I haven't tried it on apache yet.
Comment #2
eugenmayer commentedWell, we are not officially supporting nginx nor drupal is that officially. Please debug and provide a patch, until that this stays optional.
I have zero nginx experience, so cant help here
Comment #3
halcyonCorsair commentedThis looks like a straight up javascript issue. With nginx the AJAX get request was looking for a url like:
/node/<nid>/<domain name>/index.php?q=ajax/content_lock/<nid>/canceledit&k=.....This was obviously returning a 404.
Patch attached to make the call relative to the basepath.
Comment #4
wiifmAwesome patch, can confirm this still works on Apache 2.2 - keen to see this patch committed asap ;)
Thanks
Sean
Comment #5
acbramley commentedTested as well. Nice :D
Adam
Comment #6
eugenmayer commentedGood catch.
should be in for 2.7
Comment #7
todd nienkerk commented+1 for a 2.7 release with this patch applied.
Comment #8
ohnobinki commentedComment #9
ohnobinki commentedThis should be fixed in 70d2d35. I haven't been able to test this on nginx, but I removed the old JS's attempt to add index.php to the mix. I'm pretty sure that the changes I made follow those in the patch...
So please reopen this bug if that changeset does not fix the issue.