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: [Solved]: Fatal Error in the gallery.  (Read 4164 times)

0 Members and 1 Guest are viewing this topic.

zamirzamir

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
[Solved]: Fatal Error in the gallery.
« on: February 17, 2008, 07:44:51 am »

Hello,

My web host (bluehost) did some sort of security update on the server and since that moment my gallery does not work. Unfortunately I have no idea where even to start looking for the problem. all the files are there, but nothing works.
I have contacted the provider, but they said it's not really their consern, since it was a third party application.
Gallery was updated to latest version.
Here is the link if you want to take a look www.adygaunion.com.gallery

PLease advice on where to start looking for the problem.

« Last Edit: February 21, 2008, 05:35:12 pm by Joachim Müller »
Logged

zamirzamir

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Fatal Error in the gallery.
« Reply #1 on: February 17, 2008, 07:45:42 am »

Pardon,

the link is www.adygaunion.com/gallery
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Fatal Error in the gallery.
« Reply #2 on: February 17, 2008, 02:10:13 pm »

Enable debug mode in coppermine's config if you can access it. If not, enable it manually as suggested in http://coppermine-gallery.net/tutorial/debug_mode.php
This should give you an advanced error message that tells you what actually goes wrong. Post the error message (not the debug_output) here.
Logged

zamirzamir

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Fatal Error in the gallery.
« Reply #3 on: February 20, 2008, 03:29:14 am »

Thanks for your help, but my friend fixed it. One of my SQL tables went bad.
Logged

zamirzamir

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Fatal Error in the gallery.
« Reply #4 on: February 21, 2008, 06:17:17 am »

Nother problem came up. When I try to open any image this message comes up

There was an error while processing a database query


What should i do next ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Fatal Error in the gallery.
« Reply #5 on: February 21, 2008, 07:38:38 am »

The very same advice I posted above applies:
Enable debug mode in coppermine's config if you can access it. If not, enable it manually as suggested in http://coppermine-gallery.net/tutorial/debug_mode.php
This should give you an advanced error message that tells you what actually goes wrong. Post the error message (not the debug_output) here.
Logged

zamirzamir

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Fatal Error in the gallery.
« Reply #6 on: February 21, 2008, 08:38:16 am »

I ran debug mode for administrator. No error message was in the output.
While logged in I could click and see images full size.
As soon as I log out , only thumbnails are availible and the critical error message appears when I click on images.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Fatal Error in the gallery.
« Reply #7 on: February 21, 2008, 08:51:26 am »

Let me repeat: enable debug_mode for everyone, then try to replicate the error message. Post a link to the page that displays the error message.
Logged

zamirzamir

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Fatal Error in the gallery.
« Reply #8 on: February 21, 2008, 09:07:18 am »

While executing query "INSERT INTO cpg133_hit_stats
                          SET
                            pid = 10552,
                            search_phrase = '',
                            Ip   = '*.*.*.*',
                            sdate = '1203581138',
                            referer='http%3A%2F%2Fwww.adygaunion.us%2Fgallery%2Findex.php',
                            browser = 'Unknown',
                            os = 'Windows XP'" on 0

mySQL error: Table 'adygauni_coppermine.cpg133_hit_stats' doesn't exist
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Fatal Error in the gallery.
« Reply #9 on: February 21, 2008, 09:15:46 am »

The error message should be pretty self-explanatory, don't you agree? The table doesn't exist. I have run update.php for you - check if this solves your issues, i.e. if the missing table has been created. If it hasn't been created, review the permissions of your mysql user account.
Logged

zamirzamir

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: Fatal Error in the gallery.
« Reply #10 on: February 21, 2008, 09:55:01 am »

the problem did get solved after your update, now I can return to my work. Soon will be moving the gallery to a better hosting provider, this host caused a lot of issues in all php applications on the site and they refused to help solve them.
Thank you for help Admin.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Fatal Error in the gallery.
« Reply #11 on: February 21, 2008, 05:34:57 pm »

The issues you had have most likely not been caused by your webhost. You can't expect your webhost to solve issues with third party apps for you. Imo you ask a bit much from your webhost - something that you won't find someplace else, so your move might not solve your PEBKAC-issues. Your webhost may or may not be bad, but I just wanted to let you know that this sort of webhost-bashing doesn't sound very wise. It appears that you (or something that you're responsible for, like an application update) have made a mistake imo.
Logged
Pages: [1]   Go Up
 

Page created in 0.098 seconds with 20 queries.