forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: lidiyab on July 16, 2008, 08:14:47 pm

Title: Problem
Post by: lidiyab on July 16, 2008, 08:14:47 pm
I've got a problem with my gallery, when I try to attend the link, it says this:
"Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'backstr0'@'localhost' (using password: YES)"
What am I to do?  :'(
Title: Re: Problem
Post by: phill104 on July 16, 2008, 08:20:44 pm
This means that either there is a problem with your MySql server (check with your host), or that you are providing incorrect details to connect to your MySql server.

These details are stored in the file include/config.inc.php . Check these settings are correct.
Title: Re: Problem
Post by: lidiyab on July 17, 2008, 09:09:49 am
This means that either there is a problem with your MySql server (check with your host), or that you are providing incorrect details to connect to your MySql server.

These details are stored in the file include/config.inc.php . Check these settings are correct.
My host says they are ok, and how can I get to that file?
Title: Re: Problem
Post by: phill104 on July 17, 2008, 10:40:13 am
You access that file with the same ftp software that you used to install coppermine with, or did you use your hosts installer?

If you used your hosts installer you are probably running an outdated version of coppermine so you should read the docs on this site and upgrade.
Title: Re: Problem
Post by: lidiyab on July 17, 2008, 02:15:00 pm
You access that file with the same ftp software that you used to install coppermine with, or did you use your hosts installer?

If you used your hosts installer you are probably running an outdated version of coppermine so you should read the docs on this site and upgrade.
Here what I got, when I decided to see the file:
"config page using an outdated link - the file config.php has been renamed to admin.php. You probably updated your site and haven't changed your theme as suggested in the theme upgrade guide". What am I to do now?
Title: Re: Problem
Post by: phill104 on July 17, 2008, 04:31:14 pm
Have you installed yourself or used a host based installer such as fantastico?
Title: Re: Problem
Post by: lidiyab on July 17, 2008, 05:04:54 pm
Have you installed yourself or used a host based installer such as fantastico?
To tell the truth, I don't know. It was installed for me by somebody... And is it possible to find out how it was installed?  :)
Title: Re: Problem
Post by: phill104 on July 17, 2008, 10:37:27 pm
Your best bet is to download the latest version and follow the upgrade instructions carefully.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade
Title: Re: Problem
Post by: Joachim Müller on July 18, 2008, 06:54:53 am
Here what I got, when I decided to see the file:
"config page using an outdated link - the file config.php has been renamed to admin.php. You probably updated your site and haven't changed your theme as suggested in the theme upgrade guide". What am I to do now?

You're not supposed to look at http://yoursite.tld/your_coppermine_folder/config.php, but at http://yoursite.tld/your_coppermine_folder/include/config.inc.php
Title: Re: Problem
Post by: lidiyab on July 30, 2008, 07:59:43 pm
You're not supposed to look at http://yoursite.tld/your_coppermine_folder/config.php, but at http://yoursite.tld/your_coppermine_folder/include/config.inc.php
I tried to to do but a blank page comes out.  :'(
Title: Re: Problem
Post by: phill104 on July 30, 2008, 08:24:55 pm
Are you trying to browse to it or downloading that file via ftp and viewing it in an editor?

You should be downloading it and viewing it in an editor. If you are unable to do this then ask that "somebody" for help.
Title: Re: Problem
Post by: lidiyab on August 02, 2008, 02:12:55 pm
Are you trying to browse to it or downloading that file via ftp and viewing it in an editor?

You should be downloading it and viewing it in an editor. If you are unable to do this then ask that "somebody" for help.
Yeah, I was trying to browse it, will try to edit it... I've asked "somebody" but he disappeared!  :'( One more question: there goes: .../gallery/include/... Shall I write include or shall I change it to smth?
Title: Re: Problem
Post by: Joachim Müller on August 02, 2008, 02:38:36 pm
We have a strict "one question per thread". Respect it! I don't even understand your question though.
Title: Re: Problem
Post by: lidiyab on August 02, 2008, 09:05:35 pm
but at http://yoursite.tld/your_coppermine_folder/include/config.inc.php
You gave me this link, that's why I'm asking what shall I type instead of ".../include/.." in this link?
Title: Re: Problem
Post by: Joachim Müller on August 03, 2008, 11:40:16 am
You're not supposed to type anything, but download that file from the server to your client (using your FTP app) and then view the contents of that file using a plain text editor (notepad.exe is fine).
If you view that file in your browser, nothing will happen. That's expected behaviour - if that file would actually output your mysql connection data, every visitor could use that piece of information against. Subsequently, the contents of that file can only be viewed if you download that file and then view it locally. That's the point of any PHP-driven app: the output of a PHP file is not the source code of that file.