[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] File change



> >
> > Every so often, the text file seems to be set back to zero -
> > yesterday the counter on the site read 121729, today it read
> > 167.  I edit it to reflect the number it should be reading
> > then a week or two later it is set back to zero.
> >
> > Any ideas please?
>
> My guess would be there is something in the CGI script doing that, but
> nothing to do with a RaQ specifically unless the text file happens to be
> in a directory that a cron affects.
> -- 

possibly a problem with integer size? i'm not a CGI expert but i know in
mysql/php you can have problems with integer size.
for example, INT(3) will only store 0 to 255 or -127 to 127.

worth checking. it sounds like it might be resetting at 127000 or
thereabouts.

andy