Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: debug.pl - Simple Change  (Read 712 times)
0 Members and 1 Guest are viewing this topic.
rnpnj
New Member
*

Karma: 0
Offline Offline

Posts: 3


« on: December 06, 2007, 10:56:09 AM »

I made the following change to debug.pl to display the name of the file it is trying to open in the event that it fails.  It just makes troubleshooting a little easier.

# diff debug.pl debug1.pl
414c414
<       print "There was a problem creating a temp file in the 'session' directory. Make sure that the directory has correct permissions!.<BR>The error was: $!<BR>";
---
>       print "There was a problem creating a temp file ($temp_file) in the 'session' directory. Make sure that the directory has correct permissions!.<BR>The error was: $!<BR>";
Logged
Pages: [1]   Go Up
Print
Jump to: