![]() |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
Sounds like you've entered your path incorrectly. Can you post the contents of your cmps_index.php file?
|
|
#5
|
|||
|
|||
|
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); ?> |
|
#6
|
|||
|
|||
|
Assuming you path is correct you need to add quotes to it.
chdir('/home2/georgiad/public_html/vbgdbase'); |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
|||
|
|||
|
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. |
|
#9
|
|||
|
|||
|
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'); |
|
#10
|
|||
|
|||
|
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. |
|
#11
|
|||
|
|||
|
Yeah .. That fixed it Tom . Thanks everyone for all the suggestions . It is working now .....
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |