Log in

View Full Version : Hide Errors


Arkamek
04-29-2015, 11:32 PM
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]:
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
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

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. :)