vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Functions_Showthread Error (https://vborg.vbsupport.ru/showthread.php?t=74273)

DannyBoy8406 01-12-2005 07:09 PM

Functions_Showthread Error
 
Ok, I'm having an error in my functions_showthread file that I cannot figure out. I have installed some hacks, but this file has not been touched. I have tried unzipping and reuploading a fresh copy and that still did not fix the errors I'm getting. The two errors I'm getting refer to the same line in the file.... I don't know what it wrong as there isn't anything on the line excet a "}" Everything else on the board is working fine and the erros only show up when I try to view a thread.... No posts are showing up in the threads at all. I'm attaching a copy of the functions_showthread I'm using and here are the two errors I'm receiving:

PHP Code:

Parse errorparse errorunexpected T_ENCAPSED_AND_WHITESPACEexpecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/screeng/public_html/includes/functions_showthread.php(640) : eval()'d code on line 38

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/screeng/public_html/includes/functions_showthread.php(640) : eval()'
d code on line 38

Parse error
parse errorunexpected T_ENCAPSED_AND_WHITESPACEexpecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/screeng/public_html/includes/functions_showthread.php(640) : eval()'d code on line 38

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/screeng/public_html/includes/functions_showthread.php(640) : eval()'
d code on line 38 

PHP Code:

Unable to add cookiesheader already sent.
File: /home/screeng/public_html/includes/functions_showthread.php(640) : eval()'d code
Line: 38 


rake 01-12-2005 07:19 PM

Remove the file you have attached. You are NOT allowed to attach entire vBulletin files, and you have also made your LICENCE NUMBER publically viewable, since it's in the header of that file.

If it's a fresh copy, it won't do you any good anyway. The error comes from somewhere else, probably showthread.php.

DannyBoy8406 01-12-2005 08:52 PM

Quote:

Originally Posted by rake
Remove the file you have attached. You are NOT allowed to attach entire vBulletin files, and you have also made your LICENCE NUMBER publically viewable, since it's in the header of that file.

If it's a fresh copy, it won't do you any good anyway. The error comes from somewhere else, probably showthread.php.

Ok, my bad.... anywyas that still did not fix it... I had no idea what to do so I did a total reinstall of my VB (I was just setting it up anyways....) and the error is still there! this is very frustration... what culd be wrong!?

Marco van Herwaarden 01-12-2005 08:59 PM

You have been changing any templates?

rake 01-13-2005 06:18 AM

this is the piece of code that's causing the errors:

eval('$retval = "' . fetch_template($maintemplatename) . '";');

and it's in the construct_postbit function. Revert your postbit templates.


All times are GMT. The time now is 08:40 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01058 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete