【问题标题】:Warning: include(lang/1%00'=1.php): failed to open stream: No such file or directory in C:\xampplite\security\htdocs\index.php on line 12警告:include(lang/1%00'=1.php):无法打开流:第 12 行的 C:\xampplite\security\htdocs\index.php 中没有这样的文件或目录
【发布时间】:2015-10-22 21:25:07
【问题描述】:

在这里遇到一个非常奇怪的错误。我正在通过 ServerPress(称为 localhost.dev)在本地开发一个 WordPress 网站。除了 url localhost.dev/security 之外,一切正常。我正在尝试为页面提供此 URL,但是当我这样做时,页面上会显示以下错误。我以前从未遇到过这种情况,有人知道我该如何解决这个问题吗?

( ! ) 警告:include(lang/1%00'=1.php): failed to open stream: No such file or directory in C:\xampplite\security\htdocs\index.php on line 12

( ! ) 警告:include(): 未能打开 'lang/1%00'=1.php' 以在 C:\xampplite\ 中包含 (include_path='.;C:\xampplite\php\PEAR')第 12 行的 security\htdocs\index.php

Image of error

【问题讨论】:

  • C:\xampplite\security\htdocs\index.php on line 12 有什么内容?

标签: php wordpress xampp


【解决方案1】:

似乎有人遇到了同样的问题:

在文件lang.tmp 只写en 设置英文,一切都会正确。

https://community.apachefriends.org/f/viewtopic.php?t=68507&p=242365

【讨论】:

  • 感谢您找到这个,它已经摆脱了错误消息。现在,当我转到 localhost.dev/security 时,它会将我带到 XAMPP 安全页面。一旦我将它移动到我的暂存服务器在线而不是使用 XAMPP/ServerPress 在本地,这种情况就会消失。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2016-07-24
  • 2012-11-21
  • 1970-01-01
  • 1970-01-01
  • 2014-02-17
  • 2017-06-20
  • 2017-06-04
相关资源
最近更新 更多