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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-22-2005, 03:22 PM
bogene2020 bogene2020 is offline
Member
 
Join Date: Sep 2005
Posts: 55
Default Error accessing cmps_index.php

I get this error when I go to my website
My forum Path is here

Warning: main(./global.php): failed to open stream: No such file or directory in /home2/georgiad/public_html/vbgdbase/cmps_index.php on line 33

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/georgiad/public_html/vbgdbase/cmps_index.php on line 33

I just instaaled the VB CMPS . It appeared to have installed properly but I cant access my index page .


Last edited by bogene2020; 12-23-2005 at 01:26 PM.
Reply With Quote
  #2  
Old 12-23-2005, 01:21 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Error accessing cmps_index.php

Please do not post entire vB files like that as doing so is a violation of your vBulletin license agreement.

For your problem, please see this thread:
http://www.vbadvanced.com/forum/showthread.php?t=1343
Reply With Quote
  #3  
Old 12-23-2005, 02:20 PM
bogene2020 bogene2020 is offline
Member
 
Join Date: Sep 2005
Posts: 55
Default Re: Error accessing cmps_index.php

I dont know what I am doing wrong but I am now getting the error below

Parse error: parse error, unexpected '/', expecting ')' in /home2/georgiad/public_html/vbgdbase/cmps_index.php on line 22
Reply With Quote
  #4  
Old 12-24-2005, 12:29 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Error accessing cmps_index.php

Sounds like you've entered your path incorrectly. Can you post the contents of your cmps_index.php file?
Reply With Quote
  #5  
Old 12-25-2005, 02:40 AM
bogene2020 bogene2020 is offline
Member
 
Join Date: Sep 2005
Posts: 55
Default Re: Error accessing cmps_index.php

My cmps_index.php is below
Code:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v2.0.0 (vB 3.5) - 19266
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 12:16, Thu Dec 22nd 2005
// || 
// ++ ========================================================================++
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
// ============================================
chdir(/home2/georgiad/public_html/vbgdbase);
// ============================================
// No Further Editing Necessary!
// ============================================
$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();
require_once('./global.php');
print_portal_output($home);
?>
Reply With Quote
  #6  
Old 12-25-2005, 10:25 AM
Tom M Tom M is offline
Senior Member
 
Join Date: Jan 2004
Posts: 1,867
Default Re: Error accessing cmps_index.php

Assuming you path is correct you need to add quotes to it.

chdir('/home2/georgiad/public_html/vbgdbase');
Reply With Quote
  #7  
Old 12-25-2005, 04:35 PM
bogene2020 bogene2020 is offline
Member
 
Join Date: Sep 2005
Posts: 55
Default Re: Error accessing cmps_index.php

When I put the quotes I ge this error

Warning: main(./global.php): failed to open stream: No such file or directory in /home2/georgiad/public_html/vbgdbase/cmps_index.php on line 33

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/georgiad/public_html/vbgdbase/cmps_index.php on line 33
Reply With Quote
  #8  
Old 12-25-2005, 04:54 PM
Tom M Tom M is offline
Senior Member
 
Join Date: Jan 2004
Posts: 1,867
Default Re: Error accessing cmps_index.php

In what directory are your forums located?

The CMPS index file is here: http://georgiadatabase.com/cmps_index.php

It also seems that there's one here: http://georgiadatabase.com/vbgdbase/cmps_index.php

The path in the chdir() should point to your forum directory.
__________________
Tom Morris
Porsche Boxster discussion forum.
Today's Conservative discussion forum.
Reply With Quote
  #9  
Old 12-25-2005, 07:43 PM
bogene2020 bogene2020 is offline
Member
 
Join Date: Sep 2005
Posts: 55
Default Re: Error accessing cmps_index.php

The one I am actually using is the one in public_html and vbgdbase . I have updated my path with the quotes
chdir('/home2/georgiad/public_html/vbgdbase');
Reply With Quote
  #10  
Old 12-25-2005, 07:52 PM
Tom M Tom M is offline
Senior Member
 
Join Date: Jan 2004
Posts: 1,867
Default Re: Error accessing cmps_index.php

The problem is that your forums are apparently at '/home2/georgiad/public_html/vbgdbase/upload'. Try changing the path to that and see if things work better.
__________________
Tom Morris
Porsche Boxster discussion forum.
Today's Conservative discussion forum.
Reply With Quote
  #11  
Old 12-26-2005, 12:28 PM
bogene2020 bogene2020 is offline
Member
 
Join Date: Sep 2005
Posts: 55
Default Re: Error accessing cmps_index.php

Yeah .. That fixed it Tom . Thanks everyone for all the suggestions . It is working now .....
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
cmps_index.php error AnticEgo Troubleshooting / "How do I..." Questions 3 04-17-2005 11:41 PM
cmps_index error jaffa Troubleshooting / "How do I..." Questions 6 04-01-2005 09:17 AM
Error with cmps_index.php luiseman Troubleshooting / "How do I..." Questions 4 08-24-2004 02:35 PM
cmps_index.php error James Troubleshooting / "How do I..." Questions 6 07-28-2004 11:35 AM


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