Fatal error: Class 'db_BD_TYPE' not found in /home/admispconfig/ispconfig/lib/app.inc

Discussion in 'Installation/Configuration' started by bigger_travis, Jun 22, 2007.

  1. bigger_travis

    bigger_travis New Member

    hi, i upgraded to:
    ISPConfig
    Version: 2.3.2
    (c) ISPConfig 2007

    im trying out the ISPConfig Remoting Framework.
    im getting this error:

    Fatal error: Class 'db_BD_TYPE' not found in /home/admispconfig/ispconfig/lib/app.inc.php on line 53

    when i i try to access this file:
    https://myipaddress.com:81/remote/index.php

    i searched your site for the right answer but i can't seem to find the solution for this.

    i read this thread:
    http://www.howtoforge.com/forums/showthread.php?t=10566
    and installed ionloader at /home/admispconfig/ispconfig/web/ioncube/

    this is how line 53 looks like in app.inc.php


    LINE 51 include_once($dbclass);
    LINE 52 $dbname = 'db_'.BD_TYPE;
    LINE 53 $this->db = new $dbname;

    i have fedora core5 and i've installed apt to get this command
    apt-get install libxml2-dev
    but it errors out.

    not sure what i need to do next?

    thanks for all your support.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. bigger_travis

    bigger_travis New Member

    thanks

    thanks,

    i had already visited that thread before my post, but i didn't see the difference on line 51 and 53.

    this was the original in app.inc.php

    include_once($dbclass);
    $dbname = 'db_'.BD_TYPE;

    and this is how it should look like:

    include_once($dbclass);
    $dbname = 'db_'.DB_TYPE;

    if you see, i could see the differences. but if you REALLY LOOK CLOSEDLY, there is a diffrence on the BD and DB.

    so basically, you need to change BD to DB

    thanks for your help.

    wallpaperama team
     

Share This Page