• 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 2 Guests 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 ] SOCIAL NETWORK SIGN IN ERROR

Started by vincent1986


Replies: 10
Views: 2764

[ Video Sharing CMS v4 ] Error ?

Started by wmaster


Replies: 4
Views: 1467

[ Video Sharing CMS v4 ] Error loading media: File could not be played

Started by vipe


Replies: 1
Views: 1864

[ Video Sharing CMS v4 ] Page 404 Error! v3.3

Started by MDevi


Replies: 3
Views: 2087

[ Video Sharing CMS v4 ] some errors in youtube auto import?

Started by leen12


Replies: 2
Views: 1749

Mario I get error setting up player invalid license key

Started by giovanni


Replies: 6
Views: 5979

[ Video Sharing CMS v4 ] Sharing from YouTube in the Front End Returning Error

Started by ClashCorp


Replies: 3
Views: 1984