coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: the_anubis123 on June 30, 2008, 09:36:20 AM

Title: [Solved]: Critical Error Problem
Post by: the_anubis123 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/ (http://nataliegauci.org/gallery/)
Title: Re: Critical Error Problem
Post by: just_some_guy 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.
Title: Re: Critical Error Problem
Post by: the_anubis123 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?
Title: Re: Critical Error Problem
Post by: Abbas Ali 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.
Title: Re: Critical Error Problem
Post by: the_anubis123 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.