[Pmwiki-users] Re: Emacs and simultaneous edits

chr@home.se chr
Sun Oct 31 12:16:08 CST 2004


On Sun, 3 Oct 2004, Patrick R. Michaud wrote:

> One difference is that PmWiki v2.0 no longer supports ?action=post.
> Instead, use ?action=edit and make sure that the "post" control is set
> to non-zero (i.e., the same as if you did ?action=edit&post=1) -- this
> is what tells PmWiki that the operation is a post operation.
> 
> > Do you think it is at all possible for pmwiki-mode to use the same method
> > for saving to both v1.0 and v2.0?  
> 
> Yup, doing "action=edit" with "post=1" works under PmWiki 1.0 also.

Hi

Right now I can only edit existing pages using pmwiki-mode. If I try to 
create a new page, the emacs buffer shows this:

	<br />
	<b>Notice</b>:  Undefined index:  text in 
	<b>/home/chr/public_html/wiki/pmwiki.php</b> on line <b>1018</b><br />

and the response of the http-post action pasted at the end.

Any ideas? Does pmwiki-mode have to do something differently when trying 
to edit a page that does not already exist?

/Christian

<br />
<b>Notice</b>:  Undefined index:  HTTP_USER_AGENT in 
<b>/home/chr/public_html/wiki/pmwiki.php</b> on line <b>470</b><br />
<br />
<b>Notice</b>:  Undefined index:  HTTP_USER_AGENT in 
<b>/home/chr/public_html/wiki/pmwiki.php</b> on line <b>470</b><br />
<br />
<b>Notice</b>:  Undefined index:  HTTP_USER_AGENT in 
<b>/home/chr/public_html/wiki/pmwiki.php</b> on line <b>470</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent 
by (output started at /home/chr/public_html/wiki/pmwiki.php:470) in 
<b>/home/chr/public_html/wiki/pmwiki.php</b> on line <b>577</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent 
by (output started at /home/chr/public_html/wiki/pmwiki.php:470) in 
<b>/home/chr/public_html/wiki/pmwiki.php</b> on line <b>578</b><br />
<html><head>
      <meta http-equiv='Refresh' Content='0; 
URL=http://devel.satpoint.se/~chr/wiki/pmwiki.php/Spray/Brevmall1' />
     <title>Redirect</title></head><body></body></html>




-- 
Christian Ridderstr?m, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list