coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: noa on October 19, 2006, 11:20:28 AM

Title: Can't access my gallery
Post by: noa on October 19, 2006, 11:20:28 AM
Hey :) First of all, sorry if this is in the wrong place! After I've installed my gallery, I've been able to access it, open catagories and albums, approve files and so on. After a few days, whenever I tried getting into my gallery, I got this message:

Coppermine critical error:
Unable to connect to database !

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


I searched a bit on the boards here, and saw that other people with this problem were reffered to the include/config.inc.php page - but when I try getting into mine, I end up in a blank page.


So... any help, please?


Thanks!
Noa
Title: Re: Can't access my gallery
Post by: Sami on October 19, 2006, 11:27:42 AM
you should edit your config.in.php localy and the re-upload it to your gallery
Title: Re: Can't access my gallery
Post by: noa on October 19, 2006, 02:54:54 PM
Hey Sami, thanks for the answer. I tried doing it and it still won't work... maybe i'm doing something wrong? This is what's in my file now:

<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         'localhost';
$CONFIG['dbuser'] =                         'maura_coop';
$CONFIG['dbpass'] =                         '***';
$CONFIG['dbname'] =                         'maura_copp1';


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg149_';
?>


---

the gallery's folder is named "gallery", the database for it is "maura_copp1" and the user for it is "maura_copp".
Title: Re: Can't access my gallery
Post by: Sami on October 19, 2006, 03:14:49 PM
It seems to me that you are using fantestico, which is not recommanded at all

Check the user (maura_coop) to have all privileges on maura_copp1
Also check username and password on your control panel to be exist and valid
Title: Re: Can't access my gallery
Post by: noa on October 19, 2006, 09:02:16 PM
Yeah, that's what I use... I don't really know PHP so that's my best chance ;)
And I've checked theuser info and privileges, all good..
Title: Re: Can't access my gallery
Post by: Sami on October 19, 2006, 10:05:38 PM
If it's okey with you I can take a look at that , PM me cpanel username & password
Title: Re: Can't access my gallery
Post by: noa on October 21, 2006, 12:36:49 AM
sent it. thanks!
Title: Re: Can't access my gallery
Post by: Sami on October 21, 2006, 07:11:31 AM
Gallery is Up now !
your username was wrong maura_coop=>maura_copp
BTW I renamed it to something else ::)
Also your table prefix was wrong (that's happen when you use crap like Fantastico)