Welcome! Log In Create A New Profile

Advanced

PHP Fatal error with nginx

Posted by pablo.rodriguez 
PHP Fatal error with nginx
August 04, 2013 03:28AM
Hello!

I'm having, in a PHP form, when I'm submiting one email, 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/domain.com/public/wp-content/themes/launcheffect/functions.php 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/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/"

I've been reading about permissions, about nginx and fastcgi, about PHPfpm,
reviewing my config...without success.

Of course I've that file/directory.

My nginx.conf:

http://pastebin.com/5VB1BzHj

Can anyone help me to solve this error?

Thanks in advance!

--

---
You received this message because you are subscribed to the Google Groups "highload-php-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 43
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready