Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login
    1. Home
    2. znt
    3. Topics
    Z
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 4
    • Groups 0

    Topics

    • Z

      0.9.9-2 Fehler (isys_cmdb_dao_category::get_data

      Watching Ignoring Scheduled Pinned Locked Moved Entwicklung
      3
      0 Votes
      3 Posts
      926 Views
      dsD
      Seit der 0.9.9 benötigen alle Kategorie DAO Klassen die Methode get_data mit folgendem Aufbau : /** * Return Category Data * * @param [int $p_id]h * @param [int $p_obj_id] * @param [string $p_condition] * * @return isys_component_dao_result */ public function get_data($p_catg_list_id = null, $p_obj_id = null, $p_condition = "", $p_filter = null, $p_status = null) { $p_condition .= $this->prepare_filter($p_filter); $l_sql = "SELECT * FROM isys_catg_application_list ". "LEFT JOIN isys_connection ON isys_connection__id = isys_catg_application_list__isys_connection__id ". "LEFT JOIN isys_obj ON isys_connection__isys_obj__id = isys_obj__id ". "WHERE TRUE "; $l_sql .= $p_condition; if (!empty($p_obj_id)) { $l_sql .= " AND (isys_catg_application_list__isys_obj__id = '{$p_obj_id}')"; } if (!empty($p_catg_list_id)) { $l_sql .= " AND (isys_catg_application_list__id = '{$p_catg_list_id}')"; } if (!empty($p_status)) { $l_sql .= " AND (isys_catg_application_list__status = '{$p_status}')"; } return $this->retrieve($l_sql); } Das ist jetzt ein Beispiel für Anwendungen. Du musst diese Methode unbedingt implementieren und hier ein SELECT auf die entsprechende Tabelle für inventar machen.
    • Z

      Diverse Fehler nach Update auf 0.9.7-1

      Watching Ignoring Scheduled Pinned Locked Moved Entwicklung
      2
      0 Votes
      2 Posts
      895 Views
      D
      Hallo, zu 1: Das liegt daran, dass in Deiner PHP-Installation anscheinend keine ZLIB installiert ist. Diese wird benötigt und ist normalerweise Teil jeder PHP-Standardinstallation. zu 2: Die Suche wird über vorgefertigte Algorithmen ausgeführt. Wenn Du eigene Felder definierst, musst Du diese entsprechend im Code unterbringen. Die Suche ist in isys_cmdb_dao_search.class.php implementiert. Wenn es vorher funktionierte, hast Du Dir vermutlich etwas entsprechendes implementiert, das nun durch das Update überschrieben wurde. zu 3: Das kann ich schlecht zurückverfolgen, da das Update ja nun auch schon über die Shell eingespielt wurde. Zumindest ist ja dann bei Dir jetzt alles auf dem neuesten Stand.
    • Z

      Update 0.9.4->0.9.5 Fatal Error

      Watching Ignoring Scheduled Pinned Locked Moved Entwicklung
      2
      0 Votes
      2 Posts
      837 Views
      Z
      Hallo, habe nun ein rollback auf die alter Version gemacht und nochmal neu drübergespielt, nun hats geklappt.