Form mail not working cgi...

Hi all
been trying this for 3 days now! i had a site and used php -
easy! but changed site that uses cgi.
instructions: download formfile... done.
save it to cgi-bin folder - dont have one, so created one...
thats probably not the right thing to do??
moved formail file to cgi-bin
changed all relevant data.
changed my 'competition.html' form with all relevant data.
Uploaded cgi-bin folder and competition form...
I get" Internal Server Error
The server encountered an internal error or misconfiguration
and was unable to complete your request.
Please contact the server administrator,
[email protected] 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"
My host (so very unhelpful) tells me to check permissions are
set to 755 - but i cant do that... no right click action here..
using dreamweaver 2004.
help!!! where am i going wrong??
thank you

a common reason for an internal server error in a Perl script
on a linux web
server is to edit with an app that uses Windows line returns.
It could also be that you haven't set the file permissions.
There was a dw extension called "set permissions" You could
google for it or
use some ftp client or your hosting control panel to set the
file
permissions.
If your remote server is a linux box, you could start with a
fresh copy of
the Perl script, and go into dw preferences->code format
and select Unix
linebreaks. Then make the needed changes to the config
section, upload it,
set permissions.
OR- can you use php on this hosting?
If yes-
1)go to
http://http://developerkarma.com/projects
-->phpformmail
download it.
extract the ZIP file.
**More detailed instructions are in the docs folder.
**These shortcut instructions are for version 1.07 of the
phpformmail
script.
2) open formmail.php in dreamweaver
Make the following changes (in code view, turn line numbers
on)
2a)
line 4,
define('CHECK_REFERER', true);
change to:
define('CHECK_REFERER', false);
reason: too many people use a firewall or Norton security to
restrict this.
2b)
Line 43
$referers = array('www.example.com', 'example.com');
change to the domain name of your web site.
reason: this probably isn't needed since we just turned the
referrer
checking off. but change it anyway.
2c)  *this is to hard-code the recipient address into
the php
file, where it is totally invisible *
Line 46
$recipient_array = array();
change to:
$recipient_array = array('me' =>
'[email protected]');
**of course, replace [email protected]  with
the email address
you want to receive the form data. Also note the single quote
marks.
reason: this sets the email address the form results will be
sent to.
You can also make a list of possible recipient alias values-
see the readme
in the docs folder.
2d) give the script a default "From" address to use.
Go to line 41
Change:
define('FROM', null);
to:
define('FROM', 'Example Name <[email protected]>');
substituting your name and email address.
3) now do a File-->Save As and save this file to within
this Local Site
folder. save it as anythingyouwant.php
4) in dw's File Panel, find anythingyouwant.php and upload it
to the remote
site.
5) Now open your form html file in dreamweaver,
5a)click the mouse into the form area, and select the
<form> tag on the
lower left margin of the design window.
In the Property Inspector, it should now show the properties
of the <form>
tag. In the Property Inspector, to the right of the ACTION
line, click the
folder icon and browse to and select the anythingyouwant.php
file
you've saved to within this site.
5b) now click within the form area and go to dw
menu-->Insert-->Form
Objects-->Hidden Field
This inserts a hidden form field.
In the property inspector, change the NAME/ID of this field
to: recipient
And the VALUE of this field to: me
the code should look like:
<input name="recipient" type="hidden" id="recipient"
value="me">
This tells the script to use the "me" recipient_alias value
as the email
address to send the form to.
5c: Do you have a form field to collect the user's email
address?
If yes, if this field is named exactly "email" then the
script will use the
user's email as the reply to in the outgoing email
6) Save and upload the form page.
Try the form from the website.
Note also- If you have any form fields that can accept
multiple values, like
a set of checkboxes or a select list, they need to have a
name/ID that endes
in pipebrackets- such as my_form_field[] so the script
processes that
field as an array
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/

Similar Messages

  • Apple Mail not working after internet outage.

    10.9.5 Mail not working after internet outage.  Connection doctor shows everything green.  Other apps connecting to internet fine.   Mailboxes show online.  I can login and get mail via web iCloud.com.  But Mail app will not send or receive.  Tried rebooting Mac, and restarting Mail.  Tried Rebuild.  Second day with this problem.

    Troubleshooting Apple Mail
    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages

  • Mail not working in new mini mac

    i got new mini mac and mail not working. i get this message.
    You have Mail version 4.2 (1078/1084). It can’t be used on Mac OS X Version 10.6.8 (Build 10K549). For more information, click the Help button.
    dont know what to do
    thanks

    Should be Mail 4.5.  With Spotlight, check to see if you have more than one version of the Mail app onboard.  Also, make sure that there is one at the root level of the Applications folder, and that it is namely simply Mail before applying the Combo.
    Ernie

  • Form is not working of multiple form check boxs, source posted. HELP.

    Form is not working of multiple form check boxs, source posted. HELP.
    I'm trying to have golive form be able to check one, two or all of the options in Graphics field.
    As is it will only post results from the last checked box.
    Here's the page
    http://www.perfection-press.com/Pages/ContactForm.html
    Here's where source in golive has scanning,design,filesupplied.
    [code removed to fix forum topic display]

    Since the checkboxes all have the same name, the values are over-writing each other when being passed to the PHP script. The best way to fix that is to add a pair of empty square [] brackets after the checkbox names, so make the names "graphics[]" instead of "graphics". That tells PHP that the values are being passed as a list (an array) instead of a single value. As long as your processing script knows what to do from there (and it does), should solve the problem.
    By the way, I noticed that two of the checkboxes were named "graphics" and the other was "graphic" (singular). You'll want to fix that too so they're all the same.

  • My 'contact' form is not working.  When I send a test contact it returns to my adobe email account this: "Contact Form" has a new form submission.

    My 'contact' form is not working.  When I send a test contact it returns to my adobe email account this:
    "Contact Form" has a new form submission.

    What exactly is not working ? As you have mentioned form submission notification is received in your email account so form process is working I believe but you want the notifications to go to another email account I think.
    Have you added the email address in "Email to" field in form options ? If yes and then also you are not receiving the form , then please provide me the site url and post a screenshot or form with option box open.
    Thanks,
    Sanjit

  • My start and end form is not working .

    My start and end form is not working .
    It showing error that start form in invalid.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
       DIALOG                            = 'X'
       FORM                              = 'YSAMPLE1'
       LANGUAGE                          =  SY-LANGU.
    loop at itab1.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = '525'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'.
    endloop.
    CALL FUNCTION 'START_FORM'
    EXPORTING
      ARCHIVE_INDEX          =
       FORM                   = 'ysample1'
      LANGUAGE               = ' '
       STARTPAGE              = 'next'.
       CALL FUNCTION 'END_FORM'.
    Thanks and regards
    Mave
    CALL FUNCTION 'CLOSE_FORM'.

    You should use END_FORM and START_FORM when you want to say to your system:
    - OK! Here document print begins and there it finishes.
    Infact you can print many document opening the sapscript only one time:
    CALL OPEN_FORM
    LOOP MY_DOCUMETS.
    Here the print of document starts:
      CALL START_FORM
      CALL WRITE_FORM
      CALL WRITE_FORM
    Here the print of document finishes
      CALL END_FORM
    ENDLOOP.
    CALL CLOSE_FORM.

  • HT2216 I am on OSX 10.7.5 and recently had to reinstall it due to 'mail' not working correctly.  That problem was resolved but now my I can't use the 'right click' function on the apple usb mouse.  Any clues?

    I am on OSX 10.7.5 and recently had to reinstall it due to 'mail' not working correctly.  That problem was resolved but now my I can't use the 'right click' function on the apple usb mouse.  I only have a previous version re-install disc as I bought the latest OSX off the app store.  Any help gratefully received?

    Hmmm, no, no drivers needed, now it sounds like a bad install... unless you might have some old Mouse software installed???
    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If that doesn't help Reinstall the OS.

  • Mail not working since OS X Yosemite download

    Mail not working since OS-X Yosemite download! Getting the message ''your mail index has been damaged, to repair it, quit mail'
    Same message keeps appearing despite following instructions - need mail for work! Hope someone has the answer please? iPhoto not working either since download.

    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Preferences/MobileMeAccounts.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Trash. Relaunch the application and test.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Why does the mail not work when i updated my 5s to iOs 8?

    why does the mail not work when i updated my 5s to iOs 8?

    Thank you for the reply. But can you tell me what this configuration is about and how I should do this?

  • Forms Personalization not working after R12 upgrade

    Hi,
    We have recently upgraded to R12. We have forms personalizations on the People, Enter and Maintain form and this is not working now after the R12 upgrade.
    I went to one of the form personalizations and Validated and Applied again but it still did not work. I also created a new one but had no success with that either.
    Any ideas how to get this working again ? Is there something extra that needs to be done for R12?
    Thanks
    Regards,
    Shalantha

    Pl indicate which version of R12 and on what form you had the personalization in the previous version. Have you checked FND_FORM_CUSTOM_% tables to ensure that the personalization survived the upgrade ?
    Pl see if these MOS Docs can help
    Forms Personalizations Unavailable After Upgrade To 12.1.x          (Doc ID 1245864.1)
    Forms Personalization Not Working After Upgrade To R12.1.3          (Doc ID 1309458.1)
    Form Personalization Value Field Not Being Retained After Upgrade          (Doc ID 1266265.1)
    Do Personalizations Holdup After A Patch Is Applied? (Doc ID 1286576.1)
    HTH
    Srini

  • Form does not work

    Hi
    I use Adobe Livecycle Designer7.0 English and Acrobat7.0.8 Japanese. I made forms to upload to Workflow Server. One form I made does not work at all when the form is opened in the Form Manager.
    It is strange that the PDF preview of the Designer works well.
    1. Page Counter
    In the master page of the form I set a page counter field from the custom library. In the preview it works well but when the form is opened from Form Manager it does not work. It looks like "Page ##/##".
    2. Font is not shown
    I put a button in the form. The font of the button is set to "MS UI Gothic", but when the form is opened from Form Manager the font of the button is "KozukaMincho".
    3. JavaScript does not work
    I wrote javascript to change the caption of fields like this.
    ----- form1.#subform[0].Button1::click - (Javascript, client)
    FieldA.rawValue = "test";
    FieldB.rawValue = "test2";
    This script does not work too when the form is opened.
    These issues are basic but I do not know where is wrong. Because no error message appears when I test the form in the PC.
    Please advise about these issues.
    Thanks,
    Akira

    Hi Jared,<br /><br />I am very glad to read your reply. <br />I added a button with the script you wrote in previous reply and found that Form Manager changed the root tag. <br /><br />The xsd file I define to the data is like this<br /><br />b <Message>  //rootnode name <br /><br /> <Heade></Header><br /> <Contents><br />  <FieldA></FieldA><br />  ......<br /> </Contents><br /> <Footer><Footer><br /></Message><br /><br />So, I set the structure of the form like this.<br /><br />b <Message>          //This is name of contents area<br /><br /> <Header></Header> //Subform name<br /> <Contents>        //Subform name<br />  <FieldA></FieldA><br />   ......<br /> </Contents><br /> <Footer></Footer> // Subform name<br /></Message> <br /><br />But the saveXML script write out like this:<br /><br />b <fields><br /><br /> <Header></Header><br /> <Contents><br />  <FieldA></FieldA><br />  ......<br /> </Contents><br /> <Footer></Footer><br /></fields> <br /><br />So I changed all of the Javascript using relative path and I upload this form again to the FM, but this form does not work...<br />I am not sure that it must be the same name between the rootnode of the xsd file and the name of the contents area. <br /><br />Jared and all, would you let me know whatever you find about this issues.<br /><br />Best regards,<br />Akira

  • Mail not working after upgrade

    mail not working after upgrade. I have been told my Belkin modem [surf] is not compatable. Would this be the problem?

    just solved the problem...
    had to delete in user-library-pref-com.apple.mail.plist
    then restart mail
    www.macbug.de/kategorie/mac-os-x-105-leopard/

  • Mail not working after installing os x

    mail not working after installing os x, anyone know how to fix this?

    it is a 2.7GHz intel core iS and the version is OS X 10.9.

  • ICloud mail not working. I can send but cannot receive. Is the system down?

    iCloud mail not working. I can send but cannot receive. Is the system down?

    Same here. I can send mails from iCloud.com Webmail, but cannot receive.
    A message that you sent could not be delivered to one or more of
    its recipients. This is a permanent error. The following address
    failed:
    "[email protected]":
    SMTP error from remote server after RCPT command:
    host: mx1.icloud.com.akadns.net
    5.1.1 unknown or illegal alias: [email protected]
    On iOS 6 device I can't receive, neither send mails.
    https://dl.dropbox.com/u/2234051/IMG_0001.PNG
    However, if I change to @me.com, everything works fine.

  • Mail not working after Yosemitesecurity update in march 2015

    mail not working after Yosemite security update in march 2015

    More information about what it isn't doing would be helpful.
    Mail troubleshooting - Yosemite
    Mail (Yosemite): If you can’t receive messages
    Mail (Yosemite): If you can’t send messages

Maybe you are looking for

  • Checking in a revision to an existing content item

    Using Site Stuido I'm using following code to build a custom screen <!--$dDocName="D_027263"-->      <!--$executeService("DOC_INFO_BY_NAME")--> <h1>WorkTrack - Reports </h1> <form action="/idc/idcplg" method=GET> <input type="hidden" id="IdcService" 

  • Tyring to dynamically create SQL statment for an SQL Calendar

    Is there a way to dynamically create an SQL statement that an SQL Calendar would use. I don't see an option to create a PL/SQL Calendar. For example I want to pass a table name, and the corresponding date column to items on the calendar page, and the

  • Footer Displacement after editing

    Hi all, I am trying to create a custom email template for the first time, and I took a Mailchimp template and edited it in Dreamweaver. Things are looking ok but when i preview in my browser through Mailchimp, the footer shows up right after the head

  • Start-up stumbles with new motherboard, 10.5.5

    The motherboard of my MacBook Pro recently died. It came back with a new motherboard and loaded with 10.5.5. Since then, the machine has balked on start-up. Sometimes, I get the tones, then a gray screen, then a freeze. On other occasions, it tries t

  • Safari and Macmail Slow Launching?

    In the last few days both Safari and MacMail have taken up to thirty seconds to launch. Before this neither took more than about five seconds. Anyone got any ideas as to why this might be? Things I've tried so far are: Resetting Safari Clearing out c