PDA

View Full Version : index help


Chris
06-28-2004, 01:31 PM
i need some help i did everything and when tryign to access it i get

Parse error: parse error, unexpected T_REQUIRE_ONCE in /home/chrisr/public_html/index.php on line 25


check it out

http://www.hip-hop-streetz.com

Brian
06-28-2004, 02:51 PM
What did you change the chdir line to in your cmps_index.php file?

Our Sponsors
 

MegaHertz
07-03-2004, 12:47 AM
I get this same error, and have been unable to resolve it yet.

Initially I had /inetpub/wwwroot/forums as my chdir, I have since changed it to inetpub/wwwroot/forums, but I continue to get the error. I really hope this can be resolved without having to uninstall and reinstall.

Thanks

Merjawy
07-03-2004, 01:28 AM
try ./forums

notice the dot

this is what I have on mine

chdir('./forums');

although the full path to my forum is

/home/XXXXX/public_html/forums

Our Sponsors
 

MegaHertz
07-03-2004, 01:54 AM
Got it sorted out thanks.

I had accidentally deleted the semicolon somehow. :o

Jason McConnell
07-03-2004, 01:55 AM
Check the FAQ that came with your download of CMPS, specifically the info.php part. Write that up and stick it in your forums directory, then open it up in a browser. Press Ctrl+F and enter this into the search box: _SERVER["PATH_TRANSLATED"]. That will give you the absolute path to your forum ;)

Jason McConnell
07-03-2004, 01:56 AM
d'oh, I wasn't in time to see your last post! Congrats :D I had alot of trouble with that one :)