|
|
Joined: May 2001
Posts: 6,708
Member
|
|
Member
Joined: May 2001
Posts: 6,708 |
What code do I need to add to a CGI file so if there is a Internal Server Error with the file it will show me where the prob in the file is?
|
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
|
Member
Joined: Feb 2000
Posts: 4,625 |
I love your sig. It makes me laugh! And you can add a tracer code like ubb has, that shows where the problem is. And use CGI::Carp qw(fatalstobrowser); HAHA! love the sig! HA!
|
|
|
|
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
|
P.I.T.A. / Programmer
Joined: Sep 2000
Posts: 755 |
That's not a guarentee though. Some errors will still just cause an ISE500. There's no way around that
--mark
"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
|
|
|
|
|
Joined: May 2000
Posts: 1,356
Addict
|
|
Addict
Joined: May 2000
Posts: 1,356 |
quote:</font><hr>Originally posted by MasterMind: use CGI::Carp qw(fatalstobrowser);<hr></blockquote>
and your answer makes me laugh... HA HA! :p :rolleyes:
wrong!
it must be;
<blockquote><font size="1" face="Verdana, Helvetica, Arial">code: But you cant see some errors with this... then, log the errors; add this after the perl path; now, the program will log errors... dont forget to delete the log file periodically... and... use -w
|
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
|
Member
Joined: May 2001
Posts: 6,708 |
Thanks jeologic, I'll try it out soon. MM-  (Whats so funny about it?) [ 11-03-2001: Message edited by: Lord Dexter ]
|
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
|
Member
Joined: Feb 2000
Posts: 4,625 |
oh boy, i miscapitalized two letters. #!/usr/bin/perl -w like jeo said will work too.  [ 11-04-2001: Message edited by: MasterMind ]
|
|
|
|
|
Joined: May 2000
Posts: 1,356
Addict
|
|
Addict
Joined: May 2000
Posts: 1,356 |
I just didnt understand your "HAHA" s 
|
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
|
Member
Joined: Feb 2000
Posts: 4,625 |
Ok. 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 253
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,957
Members13,826
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 2042
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 30
|
|
|
|