Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to decifer fatal error messages?


dimports

Recommended Posts

I got this error:

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/designi/public_html/catalog/admin/includes/functions/database.php:13) in /home/designi/public_html/catalog/admin/includes/functions/database.php on line 13

 

But I don't understand what its trying to tell me? I looked on line 13 in database.php and all I find is:

 

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

global $$link;

 

Whats wrong? It's telling me that it was previously declared but where?

Link to comment
Share on other sites

This is usually caused by uploading a catalog file into the languages directory. Replace the language file for that page (page will show in the URL as whatever.php).

 

Hth,

Matt

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...