View Full Version : Help needed with cmps_index.php
o0opeteyo0o
05-22-2006, 12:03 AM
I have recently installed vBulletin 3.5.4 which was fine, and then I proceed to install CMPS 2.1, which went fine, until I went to cmps_index.php, which was in the root folder like it was asked to, however I get the following error message:
Warning: require(./modules/onlineusers.php) [function.require]: failed to open stream: No such file or directory in /includes/vba_cmps_include_bottom.php on line 360
Fatal error: require() [function.require]: Failed opening required './modules/onlineusers.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cd21/public_html/vc/vc2/includes/vba_cmps_include_bottom.php on line 360
Any help would be greatly appreciated,
thanks.
Sybaris
05-22-2006, 04:29 AM
have you got the onlineusers.php in the modules folder? thats where i would start....
o0opeteyo0o
05-22-2006, 12:33 PM
yep, every file is accounted for :(
Infante
06-06-2006, 09:30 PM
No updates on this problem? I am experiencing this same exact thing.
Patrick Murphy
06-06-2006, 09:59 PM
This might help you:
I have renamed the CMPS_index.php file to just index.php and renamed my normal vB index.php to forums.php and I put a link in my navbar called All Forums which will bring you to the standard vB forum style (bottom left, see my forum in sig).
Here is the code from my index.php (which was my CMPS_index.php);
<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.1.0 (vB 3.5) - 22350
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com (http://vbadvanced.com/)
// || Downloaded 02:17, Mon Feb 13th 2006
// ||
// ++ ========================================================================++
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
define('VBA_SCRIPT', 'CMPS');
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
$forumpath = '/home/phonexpo/public_html';
// ============================================
// No Further Editing Necessary!
// ============================================
if (!is_dir($forumpath))
{
echo 'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.';
exit;
}
chdir($forumpath);
$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();
require_once('./includes/vba_cmps_include_template.php');
require_once('./global.php');
print_portal_output($home);
?>
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.