Skip to main content
Participant
Sep 14, 2011 3:10 PM UTC
Question

Need help with making contact form work

I've managed to create a successful looking contact form with a submit button - but when I place the FormToEmail.php file in my root directory, I get a few problems:

  1. I cannot put or publish the file as I've placed into my root because I receive a message: Dynamically-related files cannot be discovered because there is no site definition for this document and a setup link.
  2. When I did manage to place this document in my root folder (it's a redirect message thanking for information), I received a 405 error saying an invalid method or HTTP verb was used or something...

The information in the form does not appear to be going to my email box. Does this have to be set up with my hosting provider? Is this something I'm missing?

Also, is there a simpler way of doing this so that it works? The form I've created on my site looks good, it's just the landing page is wonky and the information does not appear to be going anywhere.

Help!

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Participating Frequently
Sep 15, 2011 1:25 AM UTC

>I received a 405 error

Are you sure PHP is supported in your hosting plan?

>Also, is there a simpler way of doing this so that it works?

No, not really. You need to get your form mail script working.

Translate
Lon_Winters
Inspiring
Sep 14, 2011 5:58 PM UTC

I found some other threads here that describe the same problem with possible solutions. Unfortunately, I can't paste the links using the iPad - do a search using the exact text from the error message. Or search it Google, the first results will point to this threads in this form. From what I gathered from those threads, you first need to resolve that error. The form mailer script, whether it works or not is a separate issue, but may work once the first issue is solved.

for those who are familiar with this error message, is this new to CS5? I'm still on 4 and have never encountered it.

Translate