ARCHIVE
LinuxMCE Forums
May 24, 2013, 06:13:41 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Cannot delete device template category  (Read 967 times)
archived
Hello, I'm new here

Posts: 0


View Profile
« 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?
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« 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:
DELETE FROM DeviceCategory WHERE PK_DeviceCategory=X;

with X the ID of category who is displayed next to category name in Device Templates page.
Logged
archived
Hello, I'm new here

Posts: 0


View Profile
« Reply #2 on: November 03, 2005, 10:32:57 pm »

The sql delete worked. Thanks.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Pluto provided a snapshot of their forums with approximately 5,000 posts in February, 2007 when LinuxMCE branched off. Browse those forum posts in the Archive section. Those posts have been included in the search engine and can be found with keyword searches.