Support » Fixing WordPress » PHP Fatal error with nginx

  • pablorodriguez



    I’m having, in a PHP form, when I’m submiting one email as a suscriber in a WordPress theme, the next error in error.log:

    2013/08/03 21:39:22 [error] 19544#0: *11 FastCGI 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/ on line 151

    PHP message: PHP Fatal error: require_once(): Failed opening required ‘TEMPLATEPATH/functions/theme-functions.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /web/ on line 151″ while reading response header from upstream, client:, server:, request: “POST /wp-content/themes/launcheffect/post.php HTTP/1.1”, upstream: “fastcgi://”, host: “”, referrer: “”

    I’ve been reading about permissions, about nginx and fastcgi, about PHPfpm, reviewing my config…without success, including some similar questions here. More, I’ve other sites working perfectly, and that theme worked well some days ago.

    Of course I’ve that file/directory.

    My nginx.conf:

    Can anyone help me to solve this error?

    Thanks in advance!

  • The topic ‘PHP Fatal error with nginx’ is closed to new replies.