Sounds like your script has somehow gotten screwed up.
I have close to 10,000 galleries waiting for review over at my TGP so I doubt that it has anything to do with having a lot of galleries waiting for review.
Have you changed anything, has your server been upgraded, what is different today then it was yesterday?
If you go to your server's control panel is MySQL running?
|