终于出现错误提示了 代码调试 Warning: include(codehtml) [function.include]: failed to open stream: No such file or directory in F:\Website\WP\wp-content\themes\twentyten\code-debugging.php on line 115Warning: include() [function.include]: Failed opening 'codehtml' for inclusion (include_path='.;C:\php5\pear') in F:\Website\WP\wp-content\themes\twentyten\code-debugging.php on line 115
使用它的 php 程序在另一个目录里、也可能在他的上级目录里
如果 js、css、图片的路径不是使用以网站根为参照的路径时,运行时就会不正常
代码调试
Warning: include(codehtml) [function.include]: failed to open stream: No such file or directory in F:\Website\WP\wp-content\themes\twentyten\code-debugging.php on line 115Warning: include() [function.include]: Failed opening 'codehtml' for inclusion (include_path='.;C:\php5\pear') in F:\Website\WP\wp-content\themes\twentyten\code-debugging.php on line 115
这样?
是 codehtml 目录吗? 还是 code.html 文件?
F:\Website\WP\wp-content\themes\twentyten\code-debugging.php 第 115 行处的 code.html 写错了,写成了 codehtml