开发者

Error: chdir() (errno 20) [closed]

It's difficult to tell what is being asked here. T开发者_StackOverflow社区his question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I have this error when I'm trying to use chdir() in one of my pages:

Warning: chdir() [function.chdir]: Not a directory (errno 20) in /home/**/public_html/index2.php on line 3

I have googled the error and found nothing concerning this error... What could be causing it? file permissions? And how can this be fixed?


it usually means, that you try to access an object, which is not a directory. This may be checked via is_dir(...).


From the chdir(2) man page:

   ENOTDIR
          A component of path is not a directory.

So, you're trying to change to something that is some other type of file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜