Fatal Error: Class 'db_BD_TYPE' Not Found In /home/admispconfig/ispconfig/lib/app.inc
fatal error: class 'db_bd_type' not found in /home/admispconfig/ispconfig/lib/app.inc
fatal, error, class, db, bd, type, not, found, in, home, admispconfig, ispconfig, lib, appinc
Fatal Error: Class 'db_BD_TYPE' Not Found In /home/admispconfig/ispconfig/lib/app.inc
Post Description: fatal error: class 'db_bd_type' not found in /home/admispconfig/ispconfig/lib/app.inc
POST# 976
Posted On: Fri Feb 29, 2008 12:01 pm
pack
Topic: Fatal Error: Class 'db_BD_TYPE' Not Found In /home/admispconfig/ispconfig/lib/app.inc
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.


Sat Jun 23, 2007 1:43 pm
1
wallpaperama
Reply #1703
have you tried their website? i think you should ask this question on their forums, they are pretty good at answering questions.
Sat Jun 23, 2007 1:44 pm
2
pack
Reply #1704
actually, i did, and this is what i found out.

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.

Wed Jul 11, 2007 10:31 pm
3
hostman
Reply #1705
this is what i did:

send this command:
nano /home/admispconfig/ispconfig/lib/app.inc.php


FIND:
$dbname = 'db_'.bd_type;


REPLACE WITH THIS:
replace : $dbname = 'db_'.db_type;




What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload