A customer has already set up a hosting account on 123 Reg.
I can’t get a FW web form to work on upload. I have tested it on a different server and it works fine.
Anyone got any experience of 123 Reg and perhaps knows what needs done or enabled server side etc.
It wouldn’t make me wonder, when client booked a Hosting plan which doesn’t contain php and if a pretty old one. Double check this with her. Just a guess, btw.
If you’ve set the "Use Item Sender Address” option, try setting that to none and setting the Sender Address to an address that belongs to the domain — form(a)metbergenviro.co.uk — for example.
Joe
On 3 Dec 2015, at 23:30, t50ufo email@hidden wrote:
Thanks for taking a look Dave
The form has my email on it too so yes, not getting emails as I am doing on the other servers.
I have come across some odd things with 123 before so stay away.
I think I will give them a call and see what they say.
recipient address: my own email address
User Item: None
Use Item for Sender Name 1: Email
Sender address: email@hidden
Use item for Sender Address: None
Wouldn’t mind so much if contact form only
but there are 2 other forms on the site that send back information.
recipient address: my own email address
User Item: None
Use Item for Sender Name 1: Email
Sender address: email@hidden
Use item for Sender Address: None
Wouldn’t mind so much if contact form only
but there are 2 other forms on the site that send back information.
According to their site it should be running an adequate version of PHP and they have a very simple script that’s essentially doing the same thing as ours, so it seems it should be possible.
I think you may need to contact their support and find out if there are any special requirements for contact forms on their servers. If the server is a Windows server then ask to be moved over to a Linux server.
Joe
On 4 Dec 2015, at 13:19, t50ufo email@hidden wrote:
No sorry - I have 3 forms on that site - none working on 123
But same forms I have tested are OK on 2 other servers I use.
Florin (06/12/2015 13:42:29):
An example of code for a contact form you can find in the file mailtest.php
Florin (06/12/2015 13:42:54):
You can simply replace the TO address with your own run allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml
Florin (06/12/2015 13:43:20):
A email will be sent from your hosting package to the email address you chose via the php mail function of your hosting package.
Jody K (06/12/2015 13:48:15):
My web developer is using a simple mailform on my site that will not work directly on your server. He can get it to work on other servers with no additions or modifications. Why is it not working on your server? Can you give me a few simple steps to how I can get this form to work on your server please?
Florin (06/12/2015 13:51:53):
Unfortunately, scripting related matters are outside our area of expertise and am afraid I cannot tell why your current script in not working. However, I can assure you that php contact forms are working on your hosting package. You can show your developer the mailtest.php file we uploaded on the package and he can change the to address and run allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml" target="_blank">allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml/allowhtml he will see that the email is being sent from your hosting package. There is noting wrong with the hosting package from our end. I just sent another test email via allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml" target="_blank">allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml/allowhtml successfully.
Jody K (06/12/2015 13:54:09):
OK I will show him this
Could you please post the content of their testform.php file on Gist or Pastie, so we can see exactly what the code is? It is in the nature of PHP to not show the outside world the actual code when you visit the page directly – only the calculated response of the script is shown to a Web visitor.
Instructions to post to Gist:
Open the file in a programmer’s text editor, like TextWrangler (free). You may need to download it via FTP first.
Select all text in the file, and copy.
Visit https://gist.github.com, and type testform.php into the filename field. Paste the entire code contents into the main editing field. Press Create Public Gist.
Select the entire URL from your browser’s location field, and copy.
Back here at FreewayTalk, paste the entire URL all by itself, on a separate line from the rest of your post. This will cause the code to be properly highlighted and shown inline for anyone visiting the thread in the Web forum view, and naturally those who subscribe by mail will see the URL and will be able to follow it from their mail application.
One of us code-friendly folk will no doubt be able to read through their code (which purports to work) and see what the major differences are between it and the Freeway-generated code. Are you using Send Form or PHP Feedback Form in your site? You may have mentioned it before, but I would like to see an answer to that inline with your response that shows the code.
Walter
On Dec 6, 2015, at 9:26 AM, t50ufo email@hidden wrote:
OK 123 have placed a test php file on the server and I can see it via ftp.
and say all is ok on their part.
Florin (06/12/2015 13:42:29):
An example of code for a contact form you can find in the file mailtest.php
Florin (06/12/2015 13:42:54):
You can simply replace the TO address with your own run allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml
Florin (06/12/2015 13:43:20):
A email will be sent from your hosting package to the email address you chose via the php mail function of your hosting package.
Jody K (06/12/2015 13:48:15):
My web developer is using a simple mailform on my site that will not work directly on your server. He can get it to work on other servers with no additions or modifications. Why is it not working on your server? Can you give me a few simple steps to how I can get this form to work on your server please?
Florin (06/12/2015 13:51:53):
Unfortunately, scripting related matters are outside our area of expertise and am afraid I cannot tell why your current script in not working. However, I can assure you that php contact forms are working on your hosting package. You can show your developer the mailtest.php file we uploaded on the package and he can change the to address and run allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml" target="_blank">allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml/allowhtml he will see that the email is being sent from your hosting package. There is noting wrong with the hosting package from our end. I just sent another test email via allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml" target="_blank">allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml/allowhtml successfully.
Jody K (06/12/2015 13:54:09):
OK I will show him this
There are two different ways that a Send Form can be configured – to use a single “from” address, or to use the person who fills in the form’s address as the sender. The latter is convenient, because it makes it easy to reply to the person directly. But if the mail server on your Web host is configured to only forward messages from its own domain, that can mean that your messages will not be sent, unless the address that is filled in on the form is within the same domain as the site. I believe you can configure Send Form to always send from a single address, and if you change it to use this address (or any other address within the same domain as the rest of the site) you may be able to use it to send mail from your Web server. If what I am guessing here is correct, you should be able to test this by entering that same email@hidden address as the “from” address in your form as it is currently configured, and then you should get that message.
Walter
On Dec 6, 2015, at 5:15 PM, t50ufo email@hidden wrote:
Appears the send form action IS working OK on 123 Reg.
It only seems to want to send to an email address acssociated with the domain.
Normally when I test forms, I also use my own email address to check the form is working - not the case with 123 Reg.
My client was out of the country for a few days so I did not disturb him during my tests. I got him to call with me today to test the forms with his laptop . Lo and behold all forms worked fine (sending to his email) so yes I have egg on my face.
I am sorry for wasting time - but have learned one new thing today.