Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help


andrez

Recommended Posts

I have downloaded the basic design pack 1.9 and uploaded it in my cpanel, but when I overwrote the "html_output.php" file with the provided one in the design pack, and I tried to get to my site, here I got this message:

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/arabicmo/public_html/includes/functions/database.php:13)

 

My web hosting provider reckons that nothing can be done, and I lost everything.....just like that!

 

Please any suggestions about this matter?? it took me a long time to build this online shop...please help

Link to comment
Share on other sites

You can download the oscommerce package from here and just grab that file. There may be difference in it since the one installed by your host was probably outdated but it should work. Of course, it won't have any changes in it that you may have made with contributions. You will have to do those over.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I have downloaded the basic design pack 1.9 and uploaded it in my cpanel, but when I overwrote the "html_output.php" file with the provided one in the design pack, and I tried to get to my site, here I got this message:

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/arabicmo/public_html/includes/functions/database.php:13)

 

My web hosting provider reckons that nothing can be done, and I lost everything.....just like that!

 

Please any suggestions about this matter?? it took me a long time to build this online shop...please help

Sorry to hear you are having such a bad day. Do you have a copy of your store on your own computer and a backup of your database?

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Sorry to hear you are having such a bad day. Do you have a copy of your store on your own computer and a backup of your database?

 

Thanx for replying

 

No actually I dont, But the admin site of the shop is still working perfect as well the cpanel, and I was wondering if it is possible to save the data and all my product and description and at least the photos of the product. please if it is possible to do so, i will appreiate some help with that, because Iam not that familiar with some pc knowledge, Once again thanx for your help

Link to comment
Share on other sites

Hi people,

 

I'm having a similar problem after adding a new php page & updating the filenames.php and english.php file.

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/jenny80/public_html/jenzdesign/shop/includes/functions/database.php:13) in /home/jenny80/public_html/jenzdesign/shop/includes/functions/database.php on line 13

 

any idea how to resolve?

Link to comment
Share on other sites

Thanx for replying

 

No actually I dont, But the admin site of the shop is still working perfect as well the cpanel, and I was wondering if it is possible to save the data and all my product and description and at least the photos of the product. please if it is possible to do so, i will appreiate some help with that, because Iam not that familiar with some pc knowledge, Once again thanx for your help

If your admin is working, use the backup database feature. But...you may have trashed your database with the bad install of the contribution you mentioned.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Hi people,

 

I'm having a similar problem after adding a new php page & updating the filenames.php and english.php file.

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/jenny80/public_html/jenzdesign/shop/includes/functions/database.php:13) in /home/jenny80/public_html/jenzdesign/shop/includes/functions/database.php on line 13

 

any idea how to resolve?

 

 

Somehow I managed to resolve it ...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...