vb.org Archive

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

vrokar 04-10-2008 02:18 PM

Parse Error Help
 
Being stuck at work I have no way of counting the lines properly.

Parse error: syntax error, unexpected T_VARIABLE in /home/siphon/public_html/forums/newthread.php(71) : eval()'d code on line 275

Its for a Form Hack that was working perfectly when I went to bed last night. When I got up this morning and came to work it was dead. Any ideas?

Forgot to mention the link where the error pops up is as follows

http://www.silentreality.net/forums/...ad.php?do=form

It is only linked to through 1 post and the main page.

Opserty 04-10-2008 02:24 PM

Find the Plugin attached to the hook on line 71 of newthread.php. You have and error on Line 275 of that Plugin PHP code.

If you don't know PHP you need to consult the Plugin's author on how to remove the error.

vrokar 04-10-2008 02:26 PM

Quote:

Originally Posted by Opserty (Post 1487493)
Find the Plugin attached to the hook on line 71 of newthread.php. You have and error on Line 275 of that Plugin PHP code.

If you don't know PHP you need to consult the Plugin's author on how to remove the error.

Ive been trying to contact him. When Plugins/Hooks are disabled the newthread works so I know its an addon. Im just not sure which one. As for knowing php..I know a little. But im stuck with word for my editor at work. No way to find line 275 without manually counting.

Lynne 04-10-2008 02:37 PM

You also said in the other thread that you copied the form. My guess is you screwed something up here. You either simply renamed the template, thinking you were copying it that way (it won't) or you have done something to confuse the form with the two form templates. You need to undo whatever you did yesterday.

The best place to get help for this is in the form hack thread where people actually know the hack and can help with these issues.

Opserty 04-10-2008 02:37 PM

Disable your Plugins and hooks and enable them one by one until you narrow down the problem. It will probably be a Plugin with the Hook Location newthread_***.

(Plugin Manger: AdminCP > Plugins & Products > Plugin Manager)

As for you editor, you can use Notepad (it has a Goto Line option) or download a free PHP Editor, there are loads, notepad++, PHP Designer, to name but a few; just to a google search for them)

vrokar 04-10-2008 03:07 PM

Quote:

Originally Posted by Opserty (Post 1487505)
Disable your Plugins and hooks and enable them one by one until you narrow down the problem. It will probably be a Plugin with the Hook Location newthread_***.

(Plugin Manger: AdminCP > Plugins & Products > Plugin Manager)

As for you editor, you can use Notepad (it has a Goto Line option) or download a free PHP Editor, there are loads, notepad++, PHP Designer, to name but a few; just to a google search for them)

Thank you for the help bud. I did narrow it down going 1 at a time. Couldnt for the life of me find the error...so I rebuilt the whole thing and its working great now.


All times are GMT. The time now is 12:01 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.01095 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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