Jump to content
Sign in to follow this  
stevenrwoolley

Fatal error: Cannot redeclare tep_db_connect() (

Recommended Posts

I installed the headers tag collaboration and everything was working great. I was able to edit the header information in my admin section , but today when I go to click on my header tag in the admin this error comes up. I?m not sure what it means and what could have changed from last night until this morning. I did update category?s at the catalog section of my store and filled in headers at the category menu.

If you have any suggestions please let me know.

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /hsphere/local/home/steven/onlinetransmissionparts.com/admin/includes/functions/database.php:13) in /hsphere/local/home/steven/onlinetransmissionparts.com/admin/includes/functions/database.php on line 13

 

 

5 osCommerce, Open Source E-Commerce Solutions

6 http://www.oscommerce.com

7

8 Copyright © 2003 osCommerce

9

10 Released under the GNU General Public License

11 */

12

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

14 global $$link;

15

16 if (USE_PCONNECT == 'true') {

17 $$link = mysql_pconnect($server, $username, $password);

18 } else {

19 $$link = mysql_connect($server, $username, $password);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×