status.php and dbconfig.php can not be included from the dbsql class, when [calling script] is in the root of the application.
Warning: DBsql::require_once(../status.php) [function.DBsql-require-once]: failed to open stream: No such file or directory in /var/www/html/instantblog/includes/classes/dbsql.php on line 35
Fatal error: DBsql::require_once() [function.require]: Failed opening required '../status.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/instantblog/includes/classes/dbsql.php on line 35
Logged In: YES
user_id=1197825
Originator: YES
eg - current file structure
/admin
-> fckeditor/
-> fckfiles
-> images/
/dbschema
-> sql files
/includes
-> classes/
-> article.php
-> author.php
-> category.php
-> dbsql.php
-> testsql.php
-> constants.php
-> dbconfig.php
-> library.php
-> status.php
/testme.php (Sample Test Script)
so ! when "testme.php" created an object of DBsql, it gives that error.