Fatal Error: Class 'db_BD_TYPE' Not Found In /home/admispconfig/ispconfig/lib/app.inc

Welcome Login | Register

Fatal Error: Class 'db_BD_TYPE' Not Found In /home/admispconfig/ispconfig/lib/app.inc
  Forums Index
      » Linux Forums
        » » 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
Post Description:
Post Tags: fatal, error, class, db, bd, type, not, found, in, home, admispconfig, ispconfig, lib, appinc, linux, linux support, linux questions, linux server, programming, assistance, questions, answers, tech, it, unix
This Post Has Been Viewed 195 Times Since Sat Jun 23, 2007 1:43 pm Posted By pack with 3 replies
Next Post »» SOAP XML Error method '' not defined in service ''
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.


Leave Your Comments






Share
HTML Link:
You can use this HTML code to put it on your website to show your friends this wallpaper. Use this code on your profile like myspace, friendster, Facebook or others. Just Copy and Paste it in your HTML on your websites



Fourms BBCODE:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums





Comments and replies About Fatal Error: Class 'db_BD_TYPE' Not Found In /home/admispconfig/ispconfig/lib/app.inc




:: 1 :: #7903 - Reply By wallpaperama On Sat Jun 23, 2007 1:43 pm
have you tried their website? i think you should ask this question on their forums, they are pretty good at answering questions.
:: 2 :: #7904 - Reply By pack On Sat Jun 23, 2007 1:44 pm
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.

:: 3 :: #10583 - Reply By hostman On Wed Jul 11, 2007 10:31 pm
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;