PDA

View Full Version : 500 Error Messages


Giselle
01-13-2003, 11:48 PM
Hello Everybody,

I have been reading tutorials on Perl scripts and taking tests with sample scripts. One script works fine and the other comes up with the 500 error messages and I don't understand why. Any help would be deeply appreciated, thank you.

Best Wishes,
Giselle

pb&j
01-14-2003, 04:14 AM
1. Check your "shebang" line (first code line of script).
2. Check your uploading in ASCII (not Binary or Auto).
3. Check your permissions.

Giselle
01-14-2003, 04:42 AM
Hello Pb&j,

Thank you for your response, all three have been checked numerous times just to make sure everything was correct.

Best Wishes,
Giselle

Giselle
01-14-2003, 05:18 AM
Hello again Pb&j,

I downloaded your tclite2 script and used this as another test, works perfect! Apparently this other script which doesn't work must have a coding problem, seeing as I am a real newbie to Perl Scripts I wouldn't pick up the coding error. Thank you again, you have really helped me!

Best Wishes,
Giselle

optimism_
01-16-2003, 10:00 AM
hi

Im new to perl too, but i downloaded perlbuilder 2 from download.com and it has the ability to run scripts catch errors and has builtin debug features. Whenever i get a 500error i just run the code in the IDE and let it tell me on which line the error is. then it is much simpler to de-bug code :)

Giselle
01-17-2003, 07:57 AM
Hi Optimism,

Yes that probably would be a good idea to purchase a perl debugger, would certainly save a lot of stress on those 500 error messages! Thank you for the tip! :)