Results 1 to 5 of 5

Thread: error when placing cmps_index.php in root dir

Hybrid View

  1. #1
    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

  2. #2
    Super Moderator Zachery's Avatar
    Join Date
    Jan 2004
    Posts
    3,186

    Default Re: error when placing cmps_index.php in root dir

    Did you change the chdir ?
    Zachery
    I may or may not do things.

  3. #3
    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.

  4. #4
    I ******* single moms. mholtum's Avatar
    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.

  5. #5
    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.)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. cmps_index.php error
    By AnticEgo in forum Troubleshooting / "How do I..." Questions
    Replies: 3
    Last Post: 04-17-2005, 11:41 PM
  2. cmps_index error
    By jaffa in forum Troubleshooting / "How do I..." Questions
    Replies: 6
    Last Post: 04-01-2005, 10:17 AM
  3. Placing $vboptions['bburl'] in my header template produces this error:
    By anarchystar in forum Troubleshooting / "How do I..." Questions
    Replies: 1
    Last Post: 01-02-2005, 11:46 AM
  4. Error with cmps_index.php
    By luiseman in forum Troubleshooting / "How do I..." Questions
    Replies: 4
    Last Post: 08-24-2004, 02:35 PM
  5. cmps_index.php error
    By James in forum Troubleshooting / "How do I..." Questions
    Replies: 6
    Last Post: 07-28-2004, 11:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •