Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

store not showing - fatal error message


fourtwonine

Recommended Posts

Posted

we've recently had to redo our store due to a malfunction which accidentally

deleted it, and after uploading my index.php in the catalog (using the file

i'd created the first time around) i get this error message when i view it:

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in

/hsphere/local/home/ovahdose/computerloveonline.com/oscommerce2/catalog/includ

es/functions/database.php:13)

in

/hsphere/local/home/ovahdose/computerloveonline.com/oscommerce2/catalog/includ

es/functions/database.php

on line 13

Posted

It look like you lost a dbase too.Look in configure.php what the dbase name is and make shure you have one.I assume that you back-up your dbase.

Posted
we've recently had to redo our store due to a malfunction which accidentally

deleted it, and after uploading my index.php in the catalog (using the file

i'd created the first time around) i get this error message when i view it:

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in

/hsphere/local/home/ovahdose/computerloveonline.com/oscommerce2/catalog/includ

es/functions/database.php:13)

in

/hsphere/local/home/ovahdose/computerloveonline.com/oscommerce2/catalog/includ

es/functions/database.php

on line 13

The last time I saw this sort of message in a post, there was a file copied to the wrong place. It was in the last few days if you want to look for it.

Posted

sometimes we place two copies one in language folder and one the original one.

 

so You need to chek on this.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

yes, the store is backed up, but i'm not sure how to restore this file in the languages folder. is there a way to get back the original set up of the store with the original configuration and then go from there, adding the php files once again and then restoring the products using the backup we made? thanks!

Posted

i've searched the knowlege base on this topic, but all i find is this:

 

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

 

Cannot redeclare tep_db_connect() (previously declared in /home/username/public_html/store/includes/functions/database.php:13)

 

 

Solution

 

Upload the correct file to the languages/*/ directory where * is the name of the language you are using.

 

but i'm not sure how to restore this file in the languages folder. is there a way to get the original file from oscommerce or to get back the original set up of the store with the original configuration and then go from there, adding the php files once again (into the correct directories) and then restoring the products using the backup we made? thanks!

Archived

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

×
×
  • Create New...