Thread: F.A.Q Thread
View Single Post
  #2  
Old 04 Jan 2005, 01:56
Tigga's Avatar
Tigga Tigga is offline
 
Join Date: Dec 2001
Real name: Brian
Q. I get an error like this when I go to my cmps_index.php file:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/yoursite/html/adv_index.php on line 8

A.The path to your forums directory is set incorrectly.
Download the attachment found at the bottom of this post.

Upload that file to your server into your 'forums' folder and go to it in your browser. You will see a list of options that were set by your host. One of them is called:

_SERVER["PATH_TRANSLATED"]

Copy that path, paste it over what you currently have for your path in the cmps_index.php file, and then remove the trailing '/' from the end. Reupload your cmps_index.php file.
Attached Files
File Type: php phpinfo.php (16 Bytes, 76 views)
__________________
Brian Gunter
vBadvanced