Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hey Thank you for the timely help. But now i have another problem. My script seems to run fine from command line. but if it gets invoked by the apache server it throws internal server error. When i look into the error log this is what i get.
[Mon Nov 07 14:59:57 2011] [error] [client 127.0.0.1] Premature end of + script headers: user_login.pl, referer: http://127.0.0.1/login.htm [Mon Nov 07 14:59:57 2011] [error] [client 127.0.0.1] install_driver(m +ysql) failed: Can't load 'C:/perl/perl/site/lib/auto/DBD/mysql/mysql. +dll' for module DBD::mysql: load_file:The specified module could not +be found at C:/perl/perl/lib/DynaLoader.pm line 200., referer: http:/ +/127.0.0.1/login.htm [Mon Nov 07 14:59:57 2011] [error] [client 127.0.0.1] at (eval 6) lin +e 3, referer: http://127.0.0.1/login.htm [Mon Nov 07 14:59:57 2011] [error] [client 127.0.0.1] Compilation fail +ed in require at (eval 6) line 3., referer: http://127.0.0.1/login.ht +m [Mon Nov 07 14:59:57 2011] [error] [client 127.0.0.1] Perhaps a requir +ed shared library or dll isn't installed where expected, referer: htt +p://127.0.0.1/login.htm [Mon Nov 07 14:59:57 2011] [error] [client 127.0.0.1] at C:/Program F +iles/Apache Software Foundation/Apache2.2/cgi-bin/user_login.pl line +57, referer: http://127.0.0.1/login.htm
Any idea why could this happen What is Dynaloader.pm

In reply to Re^3: CGI problem by Anonymous Monk
in thread CGI problem by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2021-12-05 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?