LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2013, 06:44 AM   #1
Arjun
Member
 
Registered: Feb 2011
Posts: 120
Blog Entries: 2

Rep: Reputation: 0
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
 
Old 01-27-2013, 07:48 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
What type of script it is? Can you show us some sample..
 
Old 01-27-2013, 09:02 AM   #3
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
try to insert "ini_set('display_errors', 'On');" directly below your php tag...
 
1 members found this post helpful.
Old 01-28-2013, 12:53 AM   #4
Arjun
Member
 
Registered: Feb 2011
Posts: 120

Original Poster
Blog Entries: 2

Rep: Reputation: 0
Quote:
Originally Posted by shivaa View Post
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 View Post
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.
 
Old 01-28-2013, 05:58 AM   #5
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache custom 500 error not showing after php syntax error vockleya Linux - Server 7 08-11-2011 04:42 PM
showing error of ........... namrata singh Linux - Newbie 4 10-28-2009 08:52 PM
showing error of ........... namrata singh Linux - Newbie 1 10-28-2009 03:05 PM
Squid showing error!!! cj_cheema Linux - Networking 1 07-01-2007 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration