andrez Posted November 10, 2006 Share Posted November 10, 2006 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 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted November 10, 2006 Share Posted November 10, 2006 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 Quote 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 More sharing options...
bkellum Posted November 10, 2006 Share Posted November 10, 2006 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? Quote 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 More sharing options...
andrez Posted November 10, 2006 Author Share Posted November 10, 2006 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 Quote Link to comment Share on other sites More sharing options...
jenzdesign Posted November 10, 2006 Share Posted November 10, 2006 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? Quote Link to comment Share on other sites More sharing options...
bkellum Posted November 10, 2006 Share Posted November 10, 2006 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. Quote 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 More sharing options...
jenzdesign Posted November 10, 2006 Share Posted November 10, 2006 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 ... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.