Results 1 to 8 of 8

Thread: Please Help. Something wierd with form

  1. #1
    sapogov is offline Member
    Join Date
    Dec 2007
    Location
    Brooklyn, NY
    Posts
    9

    Default Please Help. Something wierd with form

    Hello

    I think nobody face this problem because i didn't find any post with same problem.
    i did lead capture form in Sugar, insert in into the page and when i submit a form i got "405 Error - Method Not Allowed". search on internet shown that the problem with hosting - operator do not allow POST method. I open a ticket with hosting company to resolve this issue.

    Konstantin Sapogov, Sat Jan 12 15:09:43 2008
    you: i'm trying to make form using POST method and when i submit a form i got "405 Error - Method Not Allowed" can it be resolved?

    Alexandr Bazaly: Could you please paste a part of code of your form

    (form could be found at http://prominenceconsulting.us/subscription.html)

    Alexandr Bazaly: Please place a ticket to our helpdesk 24/7 to investigate this issue

    Konstantin, Sapogov, Sun Jan 13 04:58:17 2008
    Form data actually posted in DB, i think problem only in redirect

    Arkadij B., Mon Jan 14 04:42:45 2008
    Dear Konstantin,
    Thank you for the word to support.
    Please put correct recipient into your .html code and recheck your form after that, because as I see there is no recipient parameter in your .html code in prominenceconsulting.us/subscription.html file at all.

    Respectfully, Arkadij Brodkin
    How to make correct redirect?


    Hosted on IX Wed Hosting (http://ixwebhosting.com)
    CentOS release 5
    SugarCRM 5.0.0a
    apache-1.3.37
    PHP 5
    MySQL 5

    Thank you

  2. #2
    HolmesA's Avatar
    HolmesA is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    109

    Default Re: Please Help. Something wierd with form

    I assume that problem is in your crm.prominenceconsulting.us/WebToLeadCapture.php file

    Are you perform any redirects or posts back to http://prominenceconsulting.us in this scripts?

  3. #3
    sapogov is offline Member
    Join Date
    Dec 2007
    Location
    Brooklyn, NY
    Posts
    9

    Default Re: Please Help. Something wierd with form

    Quote Originally Posted by HolmesA
    I assume that problem is in your crm.prominenceconsulting.us/WebToLeadCapture.php file

    Are you perform any redirects or posts back to http://prominenceconsulting.us in this scripts?
    Yes. I'm redirecting user to "thank you" page

    HTML Code:
    <tr>
    <td class="mceVisualAid" style="display: none;">
    <input id="redirect_url" name="redirect_url" value="http://prominenceconsulting.us/thankyou011108.html" type="hidden">
    <br>
    </td>
    </tr>

  4. #4
    HolmesA's Avatar
    HolmesA is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    109

    Default Re: Please Help. Something wierd with form

    And what is the redirect method? I mean how you redirect it via JS. Or maybe via PHP code.

  5. #5
    sapogov is offline Member
    Join Date
    Dec 2007
    Location
    Brooklyn, NY
    Posts
    9

    Default Re: Please Help. Something wierd with form

    Quote Originally Posted by HolmesA
    And what is the redirect method? I mean how you redirect it via JS. Or maybe via PHP code.
    i don't know i'm not php or javascript person. This is standard form generated by Sugar. I didn't change anything except design.

  6. #6
    HolmesA's Avatar
    HolmesA is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    109

    Default Re: Please Help. Something wierd with form

    I have checked the WebToLeadCapture.php. This is a standard Sugar file and it uses the following redirect logic:

    PHP Code:
    <html><head><title>SugarCRM</title></head><body>
    <
    form name="redirect" action="http://prominenceconsulting.us/thankyou011108.html" method="POST">
    </
    form><script language="javascript" type="text/javascript">document.redirect.submit();</script>
    </body></html> 
    I have created a sample file with the same code locally and finally got the same error: "405 Error - Method Not Allowed". So my assumption that something is wrong with WebToLeadCapture.php was incorrect.

    I think that your hosting doesn't allow to make POST to a HTML file. Here you will find some more details:
    http://kb.adobe.com/selfservice/view...5244&sliceId=2

  7. #7
    sapogov is offline Member
    Join Date
    Dec 2007
    Location
    Brooklyn, NY
    Posts
    9

    Default Re: Please Help. Something wierd with form

    Thank you
    That was very useful info. After rename thankyou*.html to thankyou*.php everything works

  8. #8
    ltomkins is offline Junior Member
    Join Date
    Apr 2008
    Posts
    4

    Smile Re: Please Help. Something wierd with form

    Hi there, I just wanted to add that I had exactly the same problem as this user described and the fix of renaming the thank you file to have a .php worked a treat. Thank you!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 10
    Last Post: 2012-03-12, 08:12 AM
  2. Replies: 2
    Last Post: 2007-12-26, 07:03 PM
  3. The lead creation form should not be in campaign management
    By bradym80 in forum Marketing/Campaign Management
    Replies: 1
    Last Post: 2007-09-06, 07:16 AM
  4. Replies: 1
    Last Post: 2007-06-30, 03:27 PM
  5. Form design trouble
    By sysadm01 in forum Help
    Replies: 1
    Last Post: 2007-04-12, 05:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •