[pmwiki-users] ZAP demo's working better

The Editor editor at fast.st
Thu Oct 12 20:25:40 CDT 2006


On 10/12/06, Kathryn Andersen <kat_lists at katspace.homelinux.org> wrote:
> On Thu, Oct 12, 2006 at 08:55:15AM -0400, The Editor wrote:
> > On 10/12/06, The Editor <editor at fast.st> wrote:
> > > On 10/12/06, Kathryn Andersen <kat_lists at katspace.homelinux.org> wrote:
>
> > > > Warning: htmlspecialchars() expects parameter 1 to be string, array
> > > > given in /home/fastst/public_html/zap/scripts/pagelist.php on line 442
>
> > err, I do get the message when I submit the form.
>
> Sorry, yes, I forgot to mention that it happened when I submitted the
> form.
>
> > But not on my home machine.  Any thoughts why the pagelist error Pm?
>
> It sounds similar to another error I got earlier with 2.2-beta, related
> to uploads, which had to do with the difference between PHP4 and PHP5 --
> do you know which version of PHP is being run on that site?
>
> Kathryn Andersen



I have php 4.4.4 on my server (linux). Where I get the error message.

I have php 4.4.2 on my home machine (windows). Where I don't get the error.

Any suggestions anyone?  It's quite frustrating as this is a very nice
feature with many applications...

If it helps, here is what is happening.  There is a form with multiple
checkboxes each given the name Test[].  When the form is passed, it
sends an array. Thus the problem.  PHP is supposed to handle the
array, and ZAP converts it into a CSV string.  What pagelist has to do
with it I have no clue.

Cheers
Caveman




More information about the pmwiki-users mailing list