Author Topic: Cannot delete device template category  (Read 3132 times)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Cannot delete device template category
« on: November 01, 2005, 07:41:57 pm »
I accidently added a device template category instead of adding a new model. I get the following error when I attempt to delete it.

Quote
Fatal error: Call to undefined function: deletedevicecategory() in /var/www/pluto-admin/include/utils.inc.php on line 3795


How do I delete it?

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Cannot delete device template category
« Reply #1 on: November 02, 2005, 08:45:39 am »
Fixed, in an older release the device category was deleted by opening an popup, and the function wasn't in "utils.inc.php" library, but inside of that popup.

To remove the device category, you can either wait for next release, which will have the fix for this issue, or you can go to database and run a sql query
Code: [Select]
DELETE FROM DeviceCategory WHERE PK_DeviceCategory=X;
with X the ID of category who is displayed next to category name in Device Templates page.

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Cannot delete device template category
« Reply #2 on: November 03, 2005, 10:32:57 pm »
The sql delete worked. Thanks.