Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot redeclare tep_db_connect


RCWS

Recommended Posts

Posted

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

Posted

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

Posted

What files need to be replaced ?

Or what files should be there ?

Toby Wilson

Posted

What were you doing when this all started, what contribution were you installing?

Posted

I "colned" the site and changed both configure.php files to the new sql db

Toby Wilson

Posted

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

Posted

i forgot to say that the admin side work perfect

Toby Wilson

Posted

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.

Posted

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

Archived

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

×
×
  • Create New...