帮助解决路径问题? [英] Help with path issue?
问题描述
我的托管网络服务器上有一个名为Snoopy.class.php的文件位于名为d:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\插件\
名为dahnielson_mimetex.php的文件引用它。然而,当
dahnielson_mimetex.php试图引用史努比文件时,我得到了这些
类型的错误:
警告:main()[function.include]:打开失败
''。/ Sofo.class.php''包含
(include_path =''。 ; C:\ _pp5 \\\'''在
d:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\第34行
编写Snoopy文件的人试图帮助我,但这并不是很好。你可以在这里看到他的建议
http://www.anlak.com /?page_id = 66 。
有没有人知道如何解决这个问题?
谢谢,
Brett
I have a file named Snoopy.class.php on my hosted web server in a
directory called d:\home\ABC.COM\blog\wp-content\plugins\
A file named dahnielson_mimetex.php references it. However, when
dahnielson_mimetex.php tries to reference the Snoopy file, I get these
types of errors:
Warning: main() [function.include]: Failed opening
''./Snoopy.class.php'' for inclusion
(include_path=''.;C:\php5\pear'') in
d:\home\ABC.COM\blog\wp-content\plugins\dahnielson_mimetex.php
on line 34
The person that wrote the Snoopy file tried to help me but it isn''t
going so well. You can see his suggestions here
http://www.anlak.com/?page_id=66.
Does any one have ideas on how I can fix this?
Thanks,
Brett
推荐答案
你可能会尝试使用:
require_one(dirname(__ FILE__)。''\\Snoopy.class.php'');
Hi,
You might try using:
require_one(dirname(__FILE__) . ''\\Snoopy.class.php'');
>来自dahnielson_mimetex.php。问题可能与使用PHP ISAPI模块的当前
>From dahnielson_mimetex.php. Issue may be related to the current
工作目录有关?不确定。
brett写道:
working directory using the PHP ISAPI module? Not sure.
brett wrote:
我的托管网络服务器上有一个名为Snoopy.class.php的文件一个名为d:\ home \ ABC.COM \ blog \ wp-content \plugins \
目录名为dahnielson_mimetex的文件.php引用它。然而,当
dahnielson_mimetex.php试图引用史努比文件时,我得到了这些
类型的错误:
警告:main()[function.include]:打开失败
''。/ Sofo.class.php''包含
(include_path =''。 ; C:\ _pp5 \\\'''在
d:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\第34行
编写Snoopy文件的人试图帮助我,但这并不是很好。你可以在这里看到他的建议
http://www.anlak.com /?page_id = 66 。
有没有人知道如何解决这个问题?
谢谢,
Brett
I have a file named Snoopy.class.php on my hosted web server in a
directory called d:\home\ABC.COM\blog\wp-content\plugins\
A file named dahnielson_mimetex.php references it. However, when
dahnielson_mimetex.php tries to reference the Snoopy file, I get these
types of errors:
Warning: main() [function.include]: Failed opening
''./Snoopy.class.php'' for inclusion
(include_path=''.;C:\php5\pear'') in
d:\home\ABC.COM\blog\wp-content\plugins\dahnielson_mimetex.php
on line 34
The person that wrote the Snoopy file tried to help me but it isn''t
going so well. You can see his suggestions here
http://www.anlak.com/?page_id=66.
Does any one have ideas on how I can fix this?
Thanks,
Brett
也许它不是IIS问题....不知道!你的环境是什么?
pe ******* @ gmail.com 写道:
Maybe it''s not an IIS issue.... Don''t know! What''s your environment?
pe*******@gmail.com wrote:
您可以尝试使用:
require_one(dirname(__ FILE__)。''\\Snoopy.class.php'');
Hi,
You might try using:
require_one(dirname(__FILE__) . ''\\Snoopy.class.php'');
来自dahnielson_mimetex.php。问题可能与使用PHP ISAPI模块的当前
From dahnielson_mimetex.php. Issue may be related to the current
工作目录有关?不确定。
brett写道:
working directory using the PHP ISAPI module? Not sure.
brett wrote:
我的托管网络服务器上有一个名为Snoopy.class.php的文件一个名为d:\ home \ ABC.COM \ blog \ wp-content \plugins \
目录名为dahnielson_mimetex的文件.php引用它。然而,当
dahnielson_mimetex.php试图引用史努比文件时,我得到了这些
类型的错误:
警告:main()[function.include]:打开失败
''。/ Sofo.class.php''包含
(include_path =''。 ; C:\ _pp5 \\\'''在
d:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\第34行
编写Snoopy文件的人试图帮助我,但这并不是很好。你可以在这里看到他的建议
http://www.anlak.com /?page_id = 66 。
有没有人知道如何解决这个问题?
谢谢,
Brett
I have a file named Snoopy.class.php on my hosted web server in a
directory called d:\home\ABC.COM\blog\wp-content\plugins\
A file named dahnielson_mimetex.php references it. However, when
dahnielson_mimetex.php tries to reference the Snoopy file, I get these
types of errors:
Warning: main() [function.include]: Failed opening
''./Snoopy.class.php'' for inclusion
(include_path=''.;C:\php5\pear'') in
d:\home\ABC.COM\blog\wp-content\plugins\dahnielson_mimetex.php
on line 34
The person that wrote the Snoopy file tried to help me but it isn''t
going so well. You can see his suggestions here
http://www.anlak.com/?page_id=66.
Does any one have ideas on how I can fix this?
Thanks,
Brett
你在主机上有open_basedir或safe_mode吗?也许那个'搞乱了
w /某事。
brett写道:
Do you have open_basedir or safe_mode on the host? Maybe that''s messing
w/something.
brett wrote:
我有我的托管Web服务器上名为Snoopy.class.php的文件位于
目录中,名为d:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ />
名为dahnielson_mimetex.php的文件引用它。然而,当
dahnielson_mimetex.php试图引用史努比文件时,我得到了这些
类型的错误:
警告:main()[function.include]:打开失败
''。/ Sofo.class.php''包含
(include_path =''。 ; C:\ _pp5 \\\'''在
d:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\第34行
编写Snoopy文件的人试图帮助我,但这并不是很好。你可以在这里看到他的建议
http://www.anlak.com /?page_id = 66 。
有没有人知道如何解决这个问题?
谢谢,
Brett
I have a file named Snoopy.class.php on my hosted web server in a
directory called d:\home\ABC.COM\blog\wp-content\plugins\
A file named dahnielson_mimetex.php references it. However, when
dahnielson_mimetex.php tries to reference the Snoopy file, I get these
types of errors:
Warning: main() [function.include]: Failed opening
''./Snoopy.class.php'' for inclusion
(include_path=''.;C:\php5\pear'') in
d:\home\ABC.COM\blog\wp-content\plugins\dahnielson_mimetex.php
on line 34
The person that wrote the Snoopy file tried to help me but it isn''t
going so well. You can see his suggestions here
http://www.anlak.com/?page_id=66.
Does any one have ideas on how I can fix this?
Thanks,
Brett
这篇关于帮助解决路径问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!