CPG 1.4.25 install errors on Netfimrs hostings CPG 1.4.25 install errors on Netfimrs hostings
 

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]

Main Menu

CPG 1.4.25 install errors on Netfimrs hostings

Started by Rolnaz, October 05, 2009, 06:03:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rolnaz

I recently noticed that my old CPG 1.4.x had stopped working with a Datbase connection error. I decided I would upgrade to the latest version 1.4.25, this did not fix my issue.
I did a complete back up of Albums and Datbase then removed the old version of CPG. I did a new fresh install including a new fresh Databse, I receive the install screen, I am able to input information into the install section, however I get and Error at the top, and no database or include file is created.
site: www.rolnaz.com/projects/


I know receive the following error anytime I try to goto the created CPG site:
Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'root'@'cgihost' (using password: NO)

Joachim Müller

Quote from: Rolnaz on October 05, 2009, 06:03:10 AM
I recently noticed that my old CPG 1.4.x had stopped working with a Datbase connection error. I decided I would upgrade to the latest version 1.4.25, this did not fix my issue.
I did a complete back up of Albums and Datbase then removed the old version of CPG. I did a new fresh install
You shouldn't have performed a fresh install, but you should instead have tried to fix the broken gallery that used to exist.

Quote from: Rolnaz on October 05, 2009, 06:03:10 AMno database or include file is created.
That's not true: http://www.rolnaz.com/projects/include/config.inc.php is there.

Quote from: Rolnaz on October 05, 2009, 06:03:10 AMI know receive the following error anytime I try to goto the created CPG site:
Coppermine critical error:
Unable to connect to database !
Ask your webhost for support: we can't tell you what the needed mysql setup is on your webserver.

Quote from: Rolnaz on October 05, 2009, 06:03:10 AMMySQL said: Access denied for user 'root'@'cgihost' (using password: NO)
I strongly doubt that you are root or that you should be using root. As suggested: ask your webhost for support. With the mysql details they give you, download http://www.rolnaz.com/projects/include/config.inc.php from your webserver to your client using your favorite FTP app, then use a plain text editor (notepad.exe will do) to edit the copy of that file on your client. Make sure that the mysql details in it are exactly as your webhost advised (you might want to show the contents of that file to your webhost). Finally, after having completed the editing that file, upload it once more to your server (again: using your FTP app). Make sure to overwrite the copy of that file that exists on your server with the newly edited version (that is an option in your FTP app, so don't assume you overwrite it, but make sure you do).

Rolnaz

This is my config.inc.php file, exactly the same info as before with the exception of the dbnmae and dbuser, these are both brand new when I created the new DB for the fresh install. I do not use a root account, however it tells me it is connectiong as root, this is the same exact error I received on the older version, before clearing it out.

<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =     'MYSQLHOST';   // Your databaseserver
$CONFIG['dbuser'] =       'u70698303';        // Your mysql username
$CONFIG['dbpass'] =       'removedforsecurity';            // Your mysql password
$CONFIG['dbname'] =       'd60631309';  // Your mysql database name


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


Since this should not be a remote connection, as its all on the same host, same website. Below is the information from host on what should be my connection information to my sql:
Connection Details
Host Name: MYSQLHOST   

Database Named: 60631309   

Username: u70698303   

Password: removed

Rolnaz

This ended up being fixed by the host, the just responded after 5 days to tell me they refreshed my account, and verified the the new install was working properly. I do appreciate the help.

Now to find the resolved button?