Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Urgent help: i have broken my shop


arkham187

Recommended Posts

Posted

Hi all. I really need your help.

 

I was downloading my english folder and didnt realise that the productinfo.php page did not download correctly. When re-uploaded the file and looked at my site I found that it was displaying things like TEXT_DATE_ADDED and CLICK_TO_ENLARGE.

 

I had a back up of this file from 2 days ago so I uploaded this. Now instead of showing the product page it just give the message:

 

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

 

For the mean time I have just uploaded a plank productinfo.php which displays the page but gives the incorrect words as mentioned on paragraph 1.

 

Is there anything I can do to fix this problem? This is part of my final year uni project thats due in next week and I seriously freaking out. Thank you so much in advance for any help you can give me.

 

My website is www.temporaryartwork.co.uk/shop

Posted

Are you sure you didnt accidently upload the "catalog/product_info.php" file into the "catalog/includes/languages/english/" folder?

 

Download a fresh copy of oscommerce and copy the "includes/languages/english/product_info.php" from the fresh copy to your site.

Posted
Are you sure you didnt accidently upload the "catalog/product_info.php" file into the "catalog/includes/languages/english/" folder?

 

Download a fresh copy of oscommerce and copy the "includes/languages/english/product_info.php" from the fresh copy to your site.

 

thank you so much my friend. It worked a charm, you truly are a life saver

Posted

I wonder if you could help me as I get a similar error on my 'abous us' page

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /www/s/sugarand0221/htdocs/includes/functions/database.php:13) in /www/s/sugarand0221/htdocs/includes/functions/database.php on line 13

Archived

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

×
×
  • Create New...