Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 22, 2012, 08:46:13 PM

Pages: [1]   Go Down
  Print  
Author Topic: can't get form mail to work with LP  (Read 1280 times)
skyhunter
Trekkie
**
Offline Offline

Posts: 12


WWW
« on: March 18, 2004, 02:59:45 PM »

We have a contact form we use so that people can email us from the website.  While at my previous hosting service, I never had a problem with it.  But after I switched to LP, it has decided not to work.  I get a FrontPage error telling me to look at the server's error logs.  I've looked at all the logs I can find, but don't really know what I'm searching for.  I contacted LP about this issue and after many correspondance with them they seem to have decided that they won't help me because it's a code issue.  I replied stressing again that the code worked fine before I switched and for them to check the server logs like my message says, but I haven't heard back yet.  So here is the code I'm using.  It's the code that FrontPage automatically generates as part of its form mail template, so how can it be wrong?

<form method="POST" action="--WEBBOT-SELF--" onSubmit="return FrontPage_Form1_Validator(this)" name="FrontPage_Form1">
  <!--webbot bot="SaveResults" startspan S-Email-Format="HTML/BR"
  S-Email-Address="mpact@ptimpact.com" B-Email-Label-Fields="TRUE"
  B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="Contact_email"
  B-Email-Subject-From-Field="FALSE" S-Email-Subject="MPACT_web_contact"
  S-Date-Format="%A, %B %d, %Y" S-Time-Format="%I:%M %p"
  S-Builtin-Fields="Date Time"
  S-Form-Fields="Subject SubjectOther T1 School_District Comments Contact_Name Contact_email Contact_Telephone Contact_Fax "
  U-Confirmation-Url="confirmation_page.htm" --><strong>[FrontPage Save Results Component]</strong><!--webbot
  bot="SaveResults" endspan -->
Logged
Rick_E
Master Jedi
*****
Offline Offline

Posts: 1127


« Reply #1 on: March 18, 2004, 03:52:15 PM »

FrontPage forms that email results do work fine with LunarPages so I suspect the issue is with your code. It would be helpful if you posted the URL of the page that has this form on it. It would also be helpful to have the exact wording of the error message.

In the code you posted I don't see the closing </form> tag, which possibly just didn't get copied.

A sometimes useful troubleshooting technique is to create a completely new page with a completely new form (not copied and pasted). This is often faster than finding the problem in the old form.

I assume you have installed the FrontPage extensions in the LunarPages control panel and you are publishing the web using FrontPage HTTP publishing, not FTP.
Logged

All the best, Rick E

Search the Microsoft KB for error messages:
http://support.microsoft.com/search/default.aspx?catalog=LCID%3D1033&spid=919&adv=1

Microsoft groups have additional FrontPage assistance:
http://www.microsoft.com/communities
skyhunter
Trekkie
**
Offline Offline

Posts: 12


WWW
« Reply #2 on: March 18, 2004, 04:26:45 PM »

Server Extensions are installed and I can upload fine.  The closing of the form is didn't get copied because it is at the end of the form.  I don't see how the problem can be with the code.  This is code generated by FrontPage 2000 through a template included in the program and I've been using it for two years without a problem.  I tried recreating the form and even a completely different one and both get the same result.
-------------------
FrontPage Error.
User: please report details to this site's webmaster.
Webmaster: please see the server's system log for more details.
-------------------
http://www.ptimpact.com/contact.htm
Logged
Rick_E
Master Jedi
*****
Offline Offline

Posts: 1127


« Reply #3 on: March 18, 2004, 07:24:12 PM »

In your error log you would be looking for entries at the exact same time you tried to submit the form.

As a test, I copied the source code from your page then pasted it into a new blank page on my site using FrontPage 2003. Then I published the new page to my site (also on LunarPages.) I was able to submit using this page without error and you should have received the email.

An interesting test would be for you to view my page and copy the code. Then create a new blank page on your web site and in code view, paste in the code from my page, replacing the pre-existing lines of code. Then test your new form to see if it works.
Logged

All the best, Rick E

Search the Microsoft KB for error messages:
http://support.microsoft.com/search/default.aspx?catalog=LCID%3D1033&spid=919&adv=1

Microsoft groups have additional FrontPage assistance:
http://www.microsoft.com/communities
skyhunter
Trekkie
**
Offline Offline

Posts: 12


WWW
« Reply #4 on: March 18, 2004, 07:58:33 PM »

I did receive your test email and it's exactly the way I want it.  And I tried what you said:  copying the code from your file and putting it in a blank page.  I get the same FrontPage error as before.  Could it be because this site is an "Addon" to my account?
Logged
Rick_E
Master Jedi
*****
Offline Offline

Posts: 1127


« Reply #5 on: March 18, 2004, 08:04:55 PM »

Maybe... why not try moving the page to the top level of the main domain to see if it works?
Logged

All the best, Rick E

Search the Microsoft KB for error messages:
http://support.microsoft.com/search/default.aspx?catalog=LCID%3D1033&spid=919&adv=1

Microsoft groups have additional FrontPage assistance:
http://www.microsoft.com/communities
skyhunter
Trekkie
**
Offline Offline

Posts: 12


WWW
« Reply #6 on: March 19, 2004, 12:24:36 AM »

The form works at the top level.  Now is there any way to make it work the way it's supposed to so I don't start having pieces of this web scattered everywhere?  BTW...I appreciate you taking the time to help me.  Smile
Logged
Danielle
Guest
« Reply #7 on: March 19, 2004, 06:27:35 AM »

Hi skyhunter,

Are the FrontPage extensions working on your addon domain and enabled on it as well?  I have heard how it can be tricky to get them working on both the primary and addon domain(s).  So, do you have other FrontPage extension elements on the addon domain that are working?  Once we are certain they are working to begin with, then Rick_E would likely be better able to help you with determining what other factors could be the issue (I know he would be better able to do that than me anyway).

Thanks
Logged
Rick_E
Master Jedi
*****
Offline Offline

Posts: 1127


« Reply #8 on: March 19, 2004, 08:22:44 AM »

That's a good point. It *may* help to convert the add-on domain folder to a FrontPage subweb so it's autonomous onto itself. Before you do that, however, use the File Manager in the LunarPages control to make a copy of any .htaccess that's in the add-on domain folder. This is because FrontPage may rewrite the .htaccess in that folder when you convert it to a subweb and it may be helpful to have a copy.
Logged

All the best, Rick E

Search the Microsoft KB for error messages:
http://support.microsoft.com/search/default.aspx?catalog=LCID%3D1033&spid=919&adv=1

Microsoft groups have additional FrontPage assistance:
http://www.microsoft.com/communities
Rick_E
Master Jedi
*****
Offline Offline

Posts: 1127


« Reply #9 on: March 19, 2004, 08:35:45 AM »

Check out adjusting the path names in the code. For example,

action="_vti_bin/shtml.exe/contact.htm"

may not be correct because if the form is in a subfolder for the add-on domain. The path may need to be

action="../_vti_bin/shtml.exe/contact.htm"

Or converting the add-on domain folder to a subweb may help because it should give the add-on domain subweb folder it's own _vti_bin/ folder.
Logged

All the best, Rick E

Search the Microsoft KB for error messages:
http://support.microsoft.com/search/default.aspx?catalog=LCID%3D1033&spid=919&adv=1

Microsoft groups have additional FrontPage assistance:
http://www.microsoft.com/communities
clg898
Newbie
*
Offline Offline

Posts: 1


« Reply #10 on: May 19, 2004, 04:45:21 PM »

I am having this same problem.  I'm new to all of this, can anyone explain how I would convert the add-on domain folder to a subweb??

Thanks in advance!
Logged
Rick_E
Master Jedi
*****
Offline Offline

Posts: 1127


« Reply #11 on: May 19, 2004, 09:01:51 PM »

Hi,

In FrontPage, right-click on the folder and choose Convert to Web.
Logged

All the best, Rick E

Search the Microsoft KB for error messages:
http://support.microsoft.com/search/default.aspx?catalog=LCID%3D1033&spid=919&adv=1

Microsoft groups have additional FrontPage assistance:
http://www.microsoft.com/communities
Pages: [1]   Go Up
  Print  
 
Jump to: