[pmwiki-users] unable to retrieve edit form Site.EditForm

Petko Yotov 5ko at 5ko.fr
Thu Apr 5 19:41:55 CDT 2012


On Wednesday 04 April 2012 14:02:47 Claudio Fabozzi wrote:
> My pmwiki, before the change works without problem.
> Now, for let it work with nginx, i just replaced the pmwiki.php from the
> old version to the new version.
> i hope this can help someone with the same problem

Interesting. In fact, between 2.2.35 and 36 there are some changes in the 
functions which read a page text and metadata. So this may need some 
examination.

If you can test the version 2.2.36 again, can you read any other page from the 
core distribution, or do you get an empty page? Like your local page 
PmWiki.ReleaseNotes for example.

What is the encoding (charset) of your wiki? Do you have in config.php a line 
including scripts/xlpage-utf-8.php ?

If you add to config.php such a line, can you edit in 2.2.36 ?

  $PageRecodeFunction = "IsEnabled";

(This will disable the core functions used for converting the pages from one 
encoding to another. If you can edit with that line, the problem is likely 
there. Your error message may indicate that either the page Site.EditForm is 
not accessible -- doesn't exist, doesn't have the required file persissions, 
or the visitor doesn't have the required wiki permissions, -- or that the 
recode function returns nothing -- which shouldn't happen because the code 
only uses PHP functions that are not disabled, but still.)

The change from 2.2.35 to 2.2.36 should allow us to recover some special 
characters like typographical quotes and the Euro sign that were sent by some 
browsers in the Windows-1252 charset instead of the ISO-8859-1 charset, and 
saved in the page. The conversion to UTF-8 could corrupt these incorrectly 
saved characters before, but in 2.2.36 they should be fine. If some of the PHP 
functions are not working properly, we need to find some way around them.

Petko

P.S. Sorry for my late replies. I've had quite a busy life since December and 
I'll be even busier for yet another week. After that I should have some time 
to finish things that wait for me on PmWiki.

> >> Claudio Fabozzi wrote:
> >>> I recently changed my webserver from apache + php to nginx +
> >>> php5-pfm.
> >>> With the latest version i have this error when i try to edit
> >>> 
> >>>    ?unable to retrieve edit form Site.EditForm
> >>> 
> >>> with pmwiki-2.2.35 version everything is ok.




More information about the pmwiki-users mailing list