[pmwiki-users] New recipe: Fox

marc gmane at auxbuss.com
Tue Dec 19 09:10:33 CST 2006


Hans said...
> Sunday, December 17, 2006, 7:46:31 PM, marc wrote:
> 
> >> Btw, I also see the 'delete' buttons when the user is not logged in.
> 
> > Just to add to the intrigue, I ran this on a mirror of the site running
> > Linux and it was possible to post without logging in, but it was also
> > possible to delete /all/ comments.
> 
> Sorry I can't give any more ideas at present about your problems
> saving pages. If you find out more please let me know!

Just had another look at this on Windows XP.

An additional symptom is that each attempt at a post, when not logged 
in, adds a new line to the 'Comments' page. I've attached the raw 
contents of the appropriate page [1]. (The longer diff is where I 
cleared contents via action=edit.)

As I mentioned before, the contents of the args to

  UpdatePage($targetname, $oldpage, $newpage);

in FoxUpdatePage is identical: when logged in, I can post when not 
logged in I cannot post.

I also tried this on a fresh install of the latest PmWiki release in the 
root of the web server (as /pmwiki, I tend to use ~user) - the only 
change being to add

  include_once("$FarmD/cookbook/fox.php");

to config.php (which itself was an unedited version of sample-
config.php). The result was the same. But in this case, it's not 
possible to post at all.

I then did the same thing on a new Windows XP machine - that had never 
seen PmWiki before - and the same problem persists. The newly created 
file is below [2]. This machine also has PHP4, whereas the first machine 
runs PHP5.

All of this has been done under Apache. As it happens, the latter 
machine above had IIS installed, so I brought down Apache and brought up 
IIS and tried again. No joy; same symptoms.

I then tried it (latest PmWiki) under lighttpd on the first machine, and 
again, no joy.

So, whatever is going causing the problem seems to be Windows related 
and not web server related.

Have you tried it on a clean PmWiki install yourself?

-- 
Best,
Marc

[1]

version=pmwiki-2.2.0-beta16 ordered=1 urlencoded=1
agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) 
Gecko/20060728 Firefox/1.5.0.6
author=fred
csum=
ctime=1166382738
host=192.168.0.1
name=Main.Comments
rev=24
targets=
text=%0a%0a%0a%0a%0a%0a
time=1166535501
author:1166535501=fred
diff:1166535501:1166535496:=6d5%0a%3c %0a
host:1166535501=192.168.0.1
author:1166535496=fred
diff:1166535496:1166535368:=5d4%0a%3c %0a
host:1166535496=192.168.0.1
author:1166535368=fred
diff:1166535368:1166535364:=4d3%0a%3c %0a
host:1166535368=192.168.0.1
author:1166535364=fred
diff:1166535364:1166535360:=3d2%0a%3c %0a
host:1166535364=192.168.0.1
author:1166535360=fred
diff:1166535360:1166535344:=2d1%0a%3c %0a
host:1166535360=192.168.0.1
author:1166535344=fred
diff:1166535344:1166535333:=1d0%0a%3c %0a
host:1166535344=192.168.0.1
author:1166535333=fred
diff:1166535333:1166535168:=0a1,17%0a> %0a> %0a> %0a> %0a> %0a> %0a> %
0a> %0a> %0a> %0a> %0a> %0a> %0a> %0a> %0a> %0a> %0a
host:1166535333=192.168.0.1
author:1166535168=fred
diff:1166535168:1166534573:=17d16%0a%3c %0a
host:1166535168=192.168.0.1
author:1166534573=dino
diff:1166534573:1166534495:=16d15%0a%3c %0a
host:1166534573=192.168.0.1
author:1166534495=dino
diff:1166534495:1166534439:=15d14%0a%3c %0a
host:1166534495=192.168.0.1
author:1166534439=dino
diff:1166534439:1166534371:=14d13%0a%3c %0a
host:1166534439=192.168.0.1
author:1166534371=fred
diff:1166534371:1166534344:=13d12%0a%3c %0a
host:1166534371=192.168.0.1
author:1166534344=fred
diff:1166534344:1166533679:=12d11%0a%3c %0a
host:1166534344=192.168.0.1
author:1166533679=fred
diff:1166533679:1166533470:=11d10%0a%3c %0a
host:1166533679=192.168.0.1
author:1166533470=anon
diff:1166533470:1166383246:=10d9%0a%3c %0a
host:1166533470=192.168.0.1
author:1166383246=fred
diff:1166383246:1166383137:=9d8%0a%3c %0a
host:1166383246=192.168.0.1
author:1166383137=test
diff:1166383137:1166383069:=8d7%0a%3c %0a
host:1166383137=192.168.0.1
author:1166383069=test
diff:1166383069:1166383037:=7d6%0a%3c %0a
host:1166383069=192.168.0.1
author:1166383037=test
diff:1166383037:1166383027:=6d5%0a%3c %0a
host:1166383037=192.168.0.1
author:1166383027=rrrrrr
diff:1166383027:1166382957:=5d4%0a%3c %0a
host:1166383027=192.168.0.1
author:1166382957=rrrrrr
diff:1166382957:1166382818:=4d3%0a%3c %0a
host:1166382957=192.168.0.1
author:1166382818=test
diff:1166382818:1166382807:=3d2%0a%3c %0a
host:1166382818=192.168.0.1
author:1166382807=test
diff:1166382807:1166382738:=2d1%0a%3c %0a
host:1166382807=192.168.0.1
author:1166382738=test
diff:1166382738:1166382738:=1d0%0a%3c %0a
host:1166382738=192.168.0.1

[2]

version=pmwiki-2.2.0-beta17 ordered=1 urlencoded=1
agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) 
Gecko/20060508 Firefox/1.5.0.4
author=fred
ctime=1166539303
host=192.168.0.190
name=Main.Comments
rev=1
targets=
text=%0a
time=1166539303
author:1166539303=fred
diff:1166539303:1166539303:=1d0%0a%3c %0a
host:1166539303=192.168.0.190





More information about the pmwiki-users mailing list