PDA


View Full Version : Parse error, PLEASE HELP


icecube0045
07-25-2005, 06:40 PM
Keep getting this error message when I try to run the cmps_index.php file "Parse error: parse error, unexpected '/', expecting ')' in /home/.jazzlefrazzle/globalmo/globalmotorsonline.com/cmps_index.php on line 22"

What is the problem?

Thanks,
Johmel

tomshawk
07-25-2005, 07:44 PM
Keep getting this error message when I try to run the cmps_index.php file "Parse error: parse error, unexpected '/', expecting ')' in /home/.jazzlefrazzle/globalmo/globalmotorsonline.com/cmps_index.php on line 22"

What is the problem?

Thanks,
Johmel

That line should not have the cmps_index.php portion in it
It is looking for the path to the forums directory, so it should look like this

chdir('/home/.jazzlefrazzle/globalmo/globalmotorsonline.com/forums/');

Or whatever the exact path to your forums is

HTH

LFFPicard
07-25-2005, 07:56 PM
if you are using your vbadvanced index as the main index file and have renamed vb's index file just comment out that line.

icecube0045
07-25-2005, 07:58 PM
Thanks you, I have fixed that problem. Now the problem is when the homepage loads and I click on a link, it says file path not found. I have the cmps_index.php file in the same directory as the "forums" folder. How can I fix this?

LFFPicard
07-25-2005, 08:00 PM
In your admin section goto vbulletin options -> Forums home page options
and change the first entry from "index" to "forums" or whatever your vb index page is now called.

icecube0045
07-25-2005, 08:25 PM
Thank you. Hmm im reading the guide that tells you how everything is setup and it says in my admin cp there should be a new listing on the left that says "vBa CMPS" but i dont see it. Is that because I edited the info in the admincp/index.php wrong?