View Full Version : Reinstall Errors
andrewtr89
02-09-2007, 10:05 AM
I decided to delete CMPS and do a fresh install. I deleted all the CMPS files already uploaded through FTP, reuploaded everything, used the installer, and once its finished the cmps_index.php page shows only this:
Warning: require_once(./includes/vba_cmps_include_template.php) [function.require-once]: failed to open stream: No such file or directory in /home/pspcube/public_html/cmps_index.php on line 44
Fatal error: require_once() [function.require]: Failed opening required './includes/vba_cmps_include_template.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pspcube/public_html/cmps_index.php on line 44
Brian
02-09-2007, 11:58 AM
That error means that you includes/vba_cmps_include_template.php is missing, or your $forumpath varaible is incorrect.
andrewtr89
02-09-2007, 12:22 PM
Well I checked and includes/vba_cmps_include_template.php is there. Also I'm not sure how the forumpath could be incorrect since I used the forumpath.php and copy pasted it into the cmps_index.php. Here it is:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.2.1 (vB 3.6) - 53668
// || © 2003-2007 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 09:45, Fri Feb 9th 2007
// ||
// ++ ========================================================================++
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/pspcube/public_html';
// ============================================
// No Further Editing Necessary!
// ============================================
if ($forumpath)
{
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);
?>
andrewtr89
02-09-2007, 02:23 PM
So is there really any way to fix this? I manually deleted all the installed files through FTP but keep getting the problem...:(
Brian
02-09-2007, 02:53 PM
Can you post a link to your site?
andrewtr89
02-09-2007, 03:45 PM
Sure,
http://www.pspcube.com
You may still have my other info in a previous support ticket.
Brian
02-10-2007, 02:36 PM
Try this for your path instead:
$forumpath = '/home/pspcube/public_html/forum';
andrewtr89
02-12-2007, 09:27 AM
Tried it and it works great. Thanks for all your help:)
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.