Warning: main(/html_head.php): failed to open stream: No such file or directory in

我的网站一打开就这样,那们朋友帮忙看看怎么回事?我的硬盘全是FAT格式的.Warning:main(/html_head.php):failedtoopenstream:... 我的网站一打开就这样,那们朋友帮忙看看怎么回事?我的硬盘全是FAT格式的.
Warning: main(/html_head.php): failed to open stream: No such file or directory in D:\site\p-t.com.cn\index2.php on line 44

Warning: main(): Failed opening '/html_head.php' for inclusion (include_path='.;c:\php4\pear') in D:\site\p-t.com.cn\index2.php on line 44

Warning: main(/html_index.php): failed to open stream: No such file or directory in D:\site\p-t.com.cn\index2.php on line 46

Warning: main(): Failed opening '/html_index.php' for inclusion (include_path='.;c:\php4\pear') in D:\site\p-t.com.cn\index2.php on line 46

Warning: main(/html_foot.php): failed to open stream: No such file or directory in D:\site\p-t.com.cn\set_foot.php on line 4

Warning: main(): Failed opening '/html_foot.php' for inclusion (include_path='.;c:\php4\pear') in D:\site\p-t.com.cn\set_foot.php on line 4

配置文件:
配置文件:
http://hi.baidu.com/lxq73061/blog/item/817e2f12676db150f819b8e5.html
展开
 我来答
chaosshi
2007-03-21
知道答主
回答量:14
采纳率:0%
帮助的人:0
展开全部
有时候运行phpmyadmin时会遇到这样问题!解决方法两种,如果这两种都解决不了你的问题,你干脆重装!

问题1:

Warning: session_write_close(): open(/tmp\sess_847b8fce6866c2511ca41dbb0c04f3ec, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Group\Apache2\htdocs\phpMyAdmin\index.php on line 44

Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in C:\Program Files\Apache Group\Apache2\htdocs\phpMyAdmin\index.php on line 44

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\phpMyAdmin\index.php:44) in C:\Program Files\Apache Group\Apache2\htdocs\phpMyAdmin\index.php on line 105

问题1解决 :

把C:\WINDOWS\TEMP 这个文件夹权限 加上everyone权限
然后在打开网页试一下,你马上就能在文件夹下看到这个文件“sess_0cc9095f59d0c249da49b3885e4f9608”

问题2:

Warning: session_write_close() [function.session-write-close]: open(D:\Server\PHP\sessiondata\sess_e70f19b251c2d5e1cd8ebd4950689087, O_RDWR) failed: No such file or directory (2) in D:\Forum\phpMyAdmin\index.php on line 44

Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (D:\Server\PHP\sessiondata) in D:\Forum\phpMyAdmin\index.php on line 44

问题2解决 :

这时只需要在相应的位置建立如下的文件夹即可: D:\Server\PHP\sessiondata
getbizhelp
2007-03-18
知道答主
回答量:30
采纳率:0%
帮助的人:0
展开全部
index2.php的源文件给出来,你给了个配置的东西看不出来的,这个基本是文件include的目录不对头
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式