vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   4.2.2 Upgraders, Check your Advanced Search (https://vborg.vbsupport.ru/showthread.php?t=303430)

Paul M 01-20-2015 06:18 PM

Quote:

Originally Posted by nerbert (Post 2533448)
I didn't research this or test it .....

Clearly not, since it was fixed in 4.2.2.

nerbert 01-20-2015 07:32 PM

Quote:

Originally Posted by Paul M (Post 2533577)
Clearly not, since it was fixed in 4.2.2.

I'm running 4.2.2 and it's been throwing warnings all the time in Who's Online. There's still another occasional warning associated with another line of code that I'm not sure how to fix.


Code:

/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 4.2.2 Patch Level 1 - Licence Number XXXXXXXXXXX
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2000-2014 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/


/*======================================================================*\
|| ####################################################################
|| # Downloaded: 18:15, Sat Aug 2nd 2014
|| # CVS: $RCSfile$ - $Revision: 61394 $
|| ####################################################################
\*======================================================================*/

I edited it because it was throwing warnings.

ozzy47 01-20-2015 08:17 PM

Well, you should be running 4.2.2 pl4 as you are running a outdated version with known security issues. :)

nerbert 01-20-2015 09:01 PM

Quote:

Originally Posted by ozzy47 (Post 2533596)
Well, you should be running 4.2.2 pl4 as you are running a outdated version with known security issues. :)

My other admin will have time for an upgrade this weekend. Meanwhile I modified the modcp directory name.

squidsk 01-20-2015 09:35 PM

Quote:

Originally Posted by Paul M (Post 2533577)
Clearly not, since it was fixed in 4.2.2.

Sorry that code is not fixed in 4.2.2PL1, 4.2.2PL2 or 4.2.2PL4, I haven't checked 4.2.2PL3 but I'd be surprised if it was fixed there.

The code on line 516 of includes/functions_online.php is:
Code:

else if ($userinfo['values']['do'] == 'editfolders' OR $userinfo['action']['do'] == 'updatefolders')
instead of:
Code:

else if ($userinfo['values']['do'] == 'editfolders' OR $userinfo['values']['do'] == 'updatefolders')
Now it isn't a game breaking bug, as the only consequence of that typo is that if a user is updating their folder there won't be a corresponding specific action entry and the user will get the generic 'private_messaging' entry, but it should still be fixed given the actual fix required.

Paul M 01-20-2015 10:28 PM

Hmmm, well my test forum is supposedly running 4.2.2, and its fixed :confused:

I also know its fixed in core, as I remember doing it. I guess I'll have to look at SVN later.

Paul M 01-20-2015 11:15 PM

Ah well, I found it ;
http://tracker.vbulletin.com/browse/VBIV-15962

Apparently I fixed it last summer, so its in 4.2.3, not 4.2.2

My apologies, I guess I must have tested it locally and never reverted the change.

ForceHSS 01-20-2015 11:19 PM

in 4.2.3 it is
Code:

else if ($userinfo['values']['do'] == 'editfolders' OR $userinfo['values']['do'] == 'updatefolders')
line 518

ozzy47 01-20-2015 11:27 PM

Quote:

Originally Posted by ForceHSS (Post 2533634)
in 4.2.3 it is
Code:

else if ($userinfo['values']['do'] == 'editfolders' OR $userinfo['values']['do'] == 'updatefolders')
line 518

Which would be the correct fix. :)

ForceHSS 01-21-2015 12:04 AM

Quote:

Originally Posted by ozzy47 (Post 2533635)
Which would be the correct fix. :)

Reason why I posted was showing it was there


All times are GMT. The time now is 03:21 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.02059 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete