Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP SITE DOWN!!!!!


amestres

Recommended Posts

Posted

My site is down and I get a blank screen with this message when I try to go to admin:

 

Warning: mysql_connect(): Access denied for user: 'wittydoo@localhost' (Using password: YES) in /home/wittydoo/public_html/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

and I get blank page with this when i try to go to the site itself (www.wittydoodles.com):

 

Warning: mysql_connect(): Access denied for user: 'wittydoo@localhost' (Using password: NO) in /home/wittydoo/public_html/includes/functions/database.php on line 19

Unable to connect to database server!

 

Not sure what I've done...please help

Posted
My site is down and I get a blank screen with this message when I try to go to admin:

 

Warning: mysql_connect(): Access denied for user: 'wittydoo@localhost' (Using password: YES) in /home/wittydoo/public_html/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

and I get blank page with this when i try to go to the site itself (www.wittydoodles.com):

 

Warning: mysql_connect(): Access denied for user: 'wittydoo@localhost' (Using password: NO) in /home/wittydoo/public_html/includes/functions/database.php on line 19

Unable to connect to database server!

 

Not sure what I've done...please help

 

You need to adjust the "catalog/includes/configure.php" with the CORRECT values of your database information. Basically, the default values are needed to connect to the MySQL database your provider has set up or you need to set up for oscommerce to connect to.

 

This must also must be done to the catalog/admin/includes/configure.php with the same data as above

 

Chris

Posted
You need to adjust the "catalog/includes/configure.php" with the CORRECT values of your database information. Basically, the default values are needed to connect to the MySQL database your provider has set up or you need to set up for oscommerce to connect to.

 

This must also must be done to the catalog/admin/includes/configure.php with the same data as above

 

Chris

 

Thanks but...I have no idea what you mean...I am very new at this and I dont know how to do what you suggest. Here is what I did before I had the program:

 

I tried to install a contribution:

http://www.oscommerce.com/community/contributions,160

 

but I made a copy of each file I was replacing to install the contribution. Once I saw the problem, I reloaded the original files but the problem continued...does this make any sense to you?? thanks am illion for anything you can tell me

Posted
Thanks but...I have no idea what you mean...I am very new at this and I dont know how to do what you suggest. Here is what I did before I had the program:

 

I tried to install a contribution:

http://www.oscommerce.com/community/contributions,160

 

but I made a copy of each file I was replacing to install the contribution. Once I saw the problem, I reloaded the original files but the problem continued...does this make any sense to you?? thanks am illion for anything you can tell me

 

Find the files I mention above, your looking to change the infomation below:

 

// define our database connection
 define('DB_SERVER', 'dbXXX.perfora.net'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'XXXXXXXXXX');
 define('DB_SERVER_PASSWORD', 'XXXXXXXXXX');
 define('DB_DATABASE', 'XXXXXXXXXXX');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

If your site was working before, then you most likely forgot to fix the above lines in both of the config.php files I mentioned above

Posted
My site is down and I get a blank screen with this message when I try to go to admin:

 

Warning: mysql_connect(): Access denied for user: 'wittydoo@localhost' (Using password: YES) in /home/wittydoo/public_html/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

and I get blank page with this when i try to go to the site itself (www.wittydoodles.com):

 

Warning: mysql_connect(): Access denied for user: 'wittydoo@localhost' (Using password: NO) in /home/wittydoo/public_html/includes/functions/database.php on line 19

Unable to connect to database server!

 

Not sure what I've done...please help

 

 

Hi

 

Did you install oscommerce urself or did u do it using fantastico ?

 

Either ways ... there seems to be a problem with accessing information from sql database.

You have to tell ur oscommerce where to store information by giving it proper userid n password to sql.

 

Just try to make the changes members have advised in above threads or create a new sql from ur control panel, add a user with a password to that sql and then proceed with the installation.

Upload the latest version of oscommerce and then do the fresh install. This way u wount be overwriting any vital information in ur previous sql.

 

If you can do it its good, or else just email me the details of ur server and i will do it for u :)

Posted
Hi

 

Did you install oscommerce urself or did u do it using fantastico ?

 

Either ways ... there seems to be a problem with accessing information from sql database.

You have to tell ur oscommerce where to store information by giving it proper userid n password to sql.

 

Just try to make the changes members have advised in above threads or create a new sql from ur control panel, add a user with a password to that sql and then proceed with the installation.

Upload the latest version of oscommerce and then do the fresh install. This way u wount be overwriting any vital information in ur previous sql.

 

If you can do it its good, or else just email me the details of ur server and i will do it for u :)

 

Someone else installed the site for me..no idea how to do what you suggest...where do I email you my server info? (I guess you need login and pasword?)...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...