Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to access my company's store.


Guest

Recommended Posts

Posted

I am the only person in charge of my company's store, and I know very little about how OSCommerce works. I just wish to get the store back up and running.

 

Here is the error message I get:

 

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/global/public_html/oscommerce/catalog/includes/functions/database.php on line 19

Warning: mysql_connect(): Access denied for user 'udaygupta'@'localhost' (using password: YES) in /home/global/public_html/oscommerce/catalog/includes/functions/database.php on line 19
Unable to connect to database server!

 

Can anyone tell me where to begin? The webstore address is the following: http://globalcellsolutions.com/oscommerce/catalog/index.php

 

Any help would be very much appreciated!

 

(Side note: I am also unable to sign into my OSCommerce account in order to manage orders and such. I get the same message.)

Posted

Hi Carter,

 

It appears that you are running an older version of oscommerce and your server has been updated probably the php version has anyways and now breaking your old website code. Did you build the website yourself? What version are you running? Did your website host company recently upgrade their PHP version on your server? If the latter is the case, they may be able to role it back temporarily for you, but I am guessing you will need to update your website code.

Posted

Yes, the first thing to check is whether your host upgraded PHP and/or MySQL, and if they did, can you temporarily roll it back to the previous version(s). Use the respite gained to upgrade your store to the current osCommerce version (2.3.4BS). This means a new install of 2.3.4BS (from GitHub) (initially install in a test directory) and a migration of a copy of your database to the new version (as well as your product images). You'll have to install add-ons for shipping methods and payment methods at a minimum, and whatever else is needed to restore function you had with your old store. Don't delay -- your host will probably be unwilling to let you run on an old PHP version for very long.

 

The first error message says that mysql_* is deprecated (the mysql library for MySQL), but the second says mysql_* is still there, but can't access your account. That suggests that your host may have broken your existing MySQL account during an upgrade. The current level of osC uses mysqli_*.

Posted

Thank you very much, Leslie and Phil. I will contact my site host (BRI) and see what they can do. They *did* recently make some updates, so that's probably where the problem stems from. I will reply with updates.

  • 2 weeks later...
Posted

Would this also apply to my problem? I'm trying to login but cannot. The page just refreshes with my login and password still there, as though I never clicked "login". It is so frustrating! My host has been trying to find out the problem for 2 days now. I have version 2.3.4

Archived

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

×
×
  • Create New...