getting an error on your gallery getting an error on your gallery
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

getting an error on your gallery

Started by LadyAnna, March 10, 2006, 01:31:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LadyAnna

I'm trying to view the larger image in: Themes > User-contributed themes
and all I get is this, for all tested (about everyone I think) " There was an error while processing a database query "

Dunno if its known to you or not, so I fgured I'd tell just in case you dont know already

Abbas Ali

Confirming that this is happening on displayimage.php for all albums in the demo gallery....

@Joachim: Could you please look into it.
Chief Geek at Ranium Systems

Joachim Müller

I wasn't able to replicate in the first place - everything worked for me as expected both in IE and FF, both logged in as admin or as guest. Then I tried loging in as non-admin user and got the error message you reported, so I enabled debug_output. This showed that one of the tables had been broken:
QuoteWhile executing query "INSERT INTO cpg140_hit_stats
                          SET
                            pid = 68,
                            search_phrase = '',
                            Ip   = '84.172.100.74',
                            sdate = '1141982565',
                            referer='http://coppermine-gallery.net/demo/cpg14x/thumbnails.php?album=20',
                            browser = 'Microsoft Internet Explorer 6.0',
                            os = 'Windows 2000'" on 0

mySQL error: Can't open file: 'cpg140_hit_stats.MYI'. (errno: 144)
, so I went into phpMyAdmin and executed the query repair table cpg140_hit_statsas suggested in the thread "Typical Error: Can't open file: 'cpg131_pictures.MYI'. (errno: 145)".

Thanks for your reports, issue solved.