Page 2 of 2

Re: Automatisches sichern von Einträgen schlägt fehl

Posted: Fri Sep 09, 2011 8:53 am
by chrisbra
Ich hab das heute mal debugged. Der folgende Patch behebt es (Works for Me):

Code: Select all

--- index.php   2009-06-11 14:14:15.000000000 +0200
+++ index.php.new       2011-09-09 08:31:20.959898811 +0200
@@ -251,10 +251,14 @@
     }
 
     echo $data;
-} else if ( preg_match(PAT_COMMENTSUB, $uri, $matches) ||
+} else if ( (preg_match(PAT_COMMENTSUB, $uri, $matches) ||
             preg_match(PAT_PERMALINK, $uri, $matches) ||
             isset($serendipity['GET']['id']) ||
-            isset($_GET['p']) ) {
+            isset($_GET['p']))
+            /* Don't Match XMLHttpRequest from Autosave Plugin */
+            && !preg_match('/autosave/', $serendipity['uriArguments'][1])
+        )
+{
     $serendipity['view'] = 'entry';
 
     if (isset($serendipity['GET']['id'])) {
Fragt mich aber nicht, warum dieser Pfad nur angesprungen wird, wenn das entryproperties Plugin aktiv ist.

Re: Automatisches sichern von Einträgen schlägt fehl

Posted: Fri Sep 09, 2011 9:27 am
by laemmy
chrisbra wrote:Ich hab das heute mal debugged. Der folgende Patch behebt es (Works for Me):
Hab das hier mal ausprobiert. Es behebt das Problem auch bei mir. Vielen Dank für deine Hilfe. Ich werde das jetzt auch nochmal woanders testen, aber ich denk das wird da auch passen.

Gibt es noch einen weiteren Weg Danke zu sagen? Ein Amazon Wunschzettel oder eine Paypal Adresse vielleicht?

LG Silvio

Re: Automatisches sichern von Einträgen schlägt fehl

Posted: Fri Sep 09, 2011 9:42 am
by chrisbra
Oh, das wäre ja eine nette Überraschung. Das müßte er sein, glaub ich:
http://www.amazon.de/registry/wishlist/2BKAHE8J7Z6UW

Re: Automatisches sichern von Einträgen schlägt fehl

Posted: Fri Sep 09, 2011 11:33 am
by garvinhicking
Hi!

Super, danke. HAbe deinen Patch mal committed!

Grüße,
Garvin