forum.coppermine-gallery.net
Support => Older/other versions => cpg1.3.x Support => Topic started by: willstein on November 29, 2005, 03:37:18 am
-
I havent touched it in about a week.
This came up randomly...
any ideas?
Notice: Undefined index: debug_mode in /home/stfusaco/public_html/gallery/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query
-
What version are you running?
-
1.3.4
-
This error also comes up with fetch:
User 'stfusaco_photo' has exceeded the 'max_questions' resource (current value: 50000)
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/stfusa/public_html/fetch/cpmfetch_dao.php on line 710
-
Have you made any modifications recently? Has you host done anything recently?
-
That would be a limit on the number of db queries you are permitted to run per hour set by your host.
-
No I did not make any changes recently.
It looks like the site is back up.
50,000 queries/hour seems like a lot.
What are the major query hogs?
I think I read some where that it could be reduced by deleting the "Overall hits" statistic.
Any suggestions to reduce DB queries?
-
not really, the stats just need lots of resources (when you have a huge gallery, pics, users, comments). but it's 'only' 3-4 queries per index load
But if you don't need the stats you can remove them