Advanced search  

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

Pages: [1]   Go Down

Author Topic: Critical error: There was an error while processing a database query  (Read 4187 times)

0 Members and 1 Guest are viewing this topic.

Jamie Lee

  • Coppermine newbie
  • Offline Offline
  • Posts: 14

Hello. I keep getting the following error from my 1.2.1 gallery;

Quote
Critical error

There was an error while processing a database query

I had put in an extra text field in the picture info. Then, I went to edit one of my separate galleries. I set the amount of shown pictures to 100, then began to fill in the new field on each picture, also deciding to remove the search engine words. When I hit the submit button to save these changes, I started receiving this error. It occurs on all album pages, last uploads, most viewed, top rated, last uploads, users and my profile. I have no idea what could have happened or what I could do to fix this problem, as even my admin controls are giving me this error.

The URL for my gallery is: http://www.shatteredmoonlight.com/artgallery/
« Last Edit: January 02, 2005, 02:27:23 pm by GauGau »
Logged

Nibbler

  • Guest
Re: Critical error: There was an error while processing a database query
« Reply #1 on: January 01, 2005, 12:19:59 am »

Find your coppermine config table in your coppermine database using a database admin tool such as phpmyadmin and switch the 'debug mode' field to '1'. Then you should get a more detailed error message. If you cannot solve it with this new knowledge, post the mysql error message here.
Logged

Jamie Lee

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Critical error: There was an error while processing a database query
« Reply #2 on: January 01, 2005, 01:56:45 am »

I'm looking in my phpmyadmin, but I have no idea what I'm looking for or what I'm doing. My website service automatically installed the gallery system for me, so I've never worked with a SQL database before.

I assume though that what I'm looking for is "cpg11d_config"? I clicked it but I see no "debug mode" field.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Critical error: There was an error while processing a database query
« Reply #3 on: January 01, 2005, 12:22:33 pm »

you're probably looking at the structure of the config table, click on "browse" instead to see the actual content.

Joachim
Logged

Jamie Lee

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Critical error: There was an error while processing a database query
« Reply #4 on: January 02, 2005, 08:50:52 am »

Thank you.

Alright, I have the detailed error message now, but it's not making sense to me.

Here's the complete message:

Quote
While executing query "SELECT count(*) FROM cpg11d_pictures, cpg11d_albums WHERE cpg11d_pictures.aid = cpg11d_albums.aid AND category >= 10000" on 0

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



File: /home/s8164534/public_html/artgallery/include/functions.inc.php - Line: 105
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Critical error: There was an error while processing a database query
« Reply #5 on: January 02, 2005, 08:59:48 am »

Search the forums for the .myi message.  This is a MySQL issue, and I posted the fix for this.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Jamie Lee

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Critical error: There was an error while processing a database query
« Reply #6 on: January 02, 2005, 11:40:14 am »

That worked. Thank you all for your help!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.