Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old December 21st, 2000, 04:47 PM
focus focus is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Luxembourg
Posts: 87 focus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 45 m 55 sec
Reputation Power: 9
Hi

I am getting this series of errors in my error log,but cannot work out why. It starts with a problem parsing params.

Anyone undertand what the "eval" errors are about?

[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 564.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 564.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at (eval 5) line 8.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at (eval 5) line 8.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 551.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 551.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 551.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 362.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 307.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 307.

Reply With Quote
  #2  
Old December 21st, 2000, 08:40 PM
mickalo's Avatar
mickalo mickalo is offline
Ole` Timer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: N.W. Iowa
Posts: 469 mickalo User rank is Private First Class (20 - 50 Reputation Level)mickalo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 5 h 19 sec
Reputation Power: 8
Send a message via AIM to mickalo Send a message via MSN to mickalo
this usually mean there are unwanted characters in your script, usually brought on by how you edited your script. If you used a word processor of some sort, this leaves unwanted characters in your script, that will cause it to errror like this. LF's or CR's are the biggest problems!

Also besure you've uploaded the script in a text mode, not a binary mode. I would take a fresh copy of the script, if you need to edit it, use a plain text editor like note pad, or word pad, then upload it again in ASCII/Text mode, and see what happens.

Hope this helps

Mickalo

------------------
Thunder Rain Internet Publishing
Providing Personal/Business
Internet Solutions that work!
http://www.thunder-rain.com

Reply With Quote
  #3  
Old December 21st, 2000, 09:42 PM
Anonym0us Anonym0us is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 0 Anonym0us User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by focus:
Hi

I am getting this series of errors in my error log,but cannot work out why. It starts with a problem parsing params.

Anyone undertand what the "eval" errors are about?

[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 564.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 564.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at (eval 5) line 8.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at (eval 5) line 8.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 551.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 551.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 551.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 362.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 307.
[Thu Dec 21 17:23:36 2000] adprompts.cgi: Use of uninitialized value at /usr/local/lib/perl5/5.00503/CGI.pm line 307.
[/quote]

Are you running under use strict by any chance?


Reply With Quote
  #4  
Old December 22nd, 2000, 02:39 AM
focus focus is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Luxembourg
Posts: 87 focus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 45 m 55 sec
Reputation Power: 9
Hi Mikalo - all my scripts are created and edited in Word Pad and all .cgi files are automatially uploaded in ASCII. Is there a way to strip those codes (or to make them visible) ?

Hi Anonym0us - not using strict anywhere in the suite of scripts concerned...

Note : the script I beleive to be the source runs fine 700 timesa day and only pushes out this error less maybe 50 times, so its intermittent.

Reply With Quote
  #5  
Old December 22nd, 2000, 10:43 AM
Anonym0us Anonym0us is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 0 Anonym0us User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
use diagnostics -verbose in your code.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > cgi.pm error messages


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway