I use email script because FP Ext not reliable but have problems

  • Thread starter Thread starter mrs.leaf
  • Start date Start date
M

mrs.leaf

My ISP has told me that FP forms on their server just do not not seem
to work reliably because they are not a windows server. I can attest to
that because the extensions keep breaking. So I decided to take the
plunge and downloaded J Huggins' script.

I admit I am an amateur, that's why I use FP. I was hoping to just slap
in a script and voila. But it is not working. I hope it is something
simple. If it is simple, can someone look at this page
www.cascadecpa.com/contact_5.htm and tell me what I did wrong?

Thanks a bunch.
 
Without seeing the script itself, we can't help much.

I suggest you contact "J Higgins" or whoever was the author of this script.
In what way doesn't it work? (what error messages come up?). I note that
the script is a PHP file, so the obvious question is:

Does your server support PHP? (ask your host this)

Have you followed the documentation to the letter (it seems pretty
detailed). I assume this is the script you're using, from this site?
http://www.jamesshuggins.com/h/web1/huggins-email-form-script.htm

Save the PDF documenation file, print & thoroughly read through it. (55
page manual - comprehensive and relatively easy to understand).

Within this documentation it describes a procedure to write a basic PHP
script (like the "hello world" kind of thing) to check that the server
indeed supports PHP.

Doesn't your ISP provide an alternative mailing/form script if as they say,
the FP server extensions are unreliable? Most would include at least have a
basic script to do the form-to-email function.

From your HTML code, it seems the script should work. However, I submitted
a test message and got this error:


Warning: Invalid argument supplied for foreach() in
/home/robertwl/public_html/cascadecpa/cgi/huggins-email-form-script-v1.0.php
on line 237

Warning: Cannot modify header information - headers already sent by (output
started at
/home/robertwl/public_html/cascadecpa/cgi/huggins-email-form-script-v1.0.php:237)
in
/home/robertwl/public_html/cascadecpa/cgi/huggins-email-form-script-v1.0.php
on line 646


Since I don't know PHP (never have used it) perhaps another MVP might have
some idea.

What does "line 237" and "line 646" say, that's what the errors are
indicating.

Make sure you haven't left any remnants of the example settings from the
script that the author may have put in, and make sure all settings apply to
your own server.

Hope this helps to clear the error(s).
 
This is James S. Huggins

The original poster contacted me for assistance.

I copied the html for the FORM into a new page for testing and
confirmed the problem.

I then created a temporary version of the form on my own server here:
http://www.JamesSHuggins.com/p/huggins-email-form-script-v1.0-q6.php

The form worked fine.

I will suggest, just as confirmation that the original poster make a
similar change on his page to confirm my results.

These results, and indeed, this specific error, seems to result from
web hosts which have, in some way, installed PHP so that it cannot send
these emails. While I learned enough PHP to write the script, I do not
know enough about configuring PHP on installation to know precisely
what is going wrong.

I do know that I have had users encounter this specific error before.
In once case within the last two weeks the user had multiple/different
web hosts. They installed the script on a different web host they had
and pointed the form there and it worked fine. So far in all my testing
it appears to be a problem with web host installation or configuration
of PHP.

If you would like to see the script we are talking about, here is a
shortcut:
http://JSH.us/hefs

If you would like to contact me directly, you can find links here:
http://JSH.us/email

I will be sending (roughly) this same information directly to the
original poster.

James S. Huggins
 
Andrew said:
Have you followed the documentation to the letter (it seems pretty
detailed).
[snip]

(55 page manual - comprehensive and relatively easy to understand).


Thank you for the comment. I believe the manual is good, but I'm always
welcoming comments ... everything from the "did you know you left out a
comma" to "this chapter needs to be rewritten".

If you read the manual (http://JSH.us/hefs) and have suggestions,
please send them to me.

The email addresses are in the manual, or you can get them from my site
here:
http://JSH.us/email


James S. Huggins


....
 
Thanks for everyone's interest. The ISP has admitted that they have
problems with FP extensions when it comes to forms (they say that the
FrontPage Extensions for Linux are really quite good, but with a couple
of exceptions - Forms being one of them). They have even offered my
money back, but I like them and their honesty and so I'll stick with
them. Furthermore, FP form really has its own shortcoming: my email
address is in full view in the code- see comment below.

The ISP has its own email form (really simple and works fine) but the
problem with that is that my email address is in full view. As it is,
we are getting 50-150 emails per day and I am embarrassed to have our
office people see this stuff. So I wanted something that "kinda"
hides our address. That's where I got interested in James Huggins'
script.

By the way, I did the test for PHP that James recommended (<? Phpinfo()
; ?>) and the ISP has PHP 4.4.4 working. So that's not the problem.

James Huggins apparently copied my form on his system and sent me a
test and it seems to work fine. So it must be on my side?
 
Aha, a eureka moment. This is not a Huggins script problem. I copied
the form to another website on another server and the form with the
Huggins script is working. So, I need to talk to my ISP.
 
Aha, a eureka moment. This is not a Huggins script problem. I copied
the form to another website on another server and the form with the
Huggins script is working. So, I need to talk to my ISP.


Thanks for testing and thanks for the acknowledgement. I'm continuing
to work to try to identify what peculiarities of PHP configuration are
causing these issues, but, so far, I have not been successful.

Good luck with it and don't hesitate to contact me directly.

James S. Huggins

my email:
http://JSH.us/email

the Huggins Email Form Script
http://JSH.us/hefs


....
 
As I pointed out in my reply to your OP, that you needed to contact the host
to see if it was supported.
 
Not that you asked...
but a nice easy to use form handler can be had cheaply from www.cluxa.com
HTH

--
--
Chris Leeds
Contact: http://chrisleeds.com/contact

NOTE:
This message was posted from an unmonitored email account.
This is an unfortunate necessity due to high volumes of spam sent to email
addresses in public newsgroups.
Sorry for any inconvenience.
 
it exists. could have been a server or browser related issue.

HTH

--
--
Chris Leeds
Contact: http://chrisleeds.com/contact

NOTE:
This message was posted from an unmonitored email account.
This is an unfortunate necessity due to high volumes of spam sent to email
addresses in public newsgroups.
Sorry for any inconvenience.
cluxa.com appears to be off-line. Do they exist?
Not that you asked...
but a nice easy to use form handler can be had cheaply from www.cluxa.com
HTH
 
Back
Top