vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Hide Errors (https://vborg.vbsupport.ru/showthread.php?t=318484)

Arkamek 04-29-2015 11:32 PM

Hide Errors
 
Hello, i'm using vB 4.2.2 Patch Level 4 and i have problem because i can't hide errors like in this case:

/forumrunner/include/album.php

error [part]:
Code:

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in
and i have a few errors like this. I want to hide them, trying add
Code:

define('SKIP_ALL_ERRORS', true);
to config.php but nothing changed.

ForceHSS 04-30-2015 12:02 AM

When you get a error like that it means you have not uploaded a file ie: the file is missing just upload all missing files and the problem will be fixed

Arkamek 04-30-2015 08:47 AM

I know what mean those errors, but i want to hide "Full Path Disclosure Vulnerability" because vbulletin 4.2.2 have them a lot of.

Dave 04-30-2015 08:55 AM

Try adding the following on top of your includes/config.php file, under <?php

PHP Code:

error_reporting(0);
ini_set('display_errors'0); 


Arkamek 04-30-2015 09:00 AM

Problem solved, i disabled display_errors in PHP.

RichieBoy67 05-01-2015 04:15 AM

They are not errors. They are warnings. :)


All times are GMT. The time now is 02:08 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.01013 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete