Closed bobl61 closed 8 months ago
That's a weird one. Going to run some tests, I'll get back to you shortly.
That's a weird one. Going to run some tests, I'll get back to you shortly.
Okay, thanks.
Ok, I reinstalled PS from scratch, with the cstrikes module, ran stats.pl on the logs you sent me, through sftp. This is what I got.
One thing I noticed pretty quickly from that error log you posted, it took three seconds to parse the logs. Unless you only had one log file in that folder, that's impossibly fast. Did you enter the correct source? Do you actually have the game logs you are trying to parse in that folder?
I know back in the day there was "log cleaner" software, which would remove all the irrelevant entries from logs to make them parse faster, but they can cause problems, especially if they aren't functioning properly. You wouldn't happen to be using some software like that would you?
Ok, I think I may know what's going on. You need to delete all the stats, using that option in the Manage page of the Admin CP, then run stats.pl again. If that doesn't work, you need to reinstall PS from scratch and drop and recreate the database. Something is wrong with your database. That "Optimizing database tables ..." entry in your logs is an error that indicates you are trying to run stats.pl when you've manually deleted data from your database, not using the Admin CP functionality.
It's typically a bad idea to go into the database and try to edit it, or delete data/truncate tables, unless you really, really know what you are doing.
It must have been a database issue. When I first did the reinstall, I didn't drop the database, I just dropped all the tables. I tried deleting all the stats via Admin, running stats.pl again, but got the same result. I dropped the database, created a new one, reinstalled, ran the stats again, and it looks okay now.
I'm going to take a look at those database options on install. I'm glad it's working for you again.
The Google map is now working. Great job!
Hey, you got that working! Congratulate yourself! I found getting that Google Maps API key a little confusing and frightening...
But yes, that Google Maps functionality is actually pretty cool, and it was a challenge to sort it out. Nice to see it being used.
Going to keep this open at least until I get a chance to look at the database options during the install.
Closing.
Yeah...it's me again. Okay, so I completely deleted ALL the PS files. I reinstalled PS with the latest files (I see the cookie issue has been addressed for non https sites). I parsed the logs last night. I saw that all the players were ranked #1. The stats ran again this morning at 9 AM. All the players are still ranked #1.