I've been trying to edit/view http://drupal.org/node/224333 and I keep getting the following error:
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://drupal.org/node/224333
The following error was encountered:
* Zero Sized Reply
Squid did not receive any data for this request.
Your cache administrator is root@osuosl.org.
Generated Sat, 29 Nov 2008 17:39:16 GMT by www3.drupal.org (squid/2.6.STABLE17)
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 340576-11.issue_link_preg_replace.patch | 3.36 KB | dww |
| #8 | project_issue-preg_replace_callback.patch | 3.07 KB | john morahan |
Comments
Comment #1
dave reidNot too long after I posted a message about this in #drupal-infrastructure, the manatee bot posted:
(notice) PROBLEM: www1.drupal.org/NRPE - Swap Usage is WARNING, SWAP WARNING - 29% free (543 MB out of 1913 MB) Sat Nov 29 17:41:42 UTC 2008
Comment #2
dave reidMarked #340627: Zero Sized Reply as a duplicate of this bug.
Comment #3
dave reid18 hours later, still getting this error and I can't edit the 6.x to 7.x page. :(
Comment #4
killes@www.drop.org commentedI am lookign into this. For some reason the page causes the mysql server to go away.
Comment #5
killes@www.drop.org commentedActually, you can go to http://drupal.org/node/224333/edit directly. If you save the node, you'll get the "zero sized reply" thing again, but the edits are saved to the DB.
However, previews do not work.
I am guessing that somehow the url filter is getting messed up.
Indeed, if I convert the input format to "full html" the node loades fine. But now you can't edit it anymore. ;(
Comment #6
gerhard killesreiter commentedI've identified this to be a problem with the project link filter. The preg_match of the filter apparently dies a horribly death and takes the runnning php process with it.
I've hacekd the code on d.o so that the page is still visible, but if you make a copy of the node, you can easily reproduce this.
I suggest to convert the filterting process into a two-stage process which would only feed shorter text pieces to the regexp.
Comment #7
john morahan commentedWow, that is one nasty regular expression, and I guess it's triggering something like http://bugs.php.net/bug.php?id=27525
Would it be possible to avoid those recursive lookahead assertions entirely and instead do something like this?
Comment #8
john morahan commentedComment #9
john morahan commentedComment #10
aclight commentedThis has come up before, and I assume this problem is essentially the same as mentioned in #89673: GHOP #53: add input filter to convert #12345 into an issue link. It's probably easier to not call this issue a duplicate, but I wanted to link to that issue because there is some relevant discussion there.
Comment #11
dwwThis bug was still around, since http://drupal.org/node/224333 was failing after I deployed my recent changes from #367423: Make "assigned to" on issue links opt-in (by appending '@'). I guess Gerhard's local hack to disable the filter on that specific node was blasted when I updated the code. Since there was no comment nor documentation about this local patch, it was lost.
Anyway, I re-rolled/re-wrote this patch to merge it with my changes from #367423 and tested it. All seems to work, so I committed the attached patch to HEAD and DRUPAL-5--2 (miraculously, the same patch applied to both branches). ;)
Thanks, John!
-Derek
Comment #13
Logrise commentedStill the same error on Drupal 6.10 - Zero Sized Reply.
On pages
admin/build/translate/import
admin/build/themes/select
and many other. I cant understand- this is bug or host error and does it fixed or will not?
Ok, I will replace this post elsewhere.
Comment #14
dww@Logrise: That has nothing to do with this module. Please look + post elsewhere.
Comment #15
gerhard killesreiter commentedthe bug is back:
http://drupal.org/node/396246
Comment #16
pwolanin commentedThis bug is still causing problems on d.o now - apparently this patch is not sufficient.
killes says this is caused by this bug: http://drupal.org/node/396246
Comment #17
pwolanin commentedwhoops - cross-post
Comment #18
gerhard killesreiter commentedNo, apparently, this is different:
when we had the old bug, you could edit, but not view the result. THis time you can't save anything.