[pmwiki-users] Problem including counter (Hans- Peter Walther)

john.rankin at affinity.co.nz john.rankin at affinity.co.nz
Fri Jun 20 15:44:35 CDT 2008

> Date: Fri, 20 Jun 2008 18:06:11 +0200
> From: Hans- Peter Walther <hp.walther at gmx.de>
> Subject: Re: [pmwiki-users] Problem including counter
>> But if I try to get it working at the Webspace I get the
>> Error:
>> Warning: Wrong parameter count for fgets()
>> in /mnt/web2/11/81/5219581/htdocs/pmwiki/local/counter.php on
>> line 18

I encountered this message when using the notify script on a hosting
service running an old version of php. Does the fgets call contain a
second parameter? If not, try adding , 1024 (comma space 1024)
to the fgets call.

That fixed my problem. YMMV.

John Rankin

More information about the pmwiki-users mailing list