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

    Fatal error: $g_dbg disposed prematurely ?

    Scheduled Pinned Locked Moved Development
    3 Posts 3 Posters 3.8k 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.
    • E Offline
      ecardadm
      last edited by

      Hi Everybody,

      I installed the software with the web installer. Straight after the installation there's an error on login screen just above the username and password edit boxes:

      Fatal error: Call to a member function handle() on a non-object in /var/www/cmdb/src/classes/components/isys_component_database.class.php on line 85

      The line 85 in isys_component_database.class.php is :

      $g_dbg->handle(isys_debugger::c_err_debug, "Connection closed (" . $this->m_db_name . ").");

      As far as I recognized in the sources the $g_dbg is some sort of debugger - it seems that it is freed prematurely or not created at all.

      After I login into admin account there's the exactly same error on the mandator choice screen and then after I choose there's the same error at the bottom of every screen I see, nevermind where I go in the GUI. The error is at the bottom of the screen in Firefox. (General remark here is that i-doit pages render awfully in Firefox, the GUi seems almost useless.)

      In MS Internet Explorer the error is the same and is displayed on the login screen and on mandator choice screen in the same places. Then after login the same error is displayed in place of the object tree on the left handside of the screen. The object tree under Objects and Locations buttons doesn't show at all!. I attach a screenshot from MSIE.

      Our software:
      i-doit : i-doit-v0.9beta2-unix.tgz
      mysql: Ver 4.1.11-Debian_4sarge4-log for pc-linux-gnu on i386 (Source distribution)
      php: Version 5.2.0-7
      apache: Apache/2.2.3, built date Oct  8 2006 04:42:51

      Please provide us some help how to fix things - we urgently need to test and possibly deploy this software.

      Regards,

      Piotr

      bug-report.001.part.png

      1 Reply Last reply Reply Quote 0
      • N Offline
        npotthast
        last edited by

        @ecardadm:

        (General remark here is that i-doit pages render awfully in Firefox, the GUi seems almost useless.)

        That's very strange since we developed i-doIT using mostly the FF browser 😉
        I think the problems must result from the described errors. Did you already try to update your version to our new release?

        MfG,
        Niclas Potthast

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

          hi,
          i dont know exactly why, but the debug component isn't loaded at that position.

          try inserting :
          //–
          $g_dbg = isys_debugger::get();
          //--
          before line 85 ($g_dbg->handle(isys_debugger::c_err_debug, "Connection closed (" . $this->m_db_name . ").");)

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