Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error Message in Admin when I click on Catalog


Twanya

Recommended Posts

Posted

Hello,

 

I logged into my admin to add new products and got this error message when I clicked on "Catalog"

 

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

 

I'm not sure what I'm looking for to change in the database.php file to make fix this.

 

Line 13 reads as follows:

 

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

global $$link;

 

Can someone please help me resolve this issue?

 

Warmest Regards,

TS

Archived

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

×
×
  • Create New...