Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: a quick stab at a public links page

by Anonymous Monk
on Jul 20, 2001 at 21:33 UTC ( #98471=note: print w/ replies, xml ) Need Help??


in reply to Re: a quick stab at a public links page
in thread a quick stab at a public links page

i was putting print "m00"; before and after each line until i worked out where it was stopping :) then i tried taking the line out. (with other tweaks so i could)
ill just trundle off to find out what its running, ive seen it somewhere around the site...
ok, here's what it says:
Portland web servers are based around IBM AIX and IBM RS/6000 web servers.

ok, ive added the fatalsToBrowser line (assumed it was in already, which is why i was getting *really* confused!) and get the following:

Software error:

Undefined subroutine CGI::Vars

For help, please send mail to the webmaster (support@portland.co.uk), giving this error message and the time and date of the error.

im still not really much enlightened, surely use CGI; should be sorting that?

hope you can help!


Comment on Re: Re: a quick stab at a public links page
Download Code
Re: Re: Re: a quick stab at a public links page
by CharlesClarkson (Curate) on Jul 21, 2001 at 03:35 UTC

       While not certain, I suspect the server may have an older version of CGI.pm installed. Perhaps a fellow monk knows when Vars was added to CGI.pm. If you can get a look at the CGI.pm source on your server, search for the Vars subroutine. You should be able to determine the version of CGI by printing $CGI::VERSION. Install the newest version from CPAN if you can. Try a Super Search on Vars

    If all else fails you could bother the author, but wait a few days for a reply here first.


    HTH,
    Charles K. Clarkson
      Try to print version of CGI on your server, add:
       print $CGI::VERSION;
      And then compare version you found as installed on server with version you expected.
      Exactly this happened to me with $query->Dump() function, so now I know... ;)

      pmas
      To make errors is human. But to make million errors per second, you need a computer.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://98471]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (16)
As of 2015-07-01 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (19 votes), past polls