Home Features Pricing Support Contact
Search:     Advanced search

Fatal error: require_once()...common.inc.php...

Article ID: 351
Last updated: 11 Oct, 2012

Error message/code:

Warning: require_once(...client/inc/common.inc.php): failed to open stream: Invalid argument in ...index.php(28)
Fatal error: require_once(): Failed opening required '...client/inc/common.inc.php' (include_path='...adminlib/;...adminlib/Pear') in ...index.php(28)


You can see this error after KBPublisher installatrion


Open file kbp_dir/admin/config.inc.php and check paths values, make sure they area correct, update if nesessary.
$_SERVER['DOCUMENT_ROOT'] variable, it should look like this

$_SERVER['DOCUMENT_ROOT'] = '/home/www/user/www'; // linux
$_SERVER['DOCUMENT_ROOT'] = 'c:/interpub/wwwroot'; // windows


/* PATHS */
$_SERVER['DOCUMENT_ROOT'] = '/home/www/user/www';
$_SERVER['HTTP_HOST']     = 'localhost';

// admin path
$conf['admin_home_dir']   = '/kb/admin/';         // path to kb admin dir, relative to DOCUMENT_ROOT

// client path
$conf['client_home_dir']  = '/kb/';               // path to kb dir, relative to DOCUMENT_ROOT

Article ID: 351
Last updated: 11 Oct, 2012
Revision: 3
Views: 4255
Comments: 0
Print Export to PDF Subscribe Share Add comment
This article was:   Helpful | Not helpful
Prev   Next
SMTP Error: Could not connect to SMTP host     CRON critical error - Inconsistent database