Stuart Swan
|
Posted: 22 March 2012 06:39 AM |
|
|
|
I am running Wufee on my website but sometimes the form does not display on desktops and instead has “Fill out my online form.” with a broken link: http://.wufoo.com/forms/
I’ve tried Google to see if this is a Wufoo issue but it doesn’t appear to be, the code that is generated is:
<div id="wufoo-"> Fill out my <a href="http://.wufoo.com/forms/">online form</a>. </div> [removed]var ;(function(d, t) { var s = d.createElement(t), options = { 'userName':'', 'formHash':'', 'autoResize':true, 'height':'100%', 'async':true, 'header':'show'}; s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js'; s.onload = s.onreadystatechange = function() { var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return; try { = new WufooForm();.initialize(options);.display(); } catch (e) {}} var scr = d.getElementsByTagName(t)[0], par = scr[removed]; par.insertBefore(s, scr); })(document, 'script');[removed]
It never displays on my iPhone so unsure, I’ve tried re-installing etc. but still get this problem.
Thanks,
Stuart
|
|
|
mrtopher
|
Posted: 22 March 2012 08:42 AM |
# 1
|
|
Developer
|
Hi Stuart,
Can you post a link to the Wufoo hosted version of this form? I would just like to get a look at it for reference.
Are you able to view the form submissions and such via the control panel without issue?
CM
|
|
|
Stuart Swan
|
Posted: 22 March 2012 09:32 AM |
# 2
|
|
|
Thanks for getting back to me, have emailed the details to you.
|
|
|
mrtopher
|
Posted: 23 March 2012 09:36 AM |
# 3
|
|
Developer
|
Thanks for the additional details Stuart! Sorry for the delayed response but I’m just about to head out of town for the weekend and have been running around a bit.
I was able to reproduce the problem but am not sure what the cause is. For now, so you can get things working, I have rolled the code back to version 1.3 so that should get things working for the time being. I’ll take a closer look at things when I get back and try this update again.
The only file you should have to update from 1.4 to 1.3 is views/embed_js.php. Give that a shot and let me know if you run into any problems.
|
|
|
Stuart Swan
|
Posted: 23 March 2012 11:02 AM |
# 4
|
|
|
Thanks, I’ve rolled back to 1.3 but the form does not display at all, I’ve done some debugging and think I have found the problem but not the solution, the forms were not working on Chrome either, just Safari, so I tried logging out of the CP in Safari and now the forms don’t work there either so could this be something to do with an active login?
Have a good weekend! :)
Thanks,
Stuart
|
|
|
Stuart Swan
|
Posted: 23 March 2012 11:12 AM |
# 5
|
|
|
Just confirmed this, logged in to the CP on my iPhone and the page now displays the form.
|
|
|
mrtopher
|
Posted: 23 March 2012 11:15 AM |
# 6
|
|
Developer
|
Stuart, there is nothing in the module that would cause the form not to be displayed if you are logged in or out (I am not able to recreate the behavior). That type of functionality would be controlled via other template tags. Do you have any misplaced {if logged_in} statements anywhere? Is the site your working on a membership based site or publicly accessible?
Also, are you using the field type or just the template tag to embed this form?
|
|
|
Stuart Swan
|
Posted: 23 March 2012 11:34 AM |
# 7
|
|
|
Thanks, I’ve done a search and there are no mis-matched {if logged_in} pairs, I’m using both the field type and template tag.
I enabled PHP for all, not just admin:
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: wufee/mod.wufee.php
Line Number: 59
|
|
|
mrtopher
|
Posted: 27 March 2012 09:30 AM |
# 8
|
|
Developer
|
Stuart, are you able to go into the Wufee CP interface and see your forms/entries?
If so, is there a chance I might be able to get access to your site so I can take a look myself?
|
|
|
Stuart Swan
|
Posted: 27 March 2012 10:09 AM |
# 9
|
|
|
Yeah, can see all forms and entries although I’ve noticed that when I add a new form then refresh it fails to take in the new form, have to wipe the DB tables and import again. I’ll email you the login just now.
Thanks,
Stuart
|
|
|
mrtopher
|
Posted: 02 April 2012 09:15 AM |
# 10
|
|
Developer
|
Hi Stuart, just wanted to let you know I haven’t forgotten about you. I’ve just been slammed with other things. I hope to take a closer look at this this week. I’ll let you know when I know more.
|
|
|
Stuart Swan
|
Posted: 02 April 2012 09:45 AM |
# 11
|
|
|
Thanks, we’ve reverted to using Wufoo manually as we’re on a deadline but would be good for future usage, thanks again.
|
|
|
frequencyis
|
Posted: 03 May 2012 06:11 AM |
# 12
|
|
|
Same problem here, if I’m logged in the form shows. Log out and it is gone.
On a Mac and have same problem in Safari, Chrome and Firefox
Looks like it’s not passing the username or form hash details. The form has no values when logged out, puts them in if logged into EE.
This is what I get when logged out of the system (blank username and formHash):
[removed]
var = new WufooForm();
.initialize({
‘userName’:’‘,
‘formHash’:’‘,
‘autoResize’:true,
‘height’:‘100%’,
‘header’:‘show’});
.display();
[removed]
|
|
|
mrtopher
|
Posted: 03 May 2012 12:56 PM |
# 13
|
|
Developer
|
Thanks for the details. I’ll take a closer look at things tonight.
CM
|
|
|
frequencyis
|
Posted: 08 May 2012 06:12 AM |
# 14
|
|
|
Any news on this?
|
|
|
mrtopher
|
Posted: 08 May 2012 08:33 AM |
# 15
|
|
Developer
|
Yes, sorry I’ve been a little short on time this week.
I have been able to successfully reproduce the problem and hope to have a fix today. I’ll let you know when I’ve posted the files.
Thanks for your patience!
CM
|
|
|