Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: I can't connect to DBM Databases

by naikonta (Curate)
on Oct 16, 2007 at 01:44 UTC ( #645090=note: print w/replies, xml ) Need Help??

in reply to I can't connect to DBM Databases

Could you please show us the message from the error log? You put $! in your die statement so the error log may give some clue. Beware that you might have a permission problem.

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

Replies are listed 'Best First'.
Re^2: I can't connect to DBM Databases
by fromjp (Initiate) on Oct 16, 2007 at 03:16 UTC
    Hello, naikonta: Here is the copy of the log when I tested the band.cgi from the command line. There were no error messages. Or, should I see other error log somewhere. I leaned to use die function. But, I didn't know wherelse to see error messages.

    If it's the permission problem, could I do anything on the code? Shebang line? Or else? Thank you.
    [yyokot01@crux chap09]$ perl -c band.cgi band.cgi syntax OK [yyokot01@crux chap09]$ perl -w band.cgi Content-type: text/html (offline mode: enter name=value pairs on standard input; press ^D or ^ +Z when done) Button=Put+Me+On+your+Mailing+List Name=Jane [yyokot01@crux chap09]$

      Maybe this helps:

      use CGI::Carp qw(fatalsToBrowser);
        >use CGI::Carp qw(fatalsToBrowser); Thank you. I added this line and tested the code. But, nothing different happened...

      Basically, running a CGI program is quite differently from running command line program. I'm afraid you need to obtain some basic knowledge about CGI programs at general. I hope you can find some suitable tutorials for begineer on CGI. You can start with google, or CGI Programming tutorial.

      Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2019-07-24 02:54 GMT
Find Nodes?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?

    Results (32 votes). Check out past polls.