|
| A R C H I V E D M E S S A G E |
|
Subject: Can't use string ("MIME::Lite") ... |
| Posted: 05/20/2004 at 7:23:18 am |
| By: Frank |
| I'm testing the bizmail.cgi. I edited the files like it was said in the readme. I uploaded and chmoded them in the right way. I changed my html-page so that it could work with bizmail.cgi. The paths to perl and sendmail are ok. But everytime when I submit the form the following message comes:
Software error:
Can't use string ("MIME::Lite") as a HASH ref while "strict refs" in use at /opt/KQperl/lib/site_perl/MIME/Lite.pm line 932.
(I added the line useCGI::CARP (fatalsToBrowser); to bizmail.cgi because without that additional line I only got an internal server error 500 message.)
The os of the host is solaris.
After I checked my mailaccount for the activation mail for this message board, I found that all the submissions I made with my form where successfully send to me.
It seems that everything works fine, except that the person who uses the form gets a strange error message.
What is wrong?
Many thanks in advance for your help.
Frank | |
|
|
Subject: Re: Can't use string ( |
| Posted: 05/20/2004 at 7:49:53 am |
| By: Seth Knorr |
| So what error do you get when you don't use:
useCGI::CARP
and what was your purpose for putting this in there?
Seth | |
|
|
Subject: Re: Can't use string ( |
| Posted: 05/20/2004 at 9:27:17 am |
| By: Frank |
| When I don't use use CGI::CARP I get the following:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, service@webmailer.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
This message isn't useful to me so I followed a hint in computer magazine and put the line with the use CGI::CARP into the script to get some more information.
Frank | |
|
|