Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot redeclare tep_db_connect


RCWS

Recommended Posts

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /homepages/18/d174507728/htdocs/rivercitywebsolutions/includes/functions/database.php:13) in /homepages/18/d174507728/htdocs/rivercitywebsolutions/includes/functions/database.php on line 13

 

I dont know what happened !

Toby Wilson

Link to comment
Share on other sites

You seem to have error messages all over the place these days;

 

on your site

 

1054 - Unknown column 'http_referer' in 'field list'

 

insert into whos_online (customer_id, full_name, session_id, ip_address, time_entry, time_last_click, last_page_url, http_referer, user_agent) values ('0', 'Guest', 'e4a280dfd7af3964cf832e4e68c32205', '70.48.155.105', '1162135273', '1162135273', '/', 'http://www.oscommerce.com/forums/index.php?act=Msg&CODE=03&VID=in&MSID=180790', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7')

 

Does your whos online SQL file have a http_referer field in it?

 

What are you installing that is causing all these errors?

 

Peter

Link to comment
Share on other sites

The Who's Online enhancement didnt have the "alter tables" run against the database yet.

I was installling dynamic sitemap when this happened i think.

Im not sure.......

Toby Wilson

Link to comment
Share on other sites

Using PHPMyAdmin remove the entries from your "whos online" fields. If you need to run an SQL file for a who's online enhancement and have already added the code to the site it "will" break your site becuase it will be looking for fields which are not there.

Link to comment
Share on other sites

I got the whos online working now.

But I still got the original problem....

I have checked the files in the languages folder and they look normal.

Toby Wilson

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...