LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error not showing (https://www.linuxquestions.org/questions/linux-newbie-8/error-not-showing-4175447406/)

Arjun 01-27-2013 06:44 AM

Error not showing
 
I am currently using baktrack 5 R3. There when i do php coding & runs the program, then if the script contains an error, then it dosnot show the error. It just shows the blank page.

So it becomes difficult to remove the error.

How can i make the settings to show the error when the script contains the error ?
Thanks

shivaa 01-27-2013 07:48 AM

What type of script it is? Can you show us some sample..

ButterflyMelissa 01-27-2013 09:02 AM

try to insert "ini_set('display_errors', 'On');" directly below your php tag...

Arjun 01-28-2013 12:53 AM

Quote:

Originally Posted by shivaa (Post 4878420)
What type of script it is? Can you show us some sample..

Any script that contains an error like missing semi-colon, etc

Quote:

Originally Posted by Thor_2.0 (Post 4878449)
try to insert "ini_set('display_errors', 'On');" directly below your php tag...

Thanks for your reply. I will try it.
Is it not possible to do the setting globally so that every time i dont need to set this statement in the file.

ButterflyMelissa 01-28-2013 05:58 AM

Quote:

Is it not possible to do the setting globally so that every time i dont need to set this statement in the file
Nope, it's just that one line...I use that all the time, and comment it out for later just before delivery... :)


All times are GMT -5. The time now is 08:55 AM.