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: A error  (Read 2541 times)

0 Members and 1 Guest are viewing this topic.

guabi

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
A error
« on: June 13, 2004, 11:20:44 am »

Hello, the photo album was working very well, but today it suddently show a error message : Fatal error :
There was an error while processing a database query

What should i do?

Thanks.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: A error
« Reply #1 on: June 13, 2004, 12:44:23 pm »

If you can get t your config page, by browsing direct to your config.php, turn on debug mode (at the bottom), and then try again.
If you cant, use your database tool to go to the config table, and change the debug_mode row from '0' to '1'.  Then revisit your gallery.

Post the info of the debug here.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

guabi

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: A error
« Reply #2 on: June 13, 2004, 02:18:31 pm »

I can go into the Config (function ) and set the Debug is On now. After that i run it again it shows the following :

While executing query "SELECT count(*) FROM cpg11d_pictures, cpg11d_albums WHERE cpg11d_pictures.aid = cpg11d_albums.aid AND category = 6 and cpg11d_pictures.aid NOT IN (51,50,45,46,47,48,52) " on 0

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

Now what should i do?
« Last Edit: June 13, 2004, 02:47:34 pm by guabi »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: A error
« Reply #3 on: June 14, 2004, 10:13:35 am »

possibly your mySQL database has been broken. Use the database repair tools (either from the command line if you have shell access) or with a tool like phpMyAdmin.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 14 queries.