Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 08-23-2019, 02:47 PM
s10sakota's Avatar
s10sakota s10sakota is offline
 
Join Date: Jul 2008
Location: Michigan
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Did I get hacked??

Hi all,

I have a forum at www.ransclan.com\forums

I?m not sure if I got hacked or maybe a file or something got corrupted.

The first issue we had was that I tried to reply to a thread, no matter what I typed, I got an error saying that it was too short.

Now, any thread I click on just gives me a bunch of code. Obviously the forum is currently worthless like this.

Would an experienced vB?er please take a quick look and give me an idea if this can be fixed?

I would very much appreciate any help. I?d sure hate to lose these forums after 11 years!

Thank you,

Mark Pensenstadler
Reply With Quote
  #2  
Old 08-23-2019, 03:15 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What kind of code did it display?
Reply With Quote
  #3  
Old 08-23-2019, 05:02 PM
s10sakota's Avatar
s10sakota s10sakota is offline
 
Join Date: Jul 2008
Location: Michigan
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dave,

It?s a HUGE list of jibber-jabber. Below i will post just a bit of it as it might give you an idea...

Function name must be a string on line 1566 in /home1/ransclan/public_html/forums/includes/class_bbcode.php
#0 /home1/ransclan/public_html/forums/includes/class_bbcode.php(1021): vB_BbCodeParser->parse_array(Array, 1, 1, 0)
#1 /home1/ransclan/public_html/forums/includes/class_bbcode.php(542): vB_BbCodeParser->parse_bbcode('[B][SIZE=4]Welc...', 1, 1, 0)
#2 /home1/ransclan/public_html/forums/includes/class_bbcode.php(456): vB_BbCodeParser->do_parse('[B][SIZE=4]Welc...', 0, 1, 1, 1, true, false, 'on_nl2br', false, 1)
#3 /home1/ransclan/public_html/forums/includes/class_postbit.php(1231): vB_BbCodeParser->parse('[B][SIZE=4]Welc...', 6, '1', false, NULL, NULL, false, 'on_nl2br')
#4 /home1/ransclan/public_html/forums/includes/class_postbit.php(329): vB_Postbit_Post->parse_bbcode()
#5 /home1/ransclan/public_html/forums/showthread.php(1096): vB_Postbit->construct_postbit(Array)
#6 {main}


Fatal error: Function name must be a string on line 1566 in ..../includes/class_bbcode.php in ..../vb/vb.php on line 286
#0 vb_error_handler(256, Function name must be a string on line 1566 in ..../includes/class_bbcode.php , ..../vb/vb.php, 286, Array ([exception] => Error Object ([*message] => Function name must be a string,[Errorstring] => ,[*code] => 0,[*file] => /home1/ransclan/public_html/forums/includes/class_bbcode.php,[*line] => 1566,[Errortrace] => Array ([0] => Array ([file] => /home1/ransclan/public_html/forums/includes/class_bbcode.php,[line] => 1021,[function] => parse_array,[class] => vB_BbCodeParser,[type] => ->,[args] => Array ([0] => Array ([0] => Array ([type] => tag,[name] => b,[name_orig] => B,[option] => ,[closing] => ),[1] => Array ([type] => tag,[name] => size,[name_orig] => SIZE,[option] => 4,[delimiter] => ,[closing] => ),[2] => Array ([type] => text,[data] => Welcome,[3] => Array ([type] => tag,[name] => size,[name_orig] => SIZE,[option] => ,[closing] => 1),[4] => Array ([type] => tag,[name] => b,[name_orig] => B,[option] => ,[closing] => 1),[5] => Array ([type] => text,[data] =>
Reply With Quote
  #4  
Old 08-23-2019, 05:17 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't necessarily have to be caused by a hack. If your host suddenly upgrades the PHP version to something higher then it can cause issues like this.
Reply With Quote
  #5  
Old 08-23-2019, 05:32 PM
s10sakota's Avatar
s10sakota s10sakota is offline
 
Join Date: Jul 2008
Location: Michigan
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I’m using 4.2.2, would upgrading to 4.2.5 fix the issue to be more compatible if the host did upgrade the php?

Thank you,

Mark
Reply With Quote
  #6  
Old 08-23-2019, 06:07 PM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think Dave is onto something... my host upgraded me to PHP7 and had to go back to PHP5.6 with 4.2.5.

As for upgrading to 4.2.5 - if you are running an early version of 4.2.2, I recall there being a security patch that was needed (patch 6?? )
Reply With Quote
Благодарность от:
In Omnibus
  #7  
Old 08-23-2019, 06:19 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's always a good idea to upgrade to the latest version as it also contains bug fixes.
If you upgrade to the latest vBulletin 4 version and verify that you are running PHP 7, things should work.

If they don't work, it's possible you have a plugin installed that doesn't work properly with your current (newer) PHP version.
Reply With Quote
  #8  
Old 08-23-2019, 07:16 PM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scottkoz20 View Post
I think Dave is onto something... my host upgraded me to PHP7 and had to go back to PHP5.6 with 4.2.5.

As for upgrading to 4.2.5 - if you are running an early version of 4.2.2, I recall there being a security patch that was needed (patch 6?? )
There were several that were needed but I recall that being one of them.
Reply With Quote
  #9  
Old 08-24-2019, 02:20 PM
Daryn Daryn is offline
 
Join Date: Nov 2008
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'll need a supported version of PHP to do the upgrading anyway, o I would see if you can get PHP 5.6 running for the time-being. Once that's working upgrade to 4.2.5 for the bug fixes and security improvements. Then, I'd switch to PHP 7.1 which is the highest PHP version vb4 can use. PHP 7 offers a lot of performance improvements, so it's worth the hassle to get it going.
Reply With Quote
  #10  
Old 08-25-2019, 07:55 PM
s10sakota's Avatar
s10sakota s10sakota is offline
 
Join Date: Jul 2008
Location: Michigan
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You guys are amazing and I can’t tell you how much I appreciate your help and guidance. I had Bluehost reset the php to 5.6 and now the forums work!

I will upgrade the forum vB software and then up the php to 7.1 per your suggestions.

I have another question which is probably related to this issue. I also run another vB forum and at about the same time, that forum completely disappeared except for the bottom of the forum where it tells you about the Users. Everything else is completely gone! That is version 4.2.5

Any idea what happened there and if there is a way to recover this forum?

It is located at: www.titanaircorps.com/tacforums/forum.php

If you want, you can click and take a look at what I mean about it all being gone except the bottom!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:04 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.08436 seconds
  • Memory Usage 2,253KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete