[pmwiki-users] section edit deletes everything

Petko Yotov 5ko at 5ko.fr
Mon Feb 4 01:45:16 CST 2013


Walter Keller writes:
> Since I updated to Ubuntu 12.10 SectionEdit does not work anymore.
> * If you click on the section edit button an editor with empty text is shown.
> * If publish, the whole page (and not only the current section) is  
> overwritten
> Is this related to PHP Version 5.4.6-1ubuntu1.1? Any suggestions?

It is likely to be related. In recent PmWiki versions we have added a  
replacement of the htmlspecialchars() function and recipes can now use  
PHSC() instead. There are 3 places in sectionedit.php which need to be  
replaced - below "step 5: fill in form", just change htmlspecialchars to  
PHSC and test it again. Please report if it works, here and on the talk page  
of the recipe.

Petko




More information about the pmwiki-users mailing list