Quote:
Originally Posted by Darkimmortal
Well I'm running it on nginx too without any problems :/
Anyway go to your product table in the database and set the 'active' field to 0.
|
Did that, but site still doesnt work.
Following is the error I see in error log and cant figure out whats wrong
Quote:
Originally Posted by error
2009/12/27 16:54:29 [error] 6470#0: *2958 FastCGI sent in stderr: "PHP Parse error: syntax error, unexpected '<' in /usr/share/nginx/html/teenhut.net/includes/class_core.php(3900) : eval()'d code on line 1" while reading response header from upstream, client: 98.240.246.113, server: teenhut.net, request: "GET /search.php?do=getdaily&contenttype=vBForum_Post HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "http://www.teenhut.net", referrer: "http://www.teenhut.net/search.php?do=finduser&userid=9515&contenttype=vBF orum_Post&showposts=1"
2009/12/27 16:54:37 [error] 6470#0: *2989 FastCGI sent in stderr: "PHP Parse error: syntax error, unexpected '<' in /usr/share/nginx/html/teenhut.net/includes/class_core.php(3900) : eval()'d code on line 1" while reading response header from upstream, client: 67.195.37.185, server: teenhut.net, request: "GET /members/list/l101.html HTTP/1.0", upstream: "fastcgi://127.0.0.1:9000", host: "http://www.teenhut.net"
2009/12/27 16:54:39 [error] 6470#0: *2958 FastCGI sent in stderr: "PHP Parse error: syntax error, unexpected '<' in /usr/share/nginx/html/teenhut.net/includes/class_core.php(3900) : eval()'d code on line 1" while reading response header from upstream, client: 98.240.246.113, server: teenhut.net, request: "GET /search.php?do=finduser&userid=9515&contenttype=vBF orum_Post&showposts=1 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "http://www.teenhut.net", referrer: "http://74.125.95.132/search?q=cache:y5YgTxgssWcJ:www.teenhut.net/teen-sexuality/12259-scrotum-ball-sizes-pictures.html+scrotum+pictures&cd=6&hl=en&ct=clnk& gl=us"
|
there are millions of such errors in error.log file. My host said there is something wrong with template code.
Quote:
Originally Posted by host
This refers to some syntax error in the file /usr/share/nginx/html/teenhut.net/includes/class_core.php.
The line number 3900 is included in the following code snippet:
```````````````
$template_code = self::fetch_template($this->template);
if (strpos($template_code, '$final_rendered') !== false)
{
eval($template_code);
}
else
{
eval('$final_rendered = "' . $template_code . '";');
}
if ($vbulletin->options['addtemplatename'] AND !$suppress_html_comments)
{
$template_name = preg_replace('#[^a-z0-9_]#i', '', $this->template);
$final_rendered = "<!-- BEGIN TEMPLATE: $template_name -->\n$final_rendered\n<!-- END TEMPLATE: $template_name -->";
}
```````````````
This could be due to some issue with the template files of the bulletin. Are you aware of any recent changes/upgrades in the server or any plugins installed in the forum which might have caused this issue?
The other PHP files on the server are working fine.
Please have your developer or a vBulletin expert look into this issue. If the troubleshooting requires any assistance on the server side, let us know.
|
Thanks,
Not sure if it has anything to do with your product now, i made active field to 0, but still doesnt work. But if you can help out with anything, it will be really great