Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Big Brains.... Help!


ksaun

Recommended Posts

Hey All :thumbsup:

 

Something happened while I was making some changes to my site but i don't know what.

 

When I try to access the product pages on the site I get this error:

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /hsphere/local/group-1/home/ksaun/tonerjunction.com/catalog/includes/functions/database.php:13) in /hsphere/local/group-1/home/ksaun/tonerjunction.com/catalog/includes/functions/database.php on line 13

 

I didn't make any changes to the database.php file so I am really confused. :huh:

 

Any Ideas??

My Favorite Quote from a movie.

 

Question: How do you know women sooo well?

 

Answer: I think of a man, then take away reason and accountability.

Link to comment
Share on other sites

according to the knowledgebase...

 

that error is shown when a main code file has been uploaded to the languages directory by accident.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

according to the knowledgebase...

 

that error is shown when a main code file has been uploaded to the languages directory by accident.

 

Main Code File???

 

The only thing that is in my languages directory is:

 

english.php

espanol.php

german.php

My Favorite Quote from a movie.

 

Question: How do you know women sooo well?

 

Answer: I think of a man, then take away reason and accountability.

Link to comment
Share on other sites

Double check all of the files inside your language folders to be sure they are actually language files and not "main" pages that are in your main store folder.

 

Hope that made sense.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Double check all of the files inside your language folders to be sure they are actually language files and not "main" pages that are in your main store folder.

 

Hope that made sense.

 

Got it thanks :thumbsup:

 

it was my product_info.php that was wrong :blush:

My Favorite Quote from a movie.

 

Question: How do you know women sooo well?

 

Answer: I think of a man, then take away reason and accountability.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...