PDA

View Full Version : Problems with Form submission


pt
09-23-2006, 06:26 AM
I am using he default contact forms with my new site. When testing the form by submitting a test i get the following message


This request to submit this form needs to be made by ***my site**.com. Please contact the webmaster if this is an error.

the url of the page i am sent is

http://www.**mysite**.com/pgm-form_submit.php

This is in both firefox and ie,

Does anyone have anyidea, im assuming this is a simple setting i have missed or a web server issue.

Can anyone help?
Thanks:hmm:

lwyau
09-23-2006, 07:58 AM
Go to Sohoadmin --> Webmaster --> Global Settings and check what's in "Domain Name to Display". If it says "www.**mysite.**com", change it to just "**mysite**.com" see if it takes care of it.

pt
09-24-2006, 11:54 AM
Thanks for tip, it did say www.****.com and have changed to ****.com..

It does not appear to have solved it though....... Any more ideas?

Thanks
Phil

Bradnjxn
09-24-2006, 03:35 PM
There is probably a conflict with the domain name you're using and the domain name found in the file "../sohoadmin/config/isp.conf.php"

This usually happens when you use a parked domain or a domain name different than what was used when Soho was installed. By default this setting is "this_ip=www.yourdomain.com"

You can edit this file usually in cPanel, but BE CAREFUL, changing this file affects the connection to the Soho database. Make sure you have a backup in case you change the wrong setting.

If you are using more than one domain name, you can change settings in ../pgm-form_submit.php to get it to work, but you need to know what you are doing before trying this.

If you need more help PM me I'll take a look for you.

stinkybunny
11-30-2006, 01:22 PM
Hi -

I have this same problem - and a crappy workaround. If I touch the web site through C-Panel or Soholaunch, I have to remember to re-upload the pgm-form_submit.php script before exiting. It's a terrible work around because I continually forget to upload the script. :yikes: So I miss people trying to email me, or sign-up for my newsletter.

I tried all the steps below and a newer version of the script that was advised - all good, as it does work, 'cept not forever...you have to remember to re-upload that script.

Someone at one point said it might be the $pagego bit in the script, but I have no clue what to do to correct this error permanently.

Can you guys help me find a real solution? :love:

lwyau
11-30-2006, 01:51 PM
If you just upload pgm-form_submit.php to the public_html folder, it gets overridden by Soho whenver you login sohoadmin.

You'd need to upload your version of pgm-form_submit.php to this folder:

public_html/sohoadmin/client_files/base_files/

stinkybunny
11-30-2006, 07:21 PM
Hi lwyaw, thanks !:lol:
i had no idea...I'll give it a try. So far so good, I tested and a form went through. thank you!

If you just upload pgm-form_submit.php to the public_html folder, it gets overridden by Soho whenver you login sohoadmin.

You'd need to upload your version of pgm-form_submit.php to this folder:

public_html/sohoadmin/client_files/base_files/