Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Update 0.9.9 funktioniert nicht

    Scheduled Pinned Locked Moved Allgemein
    29 Posts 5 Posters 8.9k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      fearnop
      last edited by

      Ich kam von Version 0.9.8-3

      1 Reply Last reply Reply Quote 0
      • F Offline
        fearnop
        last edited by

        Ich bekomme immer nur die selbe Debugmeldung:

        (8.03@22:02:39) Notice : –----------------------------------------------------------------------
        (8.03@22:02:39) Notice : ENTRYPOINT OF FRONT CONTROLLER (load=update): Debugger initialized.
        (8.03@22:02:39) [!] Error : No method to autoload 'PDO'
        Backtrace:
        #0  _get_backtrace() called at [/var/www/cmdb.cst/idoit/src/debug.inc.php:133]
        #1  isys_debugger_handler_default_error::execute(No method to autoload 'PDO') called at [/var/www/cmdb.cst/idoit/src/debug.inc.php:216]
        #2  isys_debugger::handle(4, No method to autoload 'PDO') called at [/var/www/cmdb.cst/idoit/src/autoload.inc.php:202]
        #3  __autoload(PDO) called at [/var/www/cmdb.cst/idoit/src/globals.inc.php:71]
        #4  include_once(/var/www/cmdb.cst/idoit/src/globals.inc.php) called at [/var/www/cmdb.cst/idoit/index.php:163]

        (8.03@22:02:39) Notice : –----------------------------------------------------------------------
        (8.03@22:02:39) Notice : ENTRYPOINT OF FRONT CONTROLLER (load=update): Debugger initialized.
        (8.03@22:02:39) [!] Error : No method to autoload 'PDO'
        Backtrace:
        #0  _get_backtrace() called at [/var/www/cmdb.cst/idoit/src/debug.inc.php:133]
        #1  isys_debugger_handler_default_error::execute(No method to autoload 'PDO') called at [/var/www/cmdb.cst/idoit/src/debug.inc.php:216]
        #2  isys_debugger::handle(4, No method to autoload 'PDO') called at [/var/www/cmdb.cst/idoit/src/autoload.inc.php:202]
        #3  __autoload(PDO) called at [/var/www/cmdb.cst/idoit/src/globals.inc.php:71]
        #4  include_once(/var/www/cmdb.cst/idoit/src/globals.inc.php) called at [/var/www/cmdb.cst/idoit/index.php:163]

        (8.03@22:02:40) Notice : –----------------------------------------------------------------------
        (8.03@22:02:40) Notice : ENTRYPOINT OF FRONT CONTROLLER (load=update): Debugger initialized.
        (8.03@22:02:40) [!] Error : No method to autoload 'PDO'
        Backtrace:
        #0  _get_backtrace() called at [/var/www/cmdb.cst/idoit/src/debug.inc.php:133]
        #1  isys_debugger_handler_default_error::execute(No method to autoload 'PDO') called at [/var/www/cmdb.cst/idoit/src/debug.inc.php:216]
        #2  isys_debugger::handle(4, No method to autoload 'PDO') called at [/var/www/cmdb.cst/idoit/src/autoload.inc.php:202]
        #3  __autoload(PDO) called at [/var/www/cmdb.cst/idoit/src/globals.inc.php:71]
        #4  include_once(/var/www/cmdb.cst/idoit/src/globals.inc.php) called at [/var/www/cmdb.cst/idoit/index.php:163]

        1 Reply Last reply Reply Quote 0
        • F Offline
          fearnop
          last edited by

          OK, die Applikation funktioniert nun wieder.
          Der Fehler lag im fehlenden Modul von PHP.

          i-doit nutzt mit dieser Version scheinbar die PDO API welche nicht mit einkompiliert bzw. die USE Flags fuer PHP nicht gesetzt waren, da vorher einfach nicht benoetigt.

          Schade das keine Abfrage Seitens i-doit gemacht wird ob diese Funktion/API vorhanden ist…haette eine Menge Aerger erspart.

          Dennoch Danke fuer die nette Unterstuetzung 🙂

          1 Reply Last reply Reply Quote 0
          • SadminS Offline
            Sadmin
            last edited by

            Hallo,

            habe das gleiche Problem und deshalb steige ich mal in den Thread ein.
            Wie kann man denn die PDO API einkompilieren bzw. die USE Flags für PHP setzen?

            mfg Sadmin

            I-doit V0.9.5 - WAMP

            1 Reply Last reply Reply Quote 0
            • dsD Offline
              ds
              last edited by

              Kommt auf dein Betriebssystem an und dein PHP Package an. In den meisten Fällen reicht es aber PDO einfach in der php.ini zu aktivieren. Kompilierung ist also nicht unbedingt erforderlich

              1 Reply Last reply Reply Quote 0
              • SadminS Offline
                Sadmin
                last edited by

                Danke für deine schnelle Antwort.

                Betriebssystem ist Windows 2003 Server und PHP Package ist v5.
                Kann in der php.ini keinen Punkt "PDO" finden.

                I-doit V0.9.5 - WAMP

                1 Reply Last reply Reply Quote 0
                • SadminS Offline
                  Sadmin
                  last edited by

                  Habe die Anleitung von hier befolgt.
                  Habe den Server und alle für den Webserver und die DB nötigen Dienste neu gestartet.
                  Was kann man noch versuchen?

                  I-doit V0.9.5 - WAMP

                  1 Reply Last reply Reply Quote 0
                  • dsD Offline
                    ds
                    last edited by

                    extension=php_pdo.dll
                    extension=php_pdo_mysql.dll

                    In die php.ini. Vorher Überprüfen ob die Dateien auch im /php/ext/ (Extensions Dir) liegen. Dann alles neustarten

                    1 Reply Last reply Reply Quote 0
                    • SadminS Offline
                      Sadmin
                      last edited by

                      Habe ich alles schon versucht. Hilft nichts. 😞

                      I-doit V0.9.5 - WAMP

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        fearnop
                        last edited by

                        Bei mir ist das komplilieren von Noeten gewesen, da ich Gentoo Linux benutze und das USE Flag fuer PDO default nicht gesetzt ist im PHP Package…daher ging leider einiges in die Hose, wie ich ja beschrieben hatte. Fuer die meisten anderen Distributionen wie RedHat, Suse, Debian und Co, duerfte das keine grosse Relevanz haben, da sie quasi von Werk aus alle gaengigsten Erweiterungen von PHP einkompiliert haben, was aber keine Devise von Gentoo ist. Weniger ist mehr. Insbesondere hinsichtlich Sicherheit.

                        1 Reply Last reply Reply Quote 0
                        • dsD Offline
                          ds
                          last edited by

                          Versuch mal folgendes: src/globals.inc.php aufrufen und in Zeile 70 ungefähr gehen. Dort nach $g_pdo_drivers = PDO::getAvailableDrivers(); suchen und die ganze Zeile durch folgende 5 Zeilen ersetzen:

                          if (class_exists("PDO")) {
                          $g_pdo_drivers = PDO::getAvailableDrivers();
                          } else {
                          $g_pdo_drivers = array();
                          }

                          1 Reply Last reply Reply Quote 0
                          • SadminS Offline
                            Sadmin
                            last edited by

                            SUPER! xD

                            Hat geklappt.

                            Vielen Dank.

                            mfg Sadmin

                            I-doit V0.9.5 - WAMP

                            1 Reply Last reply Reply Quote 0
                            • dsD Offline
                              ds
                              last edited by

                              Das war ja einfach 😉

                              1 Reply Last reply Reply Quote 0
                              • SadminS Offline
                                Sadmin
                                last edited by

                                Jetzt habe ich das nächste Problem….
                                Wenn ich 2 Geräte miteinander verbinden möchte (z.B. Switch mit Patchfeld), werden mir im Port-Browser keine Ports angezeigt.

                                😞 😞

                                I-doit V0.9.5 - WAMP

                                1 Reply Last reply Reply Quote 0
                                • dsD Offline
                                  ds
                                  last edited by

                                  Die Ports müssen einem interface zugewiesen werden. Das ist noch ein Problem in der 0.9.9

                                  1 Reply Last reply Reply Quote 0
                                  • SadminS Offline
                                    Sadmin
                                    last edited by

                                    bei den Patchfeldern sind jeweils 2 Ports einem Interface zugewiesen und bei dem Switch sind alle Ports einem Interface zugewiesen.

                                    EDIT:
                                    Dieses Thema wird schon in einem anderen Topic diskutiert: http://www.i-doit.org/forum/index.php/topic,1362.15.html (hoffentlich)

                                    I-doit V0.9.5 - WAMP

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post