• Welcome to PHPVIBE Forums. Please log in.

Hi! Enable error_reporting on top of index.php from 0 to E_ALL, so an error pops

Started by spirog,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

spirogTopic starter

from another post.. you wrote this..
QuoteHi! Enable error_reporting on top of index.php from 0 to E_ALL, so an error pops, of check the error log.

my Question is i saw a file that had () no number in it.. ?? would this create error or not make work correctly that page. or part of script ? i will search and find file, just wondering

was at top of page for error_reporting ()

will report back with what file was missing error_reporting (0)

just want to make sure this would not cause dis-function of script
  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

spirogTopic starter

Quote from: @Mario on
I'm honestly incapable of understanding what you need....but http://php.net/manual/ro/function.error-reporting.php


sorry was half asleep asking this question...

what i meant. in index.php you have on top line a little code says:
<?php  error_reporting(0);
// Degugging?

i could swear i saw another file that had same thing but no 0 in the ()

example: <?php  error_reporting(); instead of: <?php  error_reporting(0);



would that make the script give error or not work right ?

that was my question :)
  •  

Marius P.

I assume using a blank error_reporting is a problem.
But, this function just sets how and if PHP reports errors, warnings, etc.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

 

Similar topics (7)

[ Video Sharing CMS v4 ] 403 Forbidden Error

Started by Imran Murtaza


Replies: 1
Views: 1710

[ Video Sharing CMS v4 ] [Help] - Bad Response: 500 Internal Server Error

Started by Xtoons


Replies: 9
Views: 1855

[ Video Sharing CMS v4 ] Bad Response: 500 Internal Server Error

Started by maniacboxer


Replies: 44
Views: 8944

[ Video Sharing CMS v4 ] logo error help

Started by leen12


Replies: 35
Views: 12658

[ Video Sharing CMS v4 ] Issues and errors upgrading from phpvibe 3.1 to 3.5

Started by hotskull


Replies: 3
Views: 2887

Resposivness Error PHPVibe v5

Started by DeadFish


Replies: 1
Views: 2792

[ Video Sharing CMS v4 ] 404 error on homepage due to cache (no issues if logged in) 4.18

Started by TigerClaw


Replies: 3
Views: 1444