Menu

#211 No computers in DB breaks site via HTMLTree

General
closed
5
2005-09-14
2005-08-16
Keith Tyler
No

If you remove all computers from the system, the
HTMLTree breaks with the following message:

Fatal error: Database Error: MDB Error: syntax error
(SELECT id,name from computers where id not in ()
[nativecode=1064]) in
/www/htdocs/irm-1.5.5/lib/IRMDB.php on line 340

This causes the site to cease working. The only way to
recover is to disable the tree menu via the following SQL:

update config set value=0 where variable='tree_menu';

and then adding a computer via the UI.

Discussion

  • Martin Stevens

    Martin Stevens - 2005-09-14
    • labels: --> fixed-in-irm-pqm
    • milestone: --> General
    • assigned_to: nobody --> budgester
    • status: open --> closed
     
  • Martin Stevens

    Martin Stevens - 2005-09-14

    Logged In: YES
    user_id=255024

    This bug has now been fixed in the irm-pqm archive.

    Thanks for reporting it.

     

Log in to post a comment.