[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 733
  • Last Modified:

Form action not working in firefox

Can anyone figure out why the form on this page:

http://www.seoautomatic.com/unique-tools/instant-seo-review/

(while not logged in. the submit button says "free lite report")

does not work in firefox, but works fine in chrome and IE. It's the action that is not happening. It just sits on the same page when clicking free lite report in FF, but the other browsers go to the correct page and display the results.
0
Dzynit
Asked:
Dzynit
  • 7
  • 4
  • 2
  • +1
1 Solution
 
Chris StanyonCommented:
Works for me in FF.

Just tells me I don't have enough credits - a common problem, for sure :(
0
 
DzynitAuthor Commented:
When using the lite version - after submit, you should be taken to a new subdomain. In IE and Chrome this is working. But in firefox the not enough credits is incorrect for the free version.

Why wouldn't the action be happening?
0
 
DzynitAuthor Commented:
It should be going here: <form id="analyze" method="get" action="http://lite.seoautomatic.com/"> for the free version.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
hieloCommented:
IF you disable javascript and reload the page, it submits just like you expected. This tells me that when javascript is enabled, you have some function that is "handling/managing" the submission of that form. So, if your javascript code contains errors, the javascript interpreter will STOP executing.

From what I noticed, your page throws an error at load time:

Error: jQuery("form.product_form").livequery is not a function
Source File: http://www.seoautomatic.com/wp-content/plugins/wp-e-commerce/js/wp-e-commerce.js?ver=3.746
Line: 112

Fix that error and try again. To help you debug, I suggest you install the following plugins for Firefox:
 Web Developer
 Firebug

Regards
Hielo
0
 
Dave BaldwinFixer of ProblemsCommented:
Note that the line "<input type="hidden" id="ref" name="ref" value="http://www.seoautomatic.com/unique-tools/instant-seo-review/" /> probably sends you right back to the original page.  "http://lite.seoautomatic.com/" is another Wordpress PHP page so they can redirect any way they wanted.  If you go to that page, you can get it to 'review' your page.  It won't tell you anything that Google and/or the W3 HTML Validator hasn't told you already.
0
 
DzynitAuthor Commented:
That's a different plugin. I deactivated it so it's not running there at all, but still not working in just FireFox.
0
 
hieloCommented:
I am still seeing that error. If applicable, be sure to upload your file
0
 
hieloCommented:
>>If applicable, be sure to upload your file
I meant, be sure to upload the modified file to your "live" server, IF you are editing on your local server.
0
 
DzynitAuthor Commented:
The ref input field is just passing a referral address for storage. There is a bigger issue going on that a simple form submit to lite.seoautomatic.com does not happen in only one browser.

No other scripting is involved when the action says go to the lite sub-domain. Why would the action not actually happen in only Firefox. It works fine in IE and Chrome. The loading icon only triggers if the customer is logged into the full software version.
0
 
DzynitAuthor Commented:
hielo - I disabled all other plugins and tested switching themes. None were conflicting so I had to turn them back on. That shopping cart can only be off for a few moments to test if it's not conflicting.
0
 
Dave BaldwinFixer of ProblemsCommented:
If you look at the Error Console in Firefox (Ctl-Shift-J), it says it doesn't like a number of things about your  "http://lite.seoautomatic.com/" page.  W3 HTML Validator isn't fond of it either.
0
 
hieloCommented:
>>None were conflicting so I had to turn them back on.
Not sure if you meant that you did not notice any errors or not, but upon close inspection this is what I see on your page at load time:

Error: uncaught exception: [Exception... "Security error"  code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)"  location: "http://sharebar.addthiscdn.com/1.18/sharebar-1.18.js Line: 9"]

Error: jQuery("form.product_form").livequery is not a function
Source File: http://www.seoautomatic.com/wp-content/plugins/wp-e-commerce/js/wp-e-commerce.js?ver=3.746
Line: 112

So you have TWO issues to solve. Originally I thought the S_ERROR_DOM_SECURITY_ERR was from another domain, but it is not. It's your domain.

>>That shopping cart can only be off for a few moments to test if it's not conflicting.
Understood. I thought  you had a development server.  My suggestion to you is to try to get the uncompressed versions of the "plugins" mentioned in the error message. Then if you reload the page, you will actually be able to get to the "real" line number causing the problem.

Regards,
Hielo
0
 
DzynitAuthor Commented:
Thanks everyone for the advice.
 
 hielo, yeah - I know. terrible how many of those odd errors you get with  a lot of plugins installed. Unfortunately I can only correct the errors  that are being caused either by my plugin programming or my theme work.  Even gets to be a pain going back into the pages and posts to correct  things after customers have added things.
 
 But with what you brought up - it helped me to look for some hidden or  behind the scene things that turned out to be the problem.
 
 Might sound really crazy, but the form id name was the issue. Which you  were right, and was a jquery issue. The other browsers were disregarding  the jquery call for the loader when hitting the submit button, but  firefox was still grabbing it and skipping going to the new action  location. (The loader only displays when the user has paid, logged in,  and stays on that actual page. Free users are automatically taken to a  sub-domain with partial results to test it out.)
 
 Thank you all very much for your help and patience. I was just getting  terribly tired and it was very important for the customer to have this  working correctly for a conference tomorrow. The issue apparently  started with the most recent firefox update.
 
0
 
DzynitAuthor Commented:
Thanks a bunch!
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 7
  • 4
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now