Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Cannot redeclare tep_db_connect()


mikehipp

Recommended Posts

Posted

Hi

 

I was following the help that netfirms provides for oscommerce and it resulted in a fatal error. I msg'd the netfirms help desk and they're telling me that I need to restore the application to it's original settings, losing all my work! Arrrgh. I'm pissed because I followed their literature to the letter and now they can't help with the resulting error.

 

These were the instructions that were supposed to remove the "new products" listing from the main page:

 

To remove the new products section from displaying on the Welcome page of your Netfirms Commerce Pro store, follow these steps:

1. Connect to your Netfirms account using an FTP client (ie. Filezilla) or Netfirms File Manager.

2. Open ../catalog/index.php

4. Make the following changes to the file:FROM: <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);?></td> </tr>TO: <tr> <td></td> </tr>

5. Save the changes on the server

 

 

When I did that, I immediately got this error, calling to a totally different file?

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /mnt/w0305/d11/s02/b024950b/www/SoyCandlesbyPhebes/catalog/includes/functions/database.php:13) in /mnt/w0305/d11/s02/b024950b/www/SoyCandlesbyPhebes/catalog/includes/functions/database.php on line 13

 

 

Can anybody give me a clue as to what to do? If I don't get this fixed I lose all my work from the last couple of days.

 

Thank you!

Archived

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

×
×
  • Create New...