Aplogies for being slightly off-topic here.
Am trying to set up nms FormMail to run a 'subscribe to newsletter' form [which is a daft thing to do on a bank holiday when I can't contact the hosting company to check the perl and sendmail settings )
Interestingly, I'm getting different error messages from the two different locations of the subscribe form, one on brochure page, other on catalogue page. [You will gather, of course, that its not working]
On the main brochure page, I get the following message
"500 Internal Server Error
This indicates that a part of the server (for example a CGI program) has crashed, or encountered a configuration error. If the code was received when running a CGI, contact the author of the CGI"
On the main catalogue page, I get the following message
plus the address bar shows http:// ..../cgi-bin/ca000001.pl
"A General Script Error Occurred
--------------------------------------------------------------------------Error: There is no valid input parameters for the script! Check the referencing HTML code!
-------------------------------------------------------------------------
Press the Browser back button and try again or contact the site owner
The form is in the right hand"
Questions:
Is there a difference in how the source form is set up in the 'brochure' and 'catalogue' pages? Is this why I'm getting two different error messages?
I have the same form in the righthand bar of the Smart Template [using Dev 7.02] and both forms access the same formmail.pl script
Should the first line of the script be uncommented?
Currently: #!/usr/bin/perl -wT
Should this perhaps be: !/usr/bin/perl -wT [without the hash] but nothing in the instructions said to uncomment it.
As I couldn't check with hosting co what the send mail prog setting are [or the location of the perl interpreter], have tried the default of '/usr/lib/sendmail -oi -t': which didn't work.
I then tried using the smtp server settings [from Actinic n/w settings] as the nms formmail readme suggested. still no joy.
Have changed the formmail permissions to:
RWX for owner
X for group
X for user
Have checked and re-checked the script and the form but can't see any obvious errors. Although I don't know anything about scripts the instructions seemed fairly straight forward and have only amended the very basic settings.
So am assuming it's probably the perl or sendmail/smtp settings that are not correct.
Any feedback, especially as to why there are different error messages from the 'brochure' and the 'catalogue' would be most appreciated.
Many thanks, Sharon
Am trying to set up nms FormMail to run a 'subscribe to newsletter' form [which is a daft thing to do on a bank holiday when I can't contact the hosting company to check the perl and sendmail settings )
Interestingly, I'm getting different error messages from the two different locations of the subscribe form, one on brochure page, other on catalogue page. [You will gather, of course, that its not working]
On the main brochure page, I get the following message
"500 Internal Server Error
This indicates that a part of the server (for example a CGI program) has crashed, or encountered a configuration error. If the code was received when running a CGI, contact the author of the CGI"
On the main catalogue page, I get the following message
plus the address bar shows http:// ..../cgi-bin/ca000001.pl
"A General Script Error Occurred
--------------------------------------------------------------------------Error: There is no valid input parameters for the script! Check the referencing HTML code!
-------------------------------------------------------------------------
Press the Browser back button and try again or contact the site owner
The form is in the right hand"
Questions:
Is there a difference in how the source form is set up in the 'brochure' and 'catalogue' pages? Is this why I'm getting two different error messages?
I have the same form in the righthand bar of the Smart Template [using Dev 7.02] and both forms access the same formmail.pl script
Should the first line of the script be uncommented?
Currently: #!/usr/bin/perl -wT
Should this perhaps be: !/usr/bin/perl -wT [without the hash] but nothing in the instructions said to uncomment it.
As I couldn't check with hosting co what the send mail prog setting are [or the location of the perl interpreter], have tried the default of '/usr/lib/sendmail -oi -t': which didn't work.
I then tried using the smtp server settings [from Actinic n/w settings] as the nms formmail readme suggested. still no joy.
Have changed the formmail permissions to:
RWX for owner
X for group
X for user
Have checked and re-checked the script and the form but can't see any obvious errors. Although I don't know anything about scripts the instructions seemed fairly straight forward and have only amended the very basic settings.
So am assuming it's probably the perl or sendmail/smtp settings that are not correct.
Any feedback, especially as to why there are different error messages from the 'brochure' and the 'catalogue' would be most appreciated.
Many thanks, Sharon
Comment