View Single Post
  #147  
Old 12-28-2009, 03:16 AM
teenhut teenhut is offline
 
Join Date: Sep 2006
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Darkimmortal View Post
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
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01186 seconds
  • Memory Usage 1,784KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete