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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2005, 11:50 PM
brad007 brad007 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 16
Default error when placing cmps_index.php in root dir

hi there, i would like to ask for some help with this problem i have.

i have installed the board and the vbadvanced cms twice now and i still get the same problem.

everything i placed in the /forum folder and only the "cmps_index.php" file i placed in the root and i get this error:

Warning: chdir(): No such file or directory (errno 2) in /home/rocomau/public_html/cmps_index.php on line 22

Warning: main(./global.php): failed to open stream: No such file or directory in /home/rocomau/public_html/cmps_index.php on line 35

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rocomau/public_html/cmps_index.php on line 35


when i place the cmps_index.php file in the /forum folder too (and comment out the full path within the file) it works. can someone please help me here.?

thank you
Reply With Quote
  #2  
Old 06-29-2005, 11:52 PM
Zachery's Avatar
Zachery Zachery is offline
Super Moderator
 
Join Date: Jan 2004
Posts: 3,158
Default Re: error when placing cmps_index.php in root dir

Did you change the chdir ?
__________________
Zachery
vBadvanced Support & SysAdmin

Reply With Quote
  #3  
Old 06-30-2005, 12:00 AM
brad007 brad007 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 16
Default Re: error when placing cmps_index.php in root dir

Quote:
Originally Posted by Zachery
Did you change the chdir ?
yes i did. i even followed the instructions to get the right full path incase i was wrong.
Reply With Quote
  #4  
Old 06-30-2005, 12:09 AM
mholtum's Avatar
mholtum mholtum is offline
I ******* single moms.
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 1,938
Default Re: error when placing cmps_index.php in root dir

My forums are in /forum/ and my cmps_index.php (which I renamed index.php) is in my root.

I have:
chdir('./forum');

and it works for me.
Reply With Quote
  #5  
Old 06-30-2005, 12:29 AM
brad007 brad007 is offline
Junior Member
 
Join Date: Jun 2005
Posts: 16
Talking Re: error when placing cmps_index.php in root dir

Quote:
Originally Posted by mholtum
My forums are in /forum/ and my cmps_index.php (which I renamed index.php) is in my root.

I have:
chdir('./forum');

and it works for me.
thank you, that works. i really appreciate it.

(my chdir was alot longer than that.)
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
Placing $vboptions['bburl'] in my header template produces this error: anarchystar Troubleshooting / "How do I..." Questions 1 01-02-2005 10:46 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 05:52 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.