Hi,
I've been searching the boards looking for answers, but I'm running low on time and patience.
I've configured PHPFM and installed it on a clients web server, but I keep getting a 500 internal server error. I tried moving it to another directory called scripts, but then I get an error saying the Method POST can't be executed.
The form is here: www.myrnas.com/html/contactform.html
Maybe someone could have a look and let me know what I've done wrong. Or, if it's not me, then what I have to do to fix it.
I'd appreciate any help.
Thanks
here is part of the script ------------------------
// To change the address the e-mail comes from use define('FROM', 'Example Name ');
define('FROM', 'myrnasbistro@aol.com');
$referers = array('www.myrnas.com', 'myrnas.com', 'www.aol.com', 'aol.com'/*, 'www.silverstreetproductions.tv', 'silverstreetproductions.tv','www.earthlink.net','earthlink.net'*/);
// $recipient_array format is $recipient_array = array('sometext'=>'email@example.com','asdf'=>'email2@example.com');
$recipient_array = array('myrna'=>'myrnasbistro@aol.com' , 'web_master'=>'info@silverstreetproductions.tv');
$valid_env = array('REMOTE_HOST', 'REMOTE_ADDR', 'REMOTE_USER', 'HTTP_USER_AGENT');
// +------------------------------------------------------------------------+
// | STOP EDITING! The only two required variables that need to be updated |
// | are $referers and $valid_env |
// +------------------------------------------------------------------------+
$errors = $fieldname_lookup = array('realname','email','phone','fax','comment','address1','address2','city','state','zipcode','country','select_type','select_mail');
$invis_array = array('recipient','subject','required','redirect','print_blank_fields','env_report','sort','missing_fields_redirect',
'title','bgcolor','text_color','link_color','alink_color','vlink_color','background','subject','link','css',
'return_link_title','return_link_url','recipient_cc','recipient_bcc','priority','redirect_values','hidden',
'alias','mail_newline', 'gmt_offset', 'alias_method','subject_prefix');
---------------------------------------------------- end
Just in case anyone ever looks at this, the resolution was to changed the name of the form from formmail.php to formmail.php5.
Once I did that, I recieved errors that i could troubleshoot.
I fixed a few lines I had modfied incorrectly, and now all is well.
That's it.
peace.[/b]