Major crisis!!
This morning, a user called me and said that they were getting a MySQL connection error. Well, she didn't know that that was what it was, but when she read it to me, I knew what it was. I figured it was simple and an email to the webhost would bring everything back online.
Didn't get so lucky, when everything came online, there were some major issues. For some reason, the code that logs each pageview, code that hasn't been touched since before v1.0 didn't work anymore. MySQL didn't like the date format anymore. So I fixed that and was able to get in only to find out that it the DJINFOTEMP table, the table that stores the edits to DJ contact information before they are approved, could not be accessed. MySQL said that it didn't exist when I tried to access it, but wouldn't allow me to recreate the table because it already existed. When I tried to drop it, MySQL said it didn't exist. What the hell!?!?!
It didn't seem like any other tables were corrupted or suffered any data loss, though I did nearly have a heartattack in fear that they might have. My last backup of the database was taken way back on 7/16.
For the time being, I disabled the code that accesses that table because it was barring programming and full permission people from getting into ELCRo. I figured that would be alright for the time being since everything else seemed fine. I did a quick little test in some of the stuff and it seemed fine until I did a music search. I am getting an error that DJcollege is an unknown column now. I don't know why. The column is there and this code always worked before. I can't find any issues in the database relating to this either, but it's a MySQL error.
More updates to come as I have them.
During all of this, I made a few fixes and am releasing v3.0.1. I'll have to do another release this week for the updates that I was planning on doing today.
v3.0.1
- Removed insert log link from menu
- Changed the way that the page view log is updated with the timestamp
- Added page logging to the log combination tool and to program log header edits.