当我在 Wordpress 主题中以订阅者的身份提交一封电子邮件时,我在 PHP 表单中遇到了 error.log 中的下一个错误:
2013/08/03 21:39:22 [错误] 19544#0: *11FastCGI sent in stderr: "PHP message: PHP Warning: require_once(TEMPLATEPATH/functions/theme-functions.php): failed to open stream: No such file or directory in /web/domain.com/public/wp-content/themes/launcheffect/functions.php on line 151
PHP消息:PHP Fatal error: require_once(): Failed opening required 'TEMPLATEPATH/functions/theme-functions.php' (include_path='.:/usr/share/php:/usr/share/pear') in /web/domain.com/public/wp-content/themes/launcheffect/functions.php on line 151" while reading response header from upstream, client: 71.28.74.212, server: www.domain.com, request: "POST /wp-content/themes/launcheffect/post.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.domain.com", referrer: "http://www.domain.com/"
我一直在阅读有关权限、关于 nginx 和 fastcgi、关于 PHPfpm、查看我的配置的信息……但没有成功。此外,我还有其他网站运行良好,而且该主题几天前运行良好。
当然我有那个文件/目录。
我的 nginx.conf:
谁能帮我解决这个错误?
提前致谢!