Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't Back up anything


cscomputers

Recommended Posts

Posted

Hi, I am having problems with my website, first you can see the web page only this error message...

 

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

Unable to connect to database server!

 

I was told this is happening because I don't have a password installed. So I asked how to insert a admin password, but the answer I got was short and made no sense. I believe this is causing my back up part of my admin settings to not have any buttons to click so that I can do a back up or a restore.

So can someone tell me how to install my admin password in simple easy hand holding fashion step buy step? you know the way those for the complete idiot , or dummy books do. because I don't know Jack about this stuff but the guy who setup my website I have not been able to get a hold of in over 2 weeks, so I need to try to fix it myself because this webite needs to be open for business in less than 2 weeks and I still have about 300 items to list.

 

 

Thank you,

Jim O

:o

Posted

Okay, it's the MySQL password that you need, and once you know what it is you need to add it to both of your configure.php files (because it is missing from them by the looks of things).

 

Just ask your web hosting company what your mysql password is. They should be able to send you the answer.

 

If they can't/won't then go to your web hosting control panel, look for the MySQL link and see if there is then a Change Password link. If you find this then you can enter a new password there and then add it to your configure.php files.

 

Vger

Posted
Okay, it's the MySQL password that you need, and once you know what it is you need to add it to both of your configure.php files (because it is missing from them by the looks of things).

 

Just ask your web hosting company what your mysql password is. They should be able to send you the answer.

 

If they can't/won't then go to your web hosting control panel, look for the MySQL link and see if there is then a Change Password link. If you find this then you can enter a new password there and then add it to your configure.php files.

 

Vger

 

 

Hi, I just got back a reply from my web host, they say that the password and user name for access to my admin part of their part of hosting my site that I can have access already has a password and if there is no user name to the admin part of my OSCommerce website then that is something I have to ask someone with OSCommerce how to setup, not them. this is the exact reply...

The only username and password we provide is for cpanel. The admin password within OS commerce is all setup by you. If you are unaware of how to set it up you need to contact OS commerce So once again could someone please explain in the simple terms, step by step how to install a user name and password so that anyone who wants to gain access to the admin part of my OSCommerce website will have to first enter a password? If I don't get this fixed very fast I am afraid my site will crash again like it ahs done twice already while I have searched for the answer to this problem over the last 3 weeks. I have a deadline to meet to have this website up and running and I am running out of time quickly so Please help me get this site protected.

 

Thanks Jim O

Posted

In my post I said that it was the MySQL Password that you needed to find out, and then add it to the two configure.php files in osCommerce. This has nothing to do with password protecting the osCommerce 'admin' panel.

 

You can usually password protect the osCommerce admin folder by using the Password or Directory Protection feature found in your web hosting control panel.

 

Vger

Posted
In my post I said that it was the MySQL Password that you needed to find out, and then add it to the two configure.php files in osCommerce. This has nothing to do with password protecting the osCommerce 'admin' panel.

 

You can usually password protect the osCommerce admin folder by using the Password or Directory Protection feature found in your web hosting control panel.

 

Vger

 

 

Ok I know what my MySQL password is so how do I pit this password into the configure.php? I would assume that I would use an FTP client, download this configure.php file change it in note pad and upload it back to where it was? so can you tell me exactly where I would put this password in the configure.php file, or script?

 

I am sorry if I am a pain in the ass but the person who was suppose to be designing this site left me high and dry with it about 80% done. I have to get the other 20% done in the next week or two or Im out a lot of time and money. So could you make this as much of a copy and paste answer as possible, because I know very litte about this kind of programing and I don't have the time to learn right now.

 

Thanks Jim O

Posted
In my post I said that it was the MySQL Password that you needed to find out, and then add it to the two configure.php files in osCommerce. This has nothing to do with password protecting the osCommerce 'admin' panel.

 

You can usually password protect the osCommerce admin folder by using the Password or Directory Protection feature found in your web hosting control panel.

 

Vger

 

 

 

OK I found the configure.php file there was only one and here is what it looks like. Please tell me where i put my user name in and where the password goes please.

 

Thanks Jim O

 

 

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.fourseasonscandy.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.fourseasonscandy.com');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/candyman/public_html/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/candyman/public_html/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/home/candyman/public_html/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'candyman_user');

define('DB_SERVER_PASSWORD', 'fsc4164');

define('DB_DATABASE', 'candyman_database');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Posted

define('DB_SERVER_USERNAME', 'candyman_user');

define('DB_SERVER_PASSWORD', 'fsc4164');

 

These are the settings that must carry your MySQL User Name and Password. If those are the correct ones then you will now have to change them, because you should never post those details in a public forum. Sadly not all people who comes to forums are nice people!

 

Vger

Archived

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

×
×
  • Create New...