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

Reply
 
Thread Tools Display Modes
  #11  
Old 05-18-2015, 01:39 PM
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
add the following line to the top of your /includes/config.php file under the <?php line:
Code:
Code:
define('SKIP_ALL_ERRORS', true);
I've never subscribed to the notion of masking errors. It's a very bad and downright sloppy approach to software problems. Anyone on my payroll doing that would be fired immediately
Reply With Quote
Благодарность от:
DemOnstar
  #12  
Old 05-18-2015, 02:09 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disco_Stu View Post
I've never subscribed to the notion of masking errors. It's a very bad and downright sloppy approach to software problems. Anyone on my payroll doing that would be fired immediately
Some errors have nothing to do with vBulletin, and some errors are just out of your control. I'm not saying that you should skip all errors with every website you create or build, but with vBulletin sometimes its a good idea in some cases.

I did it with my vBulletin, and it has been working perfectly fine for the past 2 years.
Reply With Quote
  #13  
Old 05-18-2015, 06:14 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disco_Stu View Post
I've never subscribed to the notion of masking errors. It's a very bad and downright sloppy approach to software problems. Anyone on my payroll doing that would be fired immediately
Quote:
Originally Posted by thetechgenius View Post
Some errors have nothing to do with vBulletin, and some errors are just out of your control. I'm not saying that you should skip all errors with every website you create or build, but with vBulletin sometimes its a good idea in some cases.

I did it with my vBulletin, and it has been working perfectly fine for the past 2 years.
This is why you should use:
PHP Code:
define('SKIP_DS_ERRORS'true); 
This turns off the extra error reporting in php 5.3 & 5.4 (for strict & deprecated warnings), but will allow other important errors to show.
Reply With Quote
Благодарность от:
DemOnstar
  #14  
Old 05-18-2015, 06:31 PM
MahdyE23 MahdyE23 is offline
 
Join Date: Apr 2013
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thetechgenius View Post
Did you try what ForceHSS suggested? .
This is what fixed it. It fixed all the errors I was having, I wasn't looking for a different way anyone because it was fixed.
Reply With Quote
  #15  
Old 05-18-2015, 10:59 PM
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MahdyE23 View Post
This is what fixed it. It fixed all the errors I was having, I wasn't looking for a different way anyone because it was fixed.
That didn't fix any errors at all. All you did was hide the error messages. It's like piling snow on top of a garbage heap and saying "Hey, I just cleaned up the garbage!"
Reply With Quote
  #16  
Old 05-19-2015, 04:33 AM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To be fair, we're not talking errors here. We're talking deprecated warnings, translating to: It is perfectly okay to use this functionality as you do at present time, but be warned: things may change in one of the future versions of php.
Reply With Quote
Благодарность от:
MarkFL
  #17  
Old 05-19-2015, 10:57 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The line in the config is no longer needed in 4.2.3 so looks like vb has fixed it in this version
Reply With Quote
  #18  
Old 05-19-2015, 12:11 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The policy on warning suppression (which was changed for 4.2.2) has been reverted for 4.2.3. In effect, that line you had to add in 4.2.2 is now already included.
Reply With Quote
  #19  
Old 05-19-2015, 02:14 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the warnings can't be fixed, hide them. It makes the board look better.
Reply With Quote
  #20  
Old 05-19-2015, 05:03 PM
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cellarius View Post
The policy on warning suppression (which was changed for 4.2.2) has been reverted for 4.2.3. In effect, that line you had to add in 4.2.2 is now already included.
When you don't have the skills or you're just too damn lazy then cover up the problems and don't address them. The customer will never know the difference!!! What a company!!
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 07:19 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.15791 seconds
  • Memory Usage 2,288KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (7)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)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_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
  • 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_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete