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: Need help with new error  (Read 9127 times)

0 Members and 1 Guest are viewing this topic.

insecure x blue

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Need help with new error
« on: April 27, 2006, 10:34:34 pm »

Well the other day I said I had a database error and was told to ask my host well the reset it from me and a new error for my gallery has now popped up and said you guys might be able to help me. So can someone tell me what can be done to fix this.
It's what I get when trying to view my gallery

Notice: Undefined index: debug_mode in /home/buttafly/public_html/gallery/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query
« Last Edit: May 01, 2006, 10:10:55 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Need help with new error
« Reply #1 on: April 28, 2006, 12:29:33 am »

enable debug mode in coppermine's config to get the actual query that fails and post it here (do not post the debug output, but the error message).
Logged

insecure x blue

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Need help with new error
« Reply #2 on: April 28, 2006, 01:52:28 am »

How do I get to that? I would've tried that but when I access the gallery all I get is a white page with the error:
http://www.yearofchasez.net/gallery/

Is there is some admin link I would know of or something of the like?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Need help with new error
« Reply #3 on: April 28, 2006, 08:20:20 am »

use phpMyAdmin, browse coppermine's config table and set debug_mode to "1"
Logged

insecure x blue

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Need help with new error
« Reply #4 on: April 28, 2006, 08:26:16 am »

I'm greatly confused because the only table's I see are:

  cpg_banned
  cpg_ecards
  cpg_exif
  cpg_filetypes
  cpg_temp_data

And no where I see this debug setting.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Need help with new error
« Reply #5 on: April 28, 2006, 08:28:54 am »

there's no table named cpg_config? Then that's the reason for your issues. Restore it from your backup.
Logged

insecure x blue

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Need help with new error
« Reply #6 on: April 28, 2006, 08:31:54 am »

Wait do I create a new table? When my host did a back up restoral for me this is what they told me they recovered whatever is there. I'm getting so lost on this technical stuff.. sorry.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Need help with new error
« Reply #7 on: April 28, 2006, 08:37:11 am »

that's not enough. Is your table cpg_pictures missing as well? I get the impression that your webhost only partially restored your database. There's little you can do if you can't restore all missing tables. Creating fresh tables will not be helpful, as they would be empty.
Logged

insecure x blue

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Need help with new error
« Reply #8 on: April 28, 2006, 08:39:09 am »

Ok.. I'll go back an contact them to see what the can do thanks. If not it looks like somehow mysteriously I just lost the gallery when I did nothing to it overnight a week ago :\
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Need help with new error
« Reply #9 on: April 28, 2006, 09:45:11 am »

If you can't get a full recovery, I guess you would need to do a full installation, then import the pictures, albums, categories tables into the new installation. And probably the users/members table. There may be more that needs to be imported to make your gallery the way it was before. To prevent complications, I would suggest installing v 1.3.5, import, make sure that it works, then upgrade to 1.4.5.
Logged

insecure x blue

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Need help with new error
« Reply #10 on: April 29, 2006, 08:38:53 am »

The thing is I don't have any of those tables unfortunately to import. I guess all is lost. :(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Need help with new error
« Reply #11 on: April 30, 2006, 09:54:26 am »

probably yes. Do as Thu suggested then: do a fresh install (using the most recent stable version, which is currently cpg1.4.5). Then re-add all your pics using batch-add
Logged

insecure x blue

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Need help with new error
« Reply #12 on: May 01, 2006, 03:48:11 am »

That's alright. I'm pissed and annoyed it took me a while for the pics I had and I'll never have time to re-add those and the many thousand more I was currently adding. And this stupid new version of your gallery is ticking me off. Every page I load it keeps "logging me off" and it's driving me nuts. I think I may have to find a new gallery once again :\
Logged

Nibbler

  • Guest
Re: Need help with new error
« Reply #13 on: May 01, 2006, 09:05:57 am »

Make a new thread about your issue and request support then.
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 20 queries.