Re: urlencode error on new notes?

"Marc G. Fournier" <[email protected]> Wed, 12 May 2004 12:07:24 -0300 (ADT)
Newsgroups gmane.comp.horde.mnemo
Message-ID <[email protected]>
On Wed, 12 May 2004, Jan Schneider wrote:

> Zitat von "Marc G. Fournier" <[email protected]>:
>
> > On Wed, 12 May 2004, Jan Schneider wrote:
> >
> >> Zitat von "Marc G. Fournier" <[email protected]>:
> >>
> >> > <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();" />&nbsp;
    <?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: [email protected]           Yahoo!: yscrappy              ICQ: 7615664
-- 
Mnemo mailing list - Join the hunt: http://horde.org/bounties/#mnemo
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]