Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

database.php fatal error


Matthew_Debbie

Recommended Posts

Posted

I am getting the following error when clicking on one of the items in the information box. I edited the conditions box to read payment methods and probably altered something accidentally but don't know what.

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /hsphere/local/home/efootbal/e-football.com.au/catalog/includes/functions/database.php:13) in /hsphere/local/home/efootbal/e-football.com.au/catalog/includes/functions/database.php on line 13

 

The code is

 

function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') {

global $$link;

 

Please help

Deb

  • 3 weeks later...
Posted
I have the similar and what you suggest above is not correct and does not solve the problem.

 

If you're asking for help, you might try to be more specific as to your problem. Post your errors and what steps you have tried to take to fix this problem.

 

If you are posting a correction, then you should include the proper steps. This will help others looking for answers.

Contributions

 

Discount Coupon Codes

Donations

Archived

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

×
×
  • Create New...