LinuxQuestions.org
Review your favorite Linux distribution.
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, 07: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, 08: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, 10:02 AM   #3
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

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

Original Poster
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, 06:58 AM   #5
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:42 PM
showing error of ........... namrata singh Linux - Newbie 4 10-28-2009 09:52 PM
showing error of ........... namrata singh Linux - Newbie 1 10-28-2009 04:05 PM
Squid showing error!!! cj_cheema Linux - Networking 1 07-01-2007 01:40 PM


All times are GMT -5. The time now is 10:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration