• 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 ] Error FFMPEG

Started by Wnux


Replies: 2
Views: 1765

[ Video Sharing CMS v4 ] Error sitemap

Started by xda


Replies: 3
Views: 1176

[ Video Sharing CMS v4 ] Error Page not Found 404 3.3 RC2

Started by carlitos90cu


Replies: 19
Views: 2802

[ Video Sharing CMS v4 ] 404 error

Started by danfix


Replies: 12
Views: 2015

[ Video Sharing CMS v4 ] Language translation is not working. Error 404

Started by hamzat


Replies: 1
Views: 1440

[ Video Sharing CMS v4 ] Video.php function guess_next($list=null) error

Started by korobert


Replies: 6
Views: 1239

[ Video Sharing CMS v4 ] Feed error

Started by x5000x


Replies: 14
Views: 1375