PDA

View Full Version : Installing


Mrdudecool
10-08-2007, 12:32 PM
Hi
Do you put all the files into the directory or put like the certain files into a certain folder?
Thanks
Mrdudecool

Brian
10-08-2007, 12:38 PM
There are full installation instructions in the readme.html file that comes with the download package.

Our Sponsors
 

Mrdudecool
10-08-2007, 12:48 PM
I read that but I wasnt sure which is why i asked

Brian
10-08-2007, 12:57 PM
The files/folders in the 'forum' folder need to be uploaded to the same folder that you uploaded your vBulletin files/folders to.
The cmps_index.php file needs to be uploaded to wherever you want the CMPS to be displayed, which is typically your root directory.

Our Sponsors
 

Mrdudecool
10-08-2007, 01:47 PM
Ok well I have done that and on the index there is the files, one being the forum and other being the cmps_index but I get this error:


Warning: require_once(./includes/vba_cmps_include_template.php) [function.require-once]: failed to open stream: No such file or directory in /home/jac1992/public_html/cmps_index.php on line 43

Fatal error: require_once() [function.require]: Failed opening required './includes/vba_cmps_include_template.php' (include_path='.:/software/php/lib/php') in /home/jac1992/public_html/cmps_index.php on line 43

Any help?

Brian
10-09-2007, 11:54 AM
Sounds like you either did not upload the forum/includes/vba_cmps_include_template.php file, or the path you entered for the $forumpath variable is incorrect. If it's the latter, please see this thread:
http://www.vbadvanced.com/forum/showthread.php?t=1343

Mrdudecool
10-09-2007, 02:36 PM
Thanks but now I have this:

Parse error: syntax error, unexpected T_IS_IDENTICAL in /home/jac1992/public_html/cmps_index.php on line 25

Mrdudecool
10-10-2007, 02:06 PM
Can anyone please help?
Im trying to get it up so I can release my site

Brian
10-10-2007, 02:44 PM
What did you enter for the $forumpath in your cmps_index.php file?

Mrdudecool
10-10-2007, 02:51 PM
I entered /home/jac1992/public_html/vbulletin
Got that from the forumpath.php file

Brian
10-10-2007, 02:57 PM
Can you just post the contents of the entire file? There's an error in there somewhere, most likely from where the forum path was changed.

Mrdudecool
10-10-2007, 03:08 PM
I think this is the one:

cmps_index:

<?php
// ++=========================================================================++
// || vBadvanced CMPS v3.0 RC2 (vB 3.6) - 49204
// || © 2003-2007 vBadvanced.com - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 21:16, Tue Oct 9th 2007
// || 112049204_402472506667
// ++ ========================================================================++

error_reporting(E_ALL & ~E_NOTICE);
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/jac1992/public_html/vbulletin/ 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);

?>

index.php

Brian
10-10-2007, 03:43 PM
Looks like you removed and rearranged a bit of the code... So, change this line:
$forumpath = '';/home/jac1992/public_html/vbulletin/ No Further Editing Necessary!


To this:
$forumpath = '/home/jac1992/public_html/vbulletin';

Mrdudecool
10-10-2007, 03:45 PM
Now I get this:

Parse error: syntax error, unexpected T_IS_IDENTICAL in /home/jac1992/public_html/index.php on line 23

Brian
10-10-2007, 03:58 PM
You did not replace that line correctly then. The entire first line I posted needs to be completely replaced with the 2nd line.

Mrdudecool
10-10-2007, 04:00 PM
See the top part looks like this:

<?php
// ++=========================================================================++
// || vBadvanced CMPS v3.0 RC2 (vB 3.6) - 49204
// || © 2003-2007 vBadvanced.com - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 17:24, Fri Oct 5th 2007
// || 112049204_402472506667
// ++ ========================================================================++

error_reporting(E_ALL & ~E_NOTICE);
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/jac1992/public_html/vbulletin';
============================================

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;
}

That is with the change but it has that error on line 22

Brian
10-10-2007, 04:04 PM
You removed the two slashes (//) that were at the beginning of the line just below the one with the $forumpath variable. The file needs to stay in tact, exactly as it was originally formatted, with the exception of changing that one line to add your forum path.

Mrdudecool
10-10-2007, 04:08 PM
Still getting error

<?php
// ++=========================================================================++
// || vBadvanced CMPS v3.0 RC2 (vB 3.6) - 49204
// || © 2003-2007 vBadvanced.com - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 17:24, Fri Oct 5th 2007
// || 112049204_402472506667
// ++ ========================================================================++

error_reporting(E_ALL & ~E_NOTICE);
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/jac1992/public_html/vbulletin';
============================================

Brian
10-11-2007, 10:35 AM
Use this for the file, and do not make any more changes.
<?php
// ++=========================================================================++

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
// *nix Example: /home/yoursite/public_html/forum
// Windows Example: C:/mydir/mysite/forum
// ============================================

$forumpath = '/home/jac1992/public_html/vbulletin';

// ============================================
// 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);

?>

Mrdudecool
10-11-2007, 11:48 AM
Thank you so much.
It is now in full working order.