douchuang1852 2011-11-10 22:37
浏览 39
已采纳

仅在IE上出现奇怪的PHP行为

I've got one hell of a challenge for you today.

Please visit: http://catalogue.anp.ca/products/

Using Internet Explorer, you get, at the end of the source code:

<br />
<b>Warning</b>:  Unknown: open(/services/webdata/php_sessions/sess_1baadca499c102cae0796f91e6aa45e6, O_RDWR) failed: Permission denied (13) in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/services/webdata/php_sessions) in <b>Unknown</b> on line <b>0</b><br />

But it never happens if you use another browser. It only happens on IE.

Further more, note that this is a PHP error, so there must be something going on with IE, like in the headers or something. I flushed all my data, cookies, passwords, session data, history everything and the error still pops out.

Usually, this error is related to permissions on the server, but in this case the server is supposed to work fine, in fact, it does work fine for all other browsers except IE.

Can anyone give me pointers as to what is happening?

EDIT: NOTE, before more people try to answer, DISPLAY_ERRORS is now off, you will never get the error anymore, don't post to say that you don't see the error

Just try and see if you can come up with a valid reason why only IE shows this error. I'm leaving this open just out of curiosity...

  • 写回答

2条回答 默认 最新

  • douweidao3882 2011-11-30 19:19
    关注

    Seems there was a caching issue but where, many new browsers we try don't show this error while all our old browsers still show it if i don't hide the errors... So i dedided to hide errors and it solved my weird problem...

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 matlab答疑 关于海上风电的爬坡事件检测
  • ¥88 python部署量化回测异常问题
  • ¥30 酬劳2w元求合作写文章
  • ¥15 在现有系统基础上增加功能
  • ¥15 远程桌面文档内容复制粘贴,格式会变化
  • ¥15 关于#java#的问题:找一份能快速看完mooc视频的代码
  • ¥15 这种微信登录授权 谁可以做啊
  • ¥15 请问我该如何添加自己的数据去运行蚁群算法代码
  • ¥20 用HslCommunication 连接欧姆龙 plc有时会连接失败。报异常为“未知错误”
  • ¥15 网络设备配置与管理这个该怎么弄