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: [Solved]: Critical Error Problem  (Read 2305 times)

0 Members and 1 Guest are viewing this topic.

the_anubis123

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
[Solved]: Critical Error Problem
« on: June 30, 2008, 09:36:20 am »

Hi,

I installed my gallery and it has been working fine for 6 months then all of a sudden it doesnt work, the page loads this:

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'natalieg_copp1'@'localhost' (using password: YES)

Ive been told my my host when i submitted a ticket to reinstall but i dont want to loose my theme and all my pictures. any help?

Here's a link to my gallery
http://nataliegauci.org/gallery/
« Last Edit: July 01, 2008, 01:00:52 am by just_some_guy »
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Critical Error Problem
« Reply #1 on: June 30, 2008, 10:53:19 am »

Don't reinstall, all the error means is that your are not able to connect to your MySQL server because your login details are incorrect, you need to correct the details in the file at - include/config.inc.php.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

the_anubis123

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Critical Error Problem
« Reply #2 on: June 30, 2008, 12:13:41 pm »

the file has this

<?php

    define ( 'SILLY_SAFE_MODE' , 1 ) ;

    $CONFIG['dbserver'] = 'xxxx' ;
    $CONFIG['dbuser'  ] = 'xxxx' ;
    $CONFIG['dbpass'  ] = 'xxxxx' ;
    $CONFIG['dbname'  ] = 'xxxx'   ;

    $CONFIG['TABLE_PREFIX'] = 'xxxx' ;

?>


what info do i need to fix?
« Last Edit: June 30, 2008, 12:45:45 pm by Abbas Ali »
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Critical Error Problem
« Reply #3 on: June 30, 2008, 12:46:44 pm »

I edited your post above to remove the sensitive information. You should never post database username and password publicly. I highly recommend to change your database password as soon as possible.
Logged
Chief Geek at Ranium Systems

the_anubis123

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Critical Error Problem
« Reply #4 on: June 30, 2008, 01:44:10 pm »

thanks

we found the problem,

i never had a database, got deleted so thats why i had the problem, so thanks for editing my info lucky i have no database username to change cause it doesnt exsit.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.