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: Critical Error with DB Query  (Read 6812 times)

0 Members and 1 Guest are viewing this topic.

cessam

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Critical Error with DB Query
« on: August 13, 2007, 01:34:14 am »

I just have upgraded from 1.3 to 1.4 and am getting a Critical Error.
There was an error while processing a database query

While executing query "SELECT * FROM copperminepictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8" on 0

mySQL error: Can't create/write to file '/var/tmp/#sql_131b1_0.MYI' (Errcode: 28)

I have tried to look around however nothing seems to be an exact match
Logged

Nibbler

  • Guest
Re: Critical Error with DB Query
« Reply #1 on: August 13, 2007, 01:45:42 am »

You'll need to take this up with your webhost. Apparently they don't know how to run MySQL properly.
Logged

cessam

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Critical Error with DB Query
« Reply #2 on: August 13, 2007, 01:48:09 am »

what exactly should I say?
I have these guys on the phone now.
Thanks
Logged

Nibbler

  • Guest
Re: Critical Error with DB Query
« Reply #3 on: August 13, 2007, 01:49:09 am »

Tell them /var/tmp needs more free space.
Logged

cessam

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Critical Error with DB Query
« Reply #4 on: August 13, 2007, 01:51:02 am »

It seems as though I didnt get the brightess person on the phone. They are not sure what that is.....
Logged

cessam

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Critical Error with DB Query
« Reply #5 on: August 13, 2007, 02:37:08 am »

They are working on it as I type.
Now I am getting the error below: I assume its based on what they are doing?
Fatal error :

.

While executing query "delete from `"myuserID"_coppermine`.copperminesessions where time<1186960771 and remember=0;" on Resource id #6

mySQL error: Got error 127 from table handler
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Critical Error with DB Query
« Reply #6 on: August 13, 2007, 06:52:25 am »

Now you have a corrupted table ,
Use your mysql tool (phpmyadmin) and run this sql
REPAIR TABLE table name
Logged
‍I don't answer to PM with support question
Please post your issue to related board

cessam

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Critical Error with DB Query
« Reply #7 on: August 13, 2007, 11:45:23 am »

I did the repair on the table however now still getting the same error. It seems as though the number is increasing. I am wonderding if this host is still doing repairs on their end.

While executing query "delete from `userID_coppermine`.copperminesessions where time<1186993943 and remember=0;" on Resource id #6

mySQL error: Got error 127 from table handler
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Critical Error with DB Query
« Reply #8 on: August 13, 2007, 06:38:04 pm »

Ask your webhost for support then. Maybe you don't even have permission to actually repair the table, or it is broken beyond repair. Yours isn't actually a coppermine issue, but a mysql issue - we can't help you with this anyway.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 16 queries.