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: coppermine 1.4.8 fatal error  (Read 6304 times)

0 Members and 1 Guest are viewing this topic.

elogica

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
coppermine 1.4.8 fatal error
« on: June 11, 2006, 09:24:37 pm »

I'm sorry, but I don't speak english very well.

Hi, I've upgrated from Coppermine 1.4.7 to 1.4.8 and now I've a fatal error. You can see all here : www.new-image.it/public/

I see the FAQ but never talk about this.

thank you!



Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: coppermine 1.4.8 fatal error
« Reply #1 on: June 11, 2006, 09:31:54 pm »

Judging from update.php, it seems like a mysql error. Enable debug mode with info from here: http://coppermine-gallery.net/tutorial/ Then post the error message here.
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: coppermine 1.4.8 fatal error
« Reply #2 on: June 11, 2006, 09:33:42 pm »

TranzNDance is correct.  Before that though, I would check your include/config.inc.php and make sure the MySQL database settings are correct.  Maybe TranzNDance already knows that this would give a different error, so excuse me if I am mistaken, but it doesn't hurt to check.   :)
Logged

elogica

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: coppermine 1.4.8 fatal error
« Reply #3 on: June 12, 2006, 01:12:34 pm »

I have followed the instruction of the tutorial, but I've this error :

query SQL:

UPDATE `cpg11d_config` SET `value` = '1' WHERE `name` = 'debug_mode' LIMIT 1

Messaggio di MySQL: 

#1044 - Access denied for user: 'Sql71536@%' to database 'Sql71536_1'

can I have any problem with a database? Is this the cause of fatal error?

thanks
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: coppermine 1.4.8 fatal error
« Reply #4 on: June 12, 2006, 01:23:54 pm »

- did you use phpmyadmin?(I think you are using remote Mysql client)
- are you sure the database name and username is true?
- did you provide password ?(I think you missed that part)
Logged
‍I don't answer to PM with support question
Please post your issue to related board

elogica

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: coppermine 1.4.8 fatal error
« Reply #5 on: June 12, 2006, 03:36:53 pm »

yes, because with coppermine 1.4.7 the photogallery worked. with coppermine 1.4.8 I haven't upload include/config.inc.php file. the database parameters are the same
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: coppermine 1.4.8 fatal error
« Reply #6 on: June 12, 2006, 04:21:59 pm »

I have followed the instruction of the tutorial, but I've this error :
query SQL:
UPDATE `cpg11d_config` SET `value` = '1' WHERE `name` = 'debug_mode' LIMIT 1
Messaggio di MySQL: 
#1044 - Access denied for user: 'Sql71536@%' to database 'Sql71536_1'
can I have any problem with a database? Is this the cause of fatal error?

If this was done in phpMyAdmin, then my guess is that the permissions for your user account have changed to not allow updates.  This would explain the error message above and the error in Coppermine (since Coppermine updates certain tables).  With most webhosts, you cannot change the permissions yourself.   As noted in the Coppermine documentation:
Quote
The MySQL user needs permissions to perform CREATE, ALTER, SELECT, UPDATE, DELETE, INSERT data from the database.

My guess is something changed with your MySQL privileges.  It does seem strange that it was coincidental with the 1.4.8 upgrade, but your error listed above is not through Coppermine and Coppermine does not (and cannot) change MySQL privileges, so that's my best guess.

So you'll have to check with your webhost to see if the MySQL privileges have changed and if they can put them back.
Logged

Ssurgul

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
Re: coppermine 1.4.8 fatal error
« Reply #7 on: June 27, 2006, 09:31:00 pm »

Also, so folks might be aware, I ran into the same error.  And following the threads here, I couldn't figure out what on earth was wrong because the system's permissions were right, as were the filesystem permissions.

On checking the log, I found this:

060627 10:00:38 [ERROR] /usr/sbin/mysqld: Can't open file: 'cpg11d_sessions.MYI' (errno: 145)

On checking the MySQL site, this is a corrupted table error.  Running the repair table through phpMyAdmin solved the same symptom quite nicely.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 16 queries.