vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Hacked? Unusual Board Error (https://vborg.vbsupport.ru/showthread.php?t=301886)

Mr.Danko Jones 09-04-2013 03:10 PM

Hacked? Unusual Board Error
 
http://board.gscentral.org/forum.php shows this error message:

Quote:

Parse error: syntax error, unexpected ';' in /www/htdocs/w0082736/includes/init.php(336) : eval()'d code on line 416
Unable to add cookies, header already sent.
File: /www/htdocs/w0082736/includes/init.php(336) : eval()'d code
Line: 416
I have tried checking the init.php file and replaced the file (which hadn't been modified apparently) with the default one from vBulletin and it still didn't fix things.

Any help? :)

ozzy47 09-04-2013 03:14 PM

Have you recently installed any mods? Lets test and see if it is a mod causing it.

Open your config.php and below<?php add this line:

PHP Code:

 define('DISABLE_HOOKS'true); 

So it looks like this:
PHP Code:

<?php
define
('DISABLE_HOOKS'true);
/*=================================================  =====================*\
|| ##################################################  ################## ||
|| # vBulletin 4.1.4

Then check your site and see if the issue still persists, you must remove the define('DISABLE_HOOKS', true); from the config.php if you want the mods running again.

nerbert 09-04-2013 04:40 PM

Parse error: syntax error, unexpected ';' in /www/htdocs/w0082736/includes/init.php(336) : eval()'d code on line 416

The problem is on line 416 of some plugin. See if you can find one that goes in a hook location that sounds like something that would be found in init.php

tbworld 09-04-2013 08:28 PM

Quote:

Originally Posted by Mr.Danko Jones (Post 2443194)
I have tried checking the init.php file and replaced the file (which hadn't been modified apparently) with the default one from vBulletin and it still didn't fix things.
Any help? :)

Follow @Nerbert's suggestion, but this might help.

Look for plugins on "init_startup"...

In the plugin manager if you click on "Hook Location" on the top header bar -- it will sort by hooks.

Mr.Danko Jones 09-05-2013 02:56 PM

Turned off the plug-ins...back came the boards! Thanks for the idea. Now to find out what plug-in is doing it! :)

ozzy47 09-05-2013 10:13 PM

Disable all the mods, then remove that line from the config.php

Then re enable each one till you find the culprit.

squidsk 09-06-2013 12:55 PM

This may also be related to: https://vborg.vbsupport.ru/showthread.php?t=301904.

ozzy47 09-06-2013 08:13 PM

Nah I don't believe so, it is a modification that is causing the error.


All times are GMT. The time now is 01:50 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.01696 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_php_printable
  • (2)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