forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: zamirzamir on February 17, 2008, 07:44:51 am

Title: [Solved]: Fatal Error in the gallery.
Post by: zamirzamir 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.

Title: Re: Fatal Error in the gallery.
Post by: zamirzamir on February 17, 2008, 07:45:42 am
Pardon,

the link is www.adygaunion.com/gallery
Title: Re: Fatal Error in the gallery.
Post by: Joachim Müller 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.
Title: Re: Fatal Error in the gallery.
Post by: zamirzamir on February 20, 2008, 03:29:14 am
Thanks for your help, but my friend fixed it. One of my SQL tables went bad.
Title: Re: Fatal Error in the gallery.
Post by: zamirzamir 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 ?
Title: Re: Fatal Error in the gallery.
Post by: Joachim Müller 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.
Title: Re: Fatal Error in the gallery.
Post by: zamirzamir 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.
Title: Re: Fatal Error in the gallery.
Post by: Joachim Müller 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.
Title: Re: Fatal Error in the gallery.
Post by: zamirzamir 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
Title: Re: Fatal Error in the gallery.
Post by: Joachim Müller 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.
Title: Re: Fatal Error in the gallery.
Post by: zamirzamir 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.
Title: Re: Fatal Error in the gallery.
Post by: Joachim Müller 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.