Previous Thread
Next Thread
Print Thread
Rate Thread
#103257 11/03/2001 12:55 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
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?

Sponsored Links
#103258 11/03/2001 10:18 AM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
I love your sig. It makes me laugh! smile

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!

#103259 11/03/2001 10:24 AM
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
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
#103260 11/03/2001 1:08 PM
Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
Code
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;

Code
code:

now, the program will log errors... dont forget to delete the log file periodically...

and... use -w

#103261 11/03/2001 5:40 PM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Thanks jeologic, I'll try it out soon.

MM- tipsy (Whats so funny about it?)

[ 11-03-2001: Message edited by: Lord Dexter ]

Sponsored Links
#103262 11/03/2001 6:03 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
oh boy, i miscapitalized two letters.

#!/usr/bin/perl -w

like jeo said

will work too. wink

[ 11-04-2001: Message edited by: MasterMind ]

#103263 11/04/2001 7:18 AM
Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
Quote
quote:
I just didnt understand your "HAHA" s tipsy

#103264 11/04/2001 8:40 AM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Ok. tipsy
wink


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2042
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 30
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)