#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Luxembourg
    Posts
    89
    Rep Power
    14
    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.
  2. #2
  3. Ole` Timer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    N.W. Iowa
    Posts
    472
    Rep Power
    14
    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
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Posts
    0
    Rep 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?

  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Luxembourg
    Posts
    89
    Rep Power
    14
    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.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Posts
    0
    Rep Power
    0
    use diagnostics -verbose in your code.

IMN logo majestic logo threadwatch logo seochat tools logo