PDA

View Full Version : awstats update returns blank page.


glampe
11-13-03, 10:17 AM
I had problem running perl for about the past week like many others. It seems to be fixed now, but now when I try to update my stats, all I get back in a blank screen. Viewing the source it shows it stops at the body.

Anyone have any ideas?

stevel
11-13-03, 12:26 PM
I had this problem when I botched updating my copy of awstats, and had mixed file versions. Try re-uploading a consistent set of files.

glampe
11-13-03, 01:21 PM
I just gave that a try and it didn't work. :(

awstats does create a tmp file for the statistics, but I think that's where it fails.

If I set it to use a log already processed, the it does return a page. So it must be having problems processing.

glampe
11-13-03, 01:39 PM
Still trying to solve my problem.

I deleted the directory where I store my data. Recreated it and started processing my logs. Things were working and I thought I had my problem fixed, but after about the 4 or 5 log file it stopped again.

I noticed the awstats112003.txt was about 440K. That was about the same size my old one was. Maybe I am hitting a new file size limit? My previous months files ranged between 3 and 7 meg.

(Update)
It does seem to be a file size thing. I deleted some lines from the file making it about 330K and tried updating and it worked. The file increased to about 450K, then the next update failed.

transgenik
11-14-03, 08:32 AM
Glampe, you describe perfectly a problem that I'm having this week with awstats, which worked flawlessly last week (apart from the day where my logs were empty - but this was an issue with the logs, not awstats).

Since Monday, my awstats haven't automatically updated during the night (it did last week) and even when I try to automatically update, I get a blank page just as you do. I managed to get some stats after changing my access_log.1 to access_log.2 or access_log and back again to access_log.1, with sometimes having it working, but most of the time, not. I gues that changing to a different log reduces the file size, just as you tested, and this is why it sometimes work...

So I understand that you put the finger on the problem, but is there a solution? :(

glampe
11-14-03, 10:51 AM
I just e-mailed tech support with the information. I always like to see others having the same problem I am before sending a message.

stevel
11-14-03, 11:36 AM
It could be that the process running awstats was killed because it was taking too much time. I haven't had this problem myself, but my site activity is relatively modest (250 visitors, 1650 page views, 10000 hits a day).