Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help! Deleting category deleted entire database??!


mcc235

Recommended Posts

Posted

We were editing the products in our OSCommerce store. We deleted a sub category that contained a few products which then displayed a PHP safe_mode error message (see below). As stated in other posts this still deletes the category even though it gives the error message. The person using OSCommerce noticed this and decided to delete another sub category. When he did this most of the database was emptied.

 

I have read several other threads about the PHP safe mode (remove line 703 etc) but none mentioned anything about all of their tables being emptied. When I browse with MySQLAdmin tool most of the tables have zero items in them. The only tables that have anything in them are configuration, countries, manufacturers, and one or two more but products, categories, etc are all empty.

 

Any one have any ideas? How could deleting a sub category delete everything? We have lost hundreds of products that were entered since our last backup.

 

----------------------------------------

The error occured with this URL:

 

mysite.com/products/admin/categories.php?cPath=37_63&cID=56&action=delete_category

 

Resulting in this generic PHP Safe Mode message that has been on this forum before:

 

Warning: Cannot set time limit in safe mode in

/html/products/admin/includes/functions/general.php

 

Warning: Cannot add header information - headers already

sent by (output started at

/html/products/admin/includes/functions/general.php:703)

in

/html/products/admin/includes/functions/general.php

on line 18

Archived

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

×
×
  • Create New...