Maybe the third parameter should be SET_SEEK instead of "SEEK_SET".
http://php.net/manual/en/function.fseek.php

I don't know php though...

On Wed, Jun 2, 2010 at 9:20 AM, BOUTROUILLE PASCAL
<[email protected]> wrote:
> Hello
>
>
>
>
>
> I have the error below on the ossec server  :
>
> [Wed Jun 02 15:10:51 2010] [error] [client 10.133.125.23] PHP Warning:
> fseek() expects parameter 3 to be long, string given in
> /var/www/ossec/lib/os_lib_alerts.php on line 842
>
> [Wed Jun 02 15:12:21 2010] [error] [client 10.133.125.23] PHP Warning:
> fseek() expects parameter 3 to be long, string given in
> /var/www/ossec/lib/os_lib_alerts.php on line 842
>
> [Wed Jun 02 15:13:52 2010] [error] [client 10.133.125.23] PHP Warning:
> fseek() expects parameter 3 to be long, string given in
> /var/www/ossec/lib/os_lib_alerts.php on line 842
>
>
>
> The line is :
>
> fseek($fp, $seek_place, "SEEK_SET");
>
>
>
> what is it ?
>
>
>
> thank you

Reply via email to