Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login
    1. Home
    2. Ferric
    F
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    Ferric

    @Ferric

    0
    Reputation
    113
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Age 24

    Ferric Unfollow Follow

    Latest posts made by Ferric

    • RE: Controller search_index fullindex PHP Fatal error Class not found

      Hallo vqh,
      vielen Dank für die schnelle Antwort.
      Ich habe die Codezeilen ersetzt und den Controller erneut aktiviert.
      Dieses mal lief der Controller für Surchindex ohne weitere Probleme durch.

      Vielen Dank für die schnelle Hilfe.

      Mit freundlichen Grüßen Dominic

      posted in Entwicklung
      F
      Ferric
    • Controller search_index fullindex PHP Fatal error Class not found

      Schönen guten Tag zusammen.

      Über die Suchfunktion habe ich ein ähnliches Thema gefunden, aber für eine ältere i-doit Version.

      Wir haben i-doit open in der Version 1.9.2 installiert.
      Dabei haben wir uns an die Artikel in der Knowledge Base gehalten und auch die Cronjobs wie beschrieben eingerichtet.
      Es wurden Daten aus OCS Inventory NG importiert, Städte, Räume, Server, Racks und so weiter angelegt und auch miteinander in Beziehung gesetzt.

      Am nächsten Morgen hatten wir dann eine Fehlermeldung und haben den Befehl dann noch einmal manuell per SSH aufgeführt und geschaut, ob der Fehler noch einmal auftritt.
      Folgender Fehler tritt jedes mal auf wenn der Controller mit dem handler search_index aufgerufen wird.

      USER@I-DOIT:~$ sudo -u www-data /var/www/html/i-doit/controller -i 1 -u <username>-p <passwort>-m search_index fullindex
      CMDB: [>                                          ] 1%  31/3303 remaining: ~106 sec.  elapsed: 1 sec.  PHP Fatal error:  Uncaught Error: Class 'isys_cmdb_dao_category_s_enclosure' not found in /var/www/html/i-doit/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_location.class.php:232
      Stack trace:
      #0 /var/www/html/i-doit/src/classes/modules/cmdb/dao/category/isys_cmdb_dao_category.class.php(3179): isys_cmdb_dao_category_g_location->retrievePositionInRack(Array, Array)
      #1 /var/www/html/i-doit/src/classes/modules/cmdb/dao/category/isys_cmdb_dao_category_data.class.php(308): isys_cmdb_dao_category->category_data(Object(isys_cmdb_dao_category_data), 2, Array)
      #2 /var/www/html/i-doit/src/classes/modules/cmdb/dao/category/isys_cmdb_dao_category_data.class.php(332): isys_cmdb_dao_category_data->reload()
      #3 /var/www/html/i-doit/src/classes/modules/cmdb/src/Search/IndexExtension/ModelLoader.php(130): isys_cmdb_dao_category_data->data()
      #4 /var/www/html/i-doit/src/classes/modules/cmdb/src/Search/IndexExtension/Manager/CmdbIndexManager.php(139): idoit\Module\Cmdb\Search\IndexExtension\ModelLoader->loadWith(Array, Arra in /var/www/html/i-doit/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_location.class.php on line 232</passwort></username> 
      

      Wir haben erst einmal diesen Job auskommentiert um nicht mit der Fehlermeldung geflutet zu werden.
      Über Lösungsvorschläge würden wir uns sehr freuen.

      Mit freundlichen Grüßen
      Dominic

      posted in Entwicklung
      F
      Ferric