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

Reply
 
Thread Tools Display Modes
  #1  
Old 11-11-2006, 09:56 PM
seaslash seaslash is offline
Junior Member
 
Join Date: Sep 2006
Posts: 8
Default cmps_index.php in root problem.

Hi my problem is, i installed vbadanced in /forums where my forum root is. I then tried to put my cmps_index.php in the / so that the first thing they come to is that (yes i renamed it to index.php, yes and changed it in the default in the admin cp). I know there is nothing wrong with my installation because once i moved the cmps_index.php to the /forum it worked. I tried changing ./include and ./global to ./forum/include and ./forum/global but it still does not work. Any suggestions on what I have to do to fix this?

Thank you.
Reply With Quote
  #2  
Old 11-12-2006, 03:32 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: cmps_index.php in root problem.

How exactly does it not work? What happens when you load the page?
Reply With Quote
  #3  
Old 11-12-2006, 04:05 PM
seaslash seaslash is offline
Junior Member
 
Join Date: Sep 2006
Posts: 8
Default Re: cmps_index.php in root problem.

I get a blank page. It loads, but stays blank. Do you think it might be because I uploaded the cmps_index.php after I installed vdadvanced? Thats all I can really think of.
Reply With Quote
  #4  
Old 11-13-2006, 12:14 PM
Kwith Kwith is offline
Junior Member
 
Join Date: Nov 2006
Posts: 3
Default Re: cmps_index.php in root problem.

I'm getting a similar problem.

The only difference is that my page actually loads, however the links on the cmps_index.php page are all pointing to the root directory not the /forum directory.

I've checked my config.php and the directory in the cmps_index.php file and they are both showing the same directory for the forum.
Reply With Quote
  #5  
Old 11-13-2006, 01:14 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: cmps_index.php in root problem.

seaslash - Sounds like your $forumpath variable in the cmps_index.php file is incorrect. Please try the suggestions in this thread and see if that helps.

Kwith - Please see this thread.
Reply With Quote
  #6  
Old 11-13-2006, 02:48 PM
seaslash seaslash is offline
Junior Member
 
Join Date: Sep 2006
Posts: 8
Default Re: cmps_index.php in root problem.

Quote:
Originally Posted by Brian View Post
seaslash - Sounds like your $forumpath variable in the cmps_index.php file is incorrect. Please try the suggestions in this thread and see if that helps.

Kwith - Please see this thread.
No I tried that already . I have no idea whats wrong.
Reply With Quote
  #7  
Old 11-13-2006, 03:24 PM
Kwith Kwith is offline
Junior Member
 
Join Date: Nov 2006
Posts: 3
Default Re: cmps_index.php in root problem.

Thanks Brian.
Reply With Quote
  #8  
Old 11-13-2006, 03:35 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: cmps_index.php in root problem.

Quote:
Originally Posted by seaslash View Post
No I tried that already . I have no idea whats wrong.
Can you copy that line of code and paste it here for me?
Reply With Quote
  #9  
Old 11-13-2006, 07:03 PM
seaslash seaslash is offline
Junior Member
 
Join Date: Sep 2006
Posts: 8
Default Re: cmps_index.php in root problem.

Quote:
Originally Posted by Brian View Post
Can you copy that line of code and paste it here for me?
/home/users/web/b2740/pow.firefly09/htdocs

Its' powweb's stupid custom job. I honestly dont think thats the problem because if i add /forum and move it to the forum folder it works perfect.

You dont think it has anything to do with the includes it has to load?

Last edited by seaslash; 11-13-2006 at 07:07 PM.
Reply With Quote
  #10  
Old 11-14-2006, 05:35 PM
catcherman catcherman is offline
Junior Member
 
Join Date: Nov 2006
Posts: 8
Default Re: cmps_index.php in root problem.

Shouldn't you have /forum no matter where the file is on your site? It's pointing to where your forums are located.
Reply With Quote
  #11  
Old 11-15-2006, 02:32 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: cmps_index.php in root problem.

As catcherman said, it needs to have /forum at the end.

/home/users/web/b2740/pow.firefly09/htdocs/forum
Reply With Quote
  #12  
Old 11-16-2006, 02:50 PM
Mick2015's Avatar
Mick2015 Mick2015 is offline
Member
 
Join Date: Aug 2006
Posts: 45
Default Re: cmps_index.php in root problem.

hi all
im new to this portal system and i get the same problem i get this error while im trying to view the main index.php

Quote:
Parse error: parse error in C:\Inetpub\vhosts\ml-profiles.co.uk\httpdocs\forum\cmps_index.php on line 30
Reply With Quote
  #13  
Old 11-17-2006, 04:08 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: cmps_index.php in root problem.

That means that you've modified the file incorrectly. Can you post the contents of your cmps_index.php file here?
Reply With Quote
  #14  
Old 11-19-2006, 11:41 AM
Mick2015's Avatar
Mick2015 Mick2015 is offline
Member
 
Join Date: Aug 2006
Posts: 45
Default Re: cmps_index.php in root problem.

ya sure
Here it is
Quote:
PHP Code:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.2.1 (vB 3.6) - 41481
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 14:13, Thu Nov 16th 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 = 'C:\\Inetpub\\vhosts\\ml-profiles.co.uk\\httpdocs\forum'

$forumpath '/httpdocs/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);

?>
Reply With Quote
  #15  
Old 11-20-2006, 12:10 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: cmps_index.php in root problem.

Change this:
Code:
$forumpath = '/httpdocs/forum'
To this:
Code:
$forumpath = '/httpdocs/forum';
(just adding the ";" mark at the end)
Reply With Quote
  #16  
Old 11-21-2006, 12:11 PM
Mick2015's Avatar
Mick2015 Mick2015 is offline
Member
 
Join Date: Aug 2006
Posts: 45
Default Re: cmps_index.php in root problem.

omg !!!! jsut 1 little thing that messed it up ! Lmao thanks alot now it working
Reply With Quote
  #17  
Old 11-29-2006, 05:07 AM
Bluecafe Bluecafe is offline
Junior Member
 
Join Date: Nov 2006
Posts: 2
Default Re: cmps_index.php in root problem.

Getting probem...
I have tried this...but could not fixed!!
in /home/my site name/public_html/cmps_index.php on line 22

i have not put .com .so how i can fixed this!!
Reply With Quote
  #18  
Old 11-29-2006, 05:09 AM
Bluecafe Bluecafe is offline
Junior Member
 
Join Date: Nov 2006
Posts: 2
Default Re: cmps_index.php in root problem.

Here's it show

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/antu/public_html/cmps_index.php on line 22
Reply With Quote
  #19  
Old 11-29-2006, 12:54 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: cmps_index.php in root problem.

Can you post the contents of your cmps_index.php file?
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
Vba in root with vBB in sub domain - problem with images not showing Mojito Troubleshooting & Problems 2 10-07-2006 02:05 PM
root directory problem FalkinPro1 Troubleshooting & Problems 1 07-16-2006 02:59 PM
help.....moving cmps_index.php file to root messes everything up iamme Troubleshooting & Problems 2 04-26-2006 07:30 AM
Problem when cmps_index.php is in root folder chris g Troubleshooting & Problems 7 07-12-2005 04:36 PM
error when placing cmps_index.php in root dir brad007 Troubleshooting & Problems 4 06-30-2005 12:29 AM


All times are GMT -4. The time now is 02:19 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.