Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 10-09-2013, 11:14 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I can turn ALL of my mods off and I still can't upload an attachment.
You should log a support ticket for that, I dont recall any particular changes to attachments.
Reply With Quote
  #22  
Old 10-09-2013, 11:14 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, there is alot going on, thanks for understanding.
Reply With Quote
  #23  
Old 10-09-2013, 11:52 PM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul, we all greatly appreciate your time and work but this upgrade really turned out more problematic that anyone had expected...errors popping everywhere after upgrade, templates broken.
Reply With Quote
  #24  
Old 10-10-2013, 12:04 AM
CarlitoBrigante's Avatar
CarlitoBrigante CarlitoBrigante is offline
 
Join Date: Nov 2002
Location: Iceland
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
There is no bug in the error handler.
Paul, do not be so dismissive, it is silly. 5 forum upgrades today, all with display errors set to off and errors still displaying. Anyhow, I said "I think" in my post. If the error is not in the error handler, could be elsewhere.
Reply With Quote
Благодарность от:
CharlieDelta
  #25  
Old 10-10-2013, 12:11 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
You should log a support ticket for that, I dont recall any particular changes to attachments.
I get a error for attachments as well
Attached Images
File Type: jpg 1.jpg (57.9 KB, 0 views)
File Type: jpg 2.jpg (40.1 KB, 0 views)
Reply With Quote
  #26  
Old 10-10-2013, 12:19 AM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Horrible

Vbulletin needs to release a fix for all these issues, this is no good
Reply With Quote
  #27  
Old 10-10-2013, 01:05 AM
CarlitoBrigante's Avatar
CarlitoBrigante CarlitoBrigante is offline
 
Join Date: Nov 2002
Location: Iceland
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CarlitoBrigante View Post
Paul, do not be so dismissive, it is silly. 5 forum upgrades today, all with display errors set to off and errors still displaying. Anyhow, I said "I think" in my post. If the error is not in the error handler, could be elsewhere.
OK, since I am a stupid bastard, instead of working on my stuff I decided to jump into it, and it looks like I was right. The implementation of the error_handler in vBulletin 4.2.2 is wrong, or at the very least, incomplete.

The final part of the new error handler, the one matching all errors not matched by previous cases, which means also deprecated errors (those most people in the forums have been having problems with) contains this:

Code:
default:
      	if (error_reporting() OR ini_get('display_errors'))
      	{
and vBulletin then proceeds to echo the error.

This means errors will be shown if error_reporting is enabled even if display errors is set to off. A correct implementation of an error_handler needs to follow the configuration settings specified on the server and react accordingly.

More on this here:

http://stackoverflow.com/questions/5...700117#5700117

I do not have the time to submit this to vBulletin's JIRA, so if you guys have the time, do it. I will submit only a trouble ticket for this.
Reply With Quote
  #28  
Old 10-10-2013, 01:10 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I put up a fresh install for testing and the problem with attachments they are still there was just making sure the problem was not with my forums. VB needs to fix this problem now some kind of quick fix in the next hour this should of been tested before it was given out
Reply With Quote
  #29  
Old 10-10-2013, 01:14 AM
CarlitoBrigante's Avatar
CarlitoBrigante CarlitoBrigante is offline
 
Join Date: Nov 2002
Location: Iceland
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And for forum owners, a possible solution to this is just to change this in includes/class_core.php line 5733

Code:
      		if (error_reporting() OR ini_get('display_errors'))
      		{
      			if (defined('DIR'))
      			{
      				require_once(DIR . '/includes/functions_log_error.php');
      				$message = "Warning: $errstr in $errfile on line $errline";
      				log_vbulletin_error($message, 'php');
      			}
to this

Code:
      		if (error_reporting() OR ini_get('display_errors'))
      		{
      			if (defined('DIR'))
      			{
      				require_once(DIR . '/includes/functions_log_error.php');
      				$message = "Warning: $errstr in $errfile on line $errline";
      				log_vbulletin_error($message, 'php');
                                if(!ini_get('display_errors')) return;
      			}
This is a very rushed out solution, and I encourage you guys to double check it as I really really do not have the time (do not want to be mean, I just have been up in front of the monitor for 18 hours straight upgrading stuff already).

--------------- Added [DATE]1381371455[/DATE] at [TIME]1381371455[/TIME] ---------------

Guys, I can confirm I had a similar problem with attachments in a forum and it was, once again, caused by the issue I posted above about warnings coming out at the head of the AJAX response. Using the fix above and hiding the display errors made them work for me.

Not sure this covers also your cases (it does not seem to as some of you are reporting issues with fresh installs which should not contain deprecated messages), but just double check this is not what is causing the problem for you as well.
Reply With Quote
  #30  
Old 10-10-2013, 01:42 AM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
VB needs to fix this problem now some kind of quick fix in the next hour this should of been tested before it was given out
Shame really, never imagined we could come to this.
Reply With Quote
Reply


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 06:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05024 seconds
  • Memory Usage 2,289KB
  • Queries Executed 14 (?)
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
  • (3)bbcode_code
  • (5)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
  • (4)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
  • (2)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete