coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: EveoftheWarcom on August 06, 2006, 11:01:05 AM

Title: Guests cannot get full size images after clicking thumnails?
Post by: EveoftheWarcom on August 06, 2006, 11:01:05 AM
Hi,

This problem sort of came out of the blue for us. On my coppermine gallery the guests cannot view any of the images. It comes up saying this;

"There was an error while processing a database query "

http://forums.eveofthewar.com//photos/ If you click any thumbnail on my gallery you will see the same problem.

I've already checked the user setting in config and they seem fine.

We upgraded months ago and have not really had this problem before.

If anyone could point me in the right direction in how to get this problem fixed i would be massively grateful.

Thanks

Anthony
Title: Re: Guests cannot get full size images after clicking thumnails?
Post by: Nibbler on August 06, 2006, 12:16:17 PM
Enable debug mode and post the mysql error message you get when you replicate the error.
Title: Re: Guests cannot get full size images after clicking thumnails?
Post by: EveoftheWarcom on August 06, 2006, 01:42:25 PM
Here is the message;
(Note: i can view full size images, but visitors can't)

USER:
------------------
Array
(
    [ID] => 32299447922e8b2000e1007ec1fa9dd5
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Guests cannot get full size images after clicking thumnails?
Post by: Nibbler on August 06, 2006, 01:56:03 PM
You need to replicate the error and post the mysql error message.
Title: Re: Guests cannot get full size images after clicking thumnails?
Post by: Joachim Müller on August 06, 2006, 01:59:32 PM
This means: don't post the debug_output, but the actual mysql error you get.
Title: Re: Guests cannot get full size images after clicking thumnails?
Post by: EveoftheWarcom on August 06, 2006, 02:09:23 PM
Oops  ;D

Is this the one you mean?

While executing query "INSERT INTO cpg132_hit_stats
                          SET
                            pid = 5240,
                            search_phrase = '',
                            Ip   = '81.77.87.120',
                            sdate = '1154866115',
                            referer='http://forums.eveofthewar.com//photos/index.php',
                            browser = 'Microsoft Internet Explorer 6.0',
                            os = 'Windows XP'" on 0

mySQL error: Can't open file: 'cpg132_hit_stats.MYI'. (errno: 145)

Anthony
Title: Re: Guests cannot get full size images after clicking thumnails?
Post by: Nibbler on August 06, 2006, 02:11:47 PM
That's the one. You need to either repair the table yourself using phpmyadmin or ask your host to fix it for you.

http://forum.coppermine-gallery.net/index.php?topic=10409.0

Also update your gallery.
Title: Re: Guests cannot get full size images after clicking thumnails?
Post by: EveoftheWarcom on August 06, 2006, 02:53:59 PM
Quote from: Nibbler on August 06, 2006, 02:11:47 PM
That's the one. You need to either repair the table yourself using phpmyadmin or ask your host to fix it for you.

http://forum.coppermine-gallery.net/index.php?topic=10409.0

Also update your gallery.

Cheers, but whats phpmyadmin?

Anthony
Title: Re: Guests cannot get full size images after clicking thumnails?
Post by: Nibbler on August 06, 2006, 02:59:37 PM
It's a script for working with mysql databases. It is commonly preinstalled by webhosts and can be obtained from phpmyadmin.net if not.
Title: Re: Guests cannot get full size images after clicking thumnails?
Post by: Joachim Müller on August 06, 2006, 03:01:47 PM
Tools recommended by the devs: phpMyAdmin (http://forum.coppermine-gallery.net/index.php?topic=31423.msg145472#msg145472). In the future, search before asking questions. Googling would have told you as well.
Title: Re: Guests cannot get full size images after clicking thumnails?
Post by: EveoftheWarcom on August 06, 2006, 03:05:09 PM
Fixed now thanks  ;D. I just had to go into the controll panel, then MySQL and press repair.

Thanks again.

Anthony