vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   My forum is ++++ed... (https://vborg.vbsupport.ru/showthread.php?t=318675)

Disco_Stu 05-18-2015 01:39 PM

Quote:

Originally Posted by ForceHSS (Post 2545606)
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

thetechgenius 05-18-2015 02:09 PM

Quote:

Originally Posted by Disco_Stu (Post 2545774)
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.

ozzy47 05-18-2015 06:14 PM

Quote:

Originally Posted by Disco_Stu (Post 2545774)
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 (Post 2545776)
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.

MahdyE23 05-18-2015 06:31 PM

Quote:

Originally Posted by thetechgenius (Post 2545731)
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.

Disco_Stu 05-18-2015 10:59 PM

Quote:

Originally Posted by MahdyE23 (Post 2545806)
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!"

cellarius 05-19-2015 04:33 AM

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.

ForceHSS 05-19-2015 10:57 AM

The line in the config is no longer needed in 4.2.3 so looks like vb has fixed it in this version

cellarius 05-19-2015 12:11 PM

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.

DemOnstar 05-19-2015 02:14 PM

If the warnings can't be fixed, hide them. It makes the board look better.

Disco_Stu 05-19-2015 05:03 PM

Quote:

Originally Posted by cellarius (Post 2545843)
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!!


All times are GMT. The time now is 08:44 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.01016 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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