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: There was an error while processing a database query  (Read 5562 times)

0 Members and 1 Guest are viewing this topic.

Flipper01

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Ibn Battuta
There was an error while processing a database query
« on: January 23, 2004, 06:48:04 pm »

When I want to upload my images to a specified album I get the error:
There was an error while processing a database query

Does anyone know what my problem is and how to solve it??

Nibbler

  • Guest
There was an error while processing a database query
« Reply #1 on: January 23, 2004, 07:12:43 pm »

That is a very general message, we need more information before we can help you. Please turn on debug mode in the config, repeat the error and post the full error message. It is also a good idea to give us a link, and also a test account with which we can duplicate the problem for ourselves. If you do this you will get a much better response and your problem will be resolved more quickly.

Thankyou.
Logged

Flipper01

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Ibn Battuta
Error mesage:
« Reply #2 on: January 23, 2004, 07:27:50 pm »

While executing query "SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg11d_albums as a, cpg11d_categories as c WHERE a.category = c.cid AND a.category < '10000' ORDER BY title" on 0

mySQL error: Can't create/write to file '/root/tmp/#sql_80c_0.MYI' (Errcode: 13)


File: /home/ibn/website/fotoalbum/cpg1.2.0final/include/functions.inc.php - Line: 105

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
There was an error while processing a database query
« Reply #3 on: January 24, 2004, 11:10:42 am »

turn silly_safe_mode on for a start (refer to the documentation that comes with coppermine how to do this).

GauGau
Logged

Flipper01

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Ibn Battuta
There was an error while processing a database query
« Reply #4 on: January 24, 2004, 02:10:24 pm »

I've tried a lot of things, but I keep getting an error :(

Only this time:
Quote
While executing query "SELECT aid, IF(user_name IS NOT NULL, CONCAT('(', user_name, ') ', title), CONCAT(' - ', title)) AS title FROM cpg11d_albums AS a LEFT JOIN cpg11d_users AS u ON category = (10000 + user_id) ORDER BY title"

mySQL error: Can't create/write to file '/root/tmp/#sql_80c_0.MYI' (Errcode: 13)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
There was an error while processing a database query
« Reply #5 on: January 24, 2004, 02:16:56 pm »

"MYI" is the actual file name of your mySQL database (do not try to fiddle with the file unless you really know what you're doing).
Instead, take a look at the repair tools of mySQL, seems as if your mySQL database is broken: http://www.mysql.com/doc/search.php?q=repair&from=%2Fdoc%2Fen%2Findex.html&lang=en

GauGau
Logged

Flipper01

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Ibn Battuta
There was an error while processing a database query
« Reply #6 on: January 24, 2004, 03:25:31 pm »

I think I found the problem... I didn't install GD on my server  :oops:

I'll ask the administrator if he can do this and then I'll trie it again..

Flipper01

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Ibn Battuta
Error after adding 2nd album
« Reply #7 on: January 28, 2004, 05:41:33 pm »

I'm totally confused, I've tried to install coppermine several times, but it keeps getting jammed.. :(

The last thing I tried was installing cpg1.2, I created 1 album and uploaded some pictures, no problem. Then I created a 2nd album en tried to batch upload some more pics, but then I got this error:
Quote

While executing query "SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg11d_albums as a, cpg11d_categories as c WHERE a.category = c.cid AND a.category < '10000' ORDER BY title" on 0

mySQL error: Can't create/write to file '/root/tmp/#sql_80c_0.MYI' (Errcode: 13)


I really hope someone can help me with this cause I've spend lots of hours to install GD, imagemagick and cpg and really want it to work with me now.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
There was an error while processing a database query
« Reply #8 on: January 28, 2004, 08:39:50 pm »

you asked the very same question on another thread, so I moved your new thread to the existing one.

GauGau
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
There was an error while processing a database query
« Reply #9 on: January 28, 2004, 11:25:22 pm »

Have you verified that MySQL is functioning correctly outside of CPG?
Logged
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Flipper01

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Ibn Battuta
There was an error while processing a database query
« Reply #10 on: January 28, 2004, 11:43:15 pm »

Quote from: "hyperion"
Have you verified that MySQL is functioning correctly outside of CPG?

I am running phpBB and that seems to work fine, I also have some other programs using MySQL on my website and they work fine to..

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
There was an error while processing a database query
« Reply #11 on: January 29, 2004, 07:58:11 am »

did you try the repair commands?

GauGau
Logged

Flipper01

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 38
    • Ibn Battuta
There was an error while processing a database query
« Reply #12 on: January 29, 2004, 10:56:19 am »

Quote from: "gaugau"
did you try the repair commands?

GauGau

Yes I did. but it didn't work..
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 18 queries.