vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Parse error: syntax error, unexpected '} (https://vborg.vbsupport.ru/showthread.php?t=154937)

TalkForGold 08-11-2007 05:05 AM

Parse error: syntax error, unexpected '}
 
Hi, i got the followin error while trying to create a new thread, can someone help me to fix it.
PHP Code:

 Parse errorsyntax errorunexpected '}' in /home/talk/public_html/newthread.php(465) : eval()'d code on line 13 


ZomgStuff 08-11-2007 05:12 AM

Did you recently install any new mods? If so, try disabling them one by one to find out the culprit.

TalkForGold 08-11-2007 05:15 AM

Yes i have added about around 15 modifications and i have only edited template files. I havent even touched those script files and i tried to check the newthread.php file but the scripts were same as orginal so where is that error happening.

ZomgStuff 08-11-2007 05:17 AM

You don't have to edit those script files, most mods have hooks that can cause errors if not coded corectly. Make sure all the hacks that you installed are currently supported by your vBulletin version.

It's one of the hacks causing this problem so you're going to have to go backwords and disable them one at a time until you find which one's hook is causing the error.

Knippschild 08-11-2007 05:18 AM

Yes, that appears to be a typo in a plugin. eval() is used in plugins.

For future reference, test basic features after installing each modification, that way you know if something is screwed up rather than having to go through each of them at a later date.

TalkForGold 08-11-2007 05:21 AM

I found it :) i have Icash Paid Topic Hack Installed, i checked disabling all the mods and finally i found the error was by that hack,
thanx guyz for the suggestion and i would like to ask one more thing how do i display subboards in the forum home, is there a hack for it i tried to search but was unabe to find
thanx

ZomgStuff 08-11-2007 05:25 AM

Quote:

Originally Posted by TalkForGold (Post 1315018)
I found it :) i have Icash Paid Topic Hack Installed, i checked disabling all the mods and finally i found the error was by that hack,
thanx guyz for the suggestion and i would like to ask one more thing how do i display subboards in the forum home, is there a hack for it i tried to search but was unabe to find
thanx

Already answered your question here:
https://vborg.vbsupport.ru/showthread.php?t=154929

TalkForGold 08-11-2007 06:08 AM

thanx


All times are GMT. The time now is 01:43 AM.

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.01042 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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