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? :'(
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.
Quote from: 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.
My host says they are ok, and how can I get to that file?
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.
Quote from: 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.
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?
Have you installed yourself or used a host based installer such as fantastico?
Quote from: phill104 on July 17, 2008, 04:31:14 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? :)
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
Quote from: lidiyab on July 17, 2008, 02:15:00 PM
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
Quote from: Joachim Müller on July 18, 2008, 06:54:53 AM
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. :'(
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.
Quote from: 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.
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?
We have a strict "one question per thread". Respect it! I don't even understand your question though.
Quote from: Joachim Müller on July 18, 2008, 06:54:53 AM
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?
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.