#68 Make sure stats file exists

Current_Release
closed
Code/Logic (49)
5
2012-09-15
2004-03-10
No

By: xbear

Hi i have the following error when click in stats link.

YaWPS 0.70 Fatal Error YaWPS has exited with the
following error:

Illegal division by zero

This error was reported at:
/var/www/cgi-bin/yawps/stats.cgi line 199.

Please inform the webmaster if this error persists.

How can i fix it ????

By: nobody

I had this problem, it's due to a permission problem of
the db-directory...
please make sure that the webserver user can read/write
into this folder.

The error occurs if the stats db-file isn't created.

Hope this helps...

Discussion

  • Adrian Heissler

    Adrian Heissler - 2004-03-21

    Logged In: YES
    user_id=294842

    The error also occurs if you are accessing YaWPS from
    localhost (see yawps.pm, sub access_log).
    I've created a quick and dirty patch to fix this problem.

     

Log in to post a comment.