[mnemo] urlencode error on new notes?
    Marc G. Fournier 
    scrappy at hub.org
       
    Wed May 12 08:07:24 PDT 2004
    
    
  
On Wed, 12 May 2004, Jan Schneider wrote:
> Zitat von "Marc G. Fournier" <scrappy at hub.org>:
>
> > On Wed, 12 May 2004, Jan Schneider wrote:
> >
> >> Zitat von "Marc G. Fournier" <scrappy at hub.org>:
> >>
> >> > <b>Warning</b>:  urlencode() expects parameter 1 to be string, object
> >> > given in <b>/usr/local/share/pear/Horde/Util.php</b> on line
> >> > <b>178</b><br />
> >>
> >> Might help if you'd tell us when exactly this shows up.
> >
> > When you click on 'New Note' ...
>
> Can't reproduce this here.
If I comment out:
  <td>
    <input type="submit" class="button" value="<?php echo _("Save") ?>" onclick="return checkCategory();" /> 
    <?php
    $memourl = Util::addParameter('memo.php', 'memo', $memo_id);
//    $memourl = Util::addParameter($memourl, 'memolist', $memolist_id);
    if ($memo_id):
the error goes away ...
  I've checked all my config files, to make sure they are up to date, and
everything appears fine ... and I updated my framework before putting the
demo live ...
  If I add code to Util.php to display the parameter/value pairs, I'm
getting:
  memo =
memolist = Object
Warning: urlencode() expects parameter 1 to be string, object given in /usr/local/share/pear/Horde/Util.php on line 179
  Should memo have a value:
<form method="post" name="memo" enctype="multipart/form-data" action="/mnemo/memo.php">
<input type="hidden" name="actionID" value="104" />
<input type="hidden" name="memo" value="" />
<input type="hidden" name="new_category" value="" />
<input type="hidden" name="memolist_original" value="Object" />
----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664
    
    
More information about the mnemo
mailing list