vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 04-28-2008, 09:05 PM
velociteen velociteen is offline
Junior Member
 
Join Date: Apr 2008
Posts: 3
Default Installation Problems

Keep getting this error when trying to access: http://www.velociteen.com/forum2/forum/cmps_index.php

Quote:
Parse error: syntax error, unexpected T_STRING in /home/bt4t/public_html/forum2/forum/cmps_index.php on line 31
Here's what the cmps_index.php file coding looks like right now:

Quote:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v3.0.1 (vB 3.6 - vB 3.7) - 82216
// || © 2003-2008 vBadvanced.com - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 18:46, Mon Apr 28th 2008
// || 345082216_406278020187
// ++ ========================================================================++

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 = ''/forum2/forum/';

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

?>
What am I doing wrong? :S

Any help is much appreciated; I'm a newbie, by the way...
Reply With Quote
  #2  
Old 04-29-2008, 12:05 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Installation Problems

You've added an extra apostrophe in your code.

Code:
$forumpath = ''/forum2/forum/';
Remove that and it will take care of the parse error. If/when you get an 'Invalid Forum Path' error after correcting the first one, see this link.
Reply With Quote
  #3  
Old 04-29-2008, 05:36 PM
velociteen velociteen is offline
Junior Member
 
Join Date: Apr 2008
Posts: 3
Default Re: Installation Problems

Okay, just changed it; now, I'm getting a different error - tried following the instructions on that FAQ page as well (used the forum path found on that PHP file).

Error:
Quote:
Warning: require_once(./includes/vba_cmps_include_template.php) [function.require-once]: failed to open stream: No such file or directory in /home/bt4t/public_html/forum2/forum/index.php on line 43

Fatal error: require_once() [function.require]: Failed opening required './includes/vba_cmps_include_template.php' (include_path='.:/usr/local/php5/lib/php') in /home/bt4t/public_html/forum2/forum/index.php on line 43
What I put for coding:

Quote:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v3.0.1 (vB 3.6 - vB 3.7) - 82216
// || © 2003-2008 vBadvanced.com - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 18:46, Mon Apr 28th 2008
// || 345082216_406278020187
// ++ ========================================================================++

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/bt4t/public_html/forum2/forum';

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

?>
Link to forum: http://www.velociteen.com/forum2/forum/index.php

Last edited by velociteen; 04-29-2008 at 05:40 PM.
Reply With Quote
  #4  
Old 04-29-2008, 07:25 PM
topspeedforum topspeedforum is offline
Junior Member
 
Join Date: Apr 2008
Posts: 15
Default Re: Installation Problems

Make sure there the file exists in your FTP
try going to

public html>forum2>forum> (check in the forum folder for global.php also)includes>vba_cmps_include_template.php
Make sure you uploaded those files into the correct folder and make sure you linked everything up to the correct address.

If they don't exist than upload everything in the upload folder for vbadvanced into forum2/forum/ and it should work fine after that. Just make sure you don't overwrite the config.php file. If you need more help just send me a PM and I will be glad to see what I can do.
__________________
www.topspeedforum.net

Last edited by topspeedforum; 04-29-2008 at 07:28 PM.
Reply With Quote
  #5  
Old 04-29-2008, 11:26 PM
velociteen velociteen is offline
Junior Member
 
Join Date: Apr 2008
Posts: 3
Default Re: Installation Problems

In which folder do these files have to be placed?

I have vba_cmps_global.php and vba_cmps_include_template.php

Located in public html>forum2>forum>forum>includes>
Reply With Quote
  #6  
Old 04-29-2008, 11:44 PM
topspeedforum topspeedforum is offline
Junior Member
 
Join Date: Apr 2008
Posts: 15
Default Re: Installation Problems

PM me and I will give you my AOL screen name or just click on the link to my forum and make a post in there.

Judging by your last post, you have an extra forum folder. You can fix that by changing the index.php file to:

Code:
$forumpath = '/home/bt4t/public_html/forum2/forum/forum';
vba_cmps_global.php should be in the second forum folder

vba_cmps_include_template.php should be in the includes folder located inside the second forum folder.

Seems like when you made your transfer you copied the forum folder instead of just opening the folder and transferring everything inside. You can try using the code I provided OR you can just reupload the files inside the cmps/forum folder directly into your vbulletin forum folder and keep the code that you have now.
__________________
www.topspeedforum.net

Last edited by topspeedforum; 04-29-2008 at 11:55 PM.
Reply With Quote
  #7  
Old 04-30-2008, 11:23 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Installation Problems

Do you have vBulletin installed? vBulletin is required for any of our products to function. I'm not seeing it anywhere, so I'm guessing you either do not have it installed, or you're uploading all of the CMPS files to the wrong location.
Reply With Quote
  #8  
Old 04-30-2008, 05:34 PM
topspeedforum topspeedforum is offline
Junior Member
 
Join Date: Apr 2008
Posts: 15
Default Re: Installation Problems

Quote:
Originally Posted by Brian View Post
Do you have vBulletin installed? vBulletin is required for any of our products to function. I'm not seeing it anywhere, so I'm guessing you either do not have it installed, or you're uploading all of the CMPS files to the wrong location.
I just noticed that also. CMPS is a vbulletin.com add on and will not work unless you install a copy of vbulletin
__________________
www.topspeedforum.net
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Problems belindaj Troubleshooting & Problems 1 12-15-2006 03:12 PM
Installation Problems shadow0792 Troubleshooting / "How do I..." Questions 2 05-23-2006 05:43 AM
Installation problems Allen Mead Troubleshooting / "How do I..." Questions 2 07-21-2004 07:14 PM
Installation Problems pstreak Troubleshooting / "How do I..." Questions 3 06-07-2004 10:43 PM


All times are GMT -4. The time now is 08:04 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.