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: error while processing a database query  (Read 6359 times)

0 Members and 1 Guest are viewing this topic.

stepclrk

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
error while processing a database query
« on: September 29, 2003, 11:15:46 am »

Hi Guys,

wonder if anyone can help me solve the following problem.

When I click on the Batch Upload I get the following error;

While executing query "SELECT aid, IF(username IS NOT NULL, CONCAT('(', username, ') ', title), CONCAT(' - ', title)) AS title FROM cpg_albums AS a LEFT JOIN nuke_users AS u ON category = (10000 + user_id) ORDER BY title"

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


Now the strange thing is that the first time I did the upload to a blank database it worked fine.  And it is only when I try to add another set of files to an album that I get this message.

I am runnung PHP-Nuke 6.9, with coppermine version 1.1D

The Debug information is;

USER:
Array
(
    [ID] => 7845b3d9f4a2d15c91db9a7a0798e167
    [am] => 1
)

 
GET :
Array
(
    [name] => coppermine
    [file] => searchnew
    [startdir] => Issey
)

 
POST :
Array
(
)



Has anyone come accross this before?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
error while processing a database query
« Reply #1 on: September 29, 2003, 11:21:38 am »

Should be a safe mode issue imho. Try to find out wether you're on a safe_mode host (look this up with phpinfo).

GauGau
Logged

stepclrk

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
error while processing a database query
« Reply #2 on: September 29, 2003, 12:13:16 pm »

As this is being hosted locally on my machine, I have full control over this setting.

But I have had the safe_mode set to both on and off.

But with the same results.
Logged

stepclrk

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
error while processing a database query
« Reply #3 on: September 29, 2003, 05:06:41 pm »

The problem ony seems to occur when I have more than 1 Album.

If I have 1 Album listed, I can upload as many files as I want whenver I want, however as soon as I add another album this error occurs.

Any Ideas?
Logged

ArniesAirsoft

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
error while processing a database query
« Reply #4 on: September 29, 2003, 08:41:42 pm »

It's possible the table is corrupt I get errors similar to QL error: Can't create/write to file '/root/tmp/#sql_f60_0.MYI' (Errcode: 13)  if the table is damaged in some way. Have you tested the table you are trying to write to (cpg_albums) for integrity?
Logged
Webmaster ArniesAirsoft.co.uk

nautis

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
error while processing a database query
« Reply #5 on: October 01, 2003, 09:51:36 pm »

i am having the same problem. works the first time, but after that i am getting a database error.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 14 queries.