Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Undefined Index?  (Read 5855 times)

0 Members and 1 Guest are viewing this topic.

willstein

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
    • mansei
Undefined Index?
« on: November 29, 2005, 03:37:18 am »

I havent touched it in about a week.
This came up randomly...

any ideas?

Code: [Select]
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


Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Undefined Index?
« Reply #1 on: November 29, 2005, 03:51:18 am »

What version are you running?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

willstein

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
    • mansei
Re: Undefined Index?
« Reply #2 on: November 29, 2005, 05:20:25 am »

1.3.4
Logged

willstein

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
    • mansei
Re: Undefined Index?
« Reply #3 on: November 29, 2005, 05:21:11 am »

This error also comes up with fetch:

Code: [Select]
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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Undefined Index?
« Reply #4 on: November 29, 2005, 05:25:12 am »

Have you made any modifications recently?  Has you host done anything recently?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Nibbler

  • Guest
Re: Undefined Index?
« Reply #5 on: November 29, 2005, 10:41:35 am »

That would be a limit on the number of db queries you are permitted to run per hour set by your host.
Logged

willstein

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
    • mansei
Re: Undefined Index?
« Reply #6 on: November 29, 2005, 02:27:54 pm »

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?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Undefined Index?
« Reply #7 on: December 02, 2005, 06:20:01 am »

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
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.