Hypertext Preprocessor Information Display Error

Asked By 10 points N/A Posted on -
qa-featured

 

Hello! I am just a beginner user of Hypertext Preprocessor (PHP) programming. I have used exec function in debugging codes. However, the information of the error is not being displayed. I am not sure even with the code. Please provide me guide or any method on showing the information of error in detailed. Thank you!


 
Magick: unable to open image ‘null.png’ : No such file directory @ error/bc/OpenBlob/2584.
Magick: unable to open file ;null.png’ @ error/png.c/ReadPNGImage/3083.
Magic: missing an Image filename ‘page.png’ @ error/convert.c/ConvertImageCnd/2949.
SHARE
Answered By 0 points N/A #150067

Hypertext Preprocessor Information Display Error

qa-featured

Thanks for your question. I'll tried to serve my better solution. I think, display of php errors are disable from your php setting so your browser does not show any error. Just open your php.ini file with any editor software then search "display_errors" (without quotation). Add this line of code in the file php.ini then save it.

display_errors = On There are some web hosting companies turn "display_errors" off for security because intruders will attack your site with help of error message. Another way to display errors when it is off from php.ini file. Just write some line of codes at the beginning of your script files. ini_set('display_errors', 1); error_reporting(E_ALL);

Related Questions