Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: a quick stab at a public links page

by CharlesClarkson (Curate)
on Jul 20, 2001 at 08:36 UTC ( #98325=note: print w/ replies, xml ) Need Help??


in reply to a quick stab at a public links page

How do you know it stops at line 12? Is there an error? What is happening that makes you certain it is this line?

Try adding use CGI::Carp 'fatalsToBrowser'; and run the program through a browser. Is there a error now? Let us know.

BTW, what operating system is the server running? I assume it's not win2k.


HTH,
Charles K. Clarkson


Comment on Re: a quick stab at a public links page
Download Code
Re: Re: a quick stab at a public links page
by Anonymous Monk on Jul 20, 2001 at 21:33 UTC
    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!

         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://98325]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2014-09-24 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (244 votes), past polls