| Issue 42: | modal to modal post error | |
| 3 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. within a current open modalbox, 2. input form data, and post it to another page <form class="nyroModal" action="alert_details_action.php" method="post" name="add_or_edit_subscriber"> 3. Press submit What is the expected output? What do you see instead? - The data to be sent to the designated page within another modalbox What version of the product are you using? On what operating system? 1.2.8, linux server Please provide any additional information below. Any help would be appreciated.
Jul 6, 2008
I'll fix the issue described by adding a type checking on the url variable. But I can't reproduce this bug. Could you sent an URL where I can experienced it please?
Jul 6, 2008
Thanks for your help... Once the page is loaded, make a selection, which will fire the modal box, then choose http://72.18.74.2/subscribe/beta/add_alert.php?alert_name=National+Weather+Service&alert=MQ==
Jul 6, 2008
I can't figure out where is the bug. When I click on a name, there is a PHP error and that's it.
Jul 6, 2008
What php error are you getting??? After you select the name, a form should appear. This is the form with the error. If I have the form class set to nyroModal, nothing happens on submit.
Jul 6, 2008
See Attached.
Jul 7, 2008
Sorry about the error. It occurred b/c I had you skip the login. I have change the code to where you should be able to get it to work. Thank you.
Jul 7, 2008
And now, I can't see any error. Nothing happen, but no error. (firefox 3) Please test your script to be sure that I can reproduce the bug!
Jul 7, 2008
http://72.18.74.2/subscribe/beta/nyromodal_test.php Sorry about all the trouble. I have removed all the dependent code from this test page and tested it to make sure that everything was working. If you click the link, complete the form, select email, and hit submit. You will see that nothing happens on submit. If you remove the class from the form element, the form will work fine, but doesn't open a nyroModal box (of course). I turned the nyroModal debug on and it is giving the following message, "setDefaultCurrentSettings" The code of the html within the nyromodal is located at http://72.18.74.2/subscribe/beta/alert_details.php Again sorry about the trouble and thanks for the help. Thank you, Will
Jul 7, 2008
I saw the page working during the day, but now I'm getting again the PHP error. Can you set up as static HTML instead? Or better, attach the HTML file here!
Jul 8, 2008
http://72.18.74.2/subscribe/beta/nyroModal.html Here is a completely static page. I have also attached the file the page. Sorry about the last page, I had to change it and forgot that it would effect your trouble shooting. Thank you, Will
Aug 17, 2008
Did you finally fix your problem?
Aug 18, 2008
No, b/c of time restraints I had to abandon the use of NyroModal. However, I do hope to come back to in the near future, b/c I would still like to incorporate it in future versions.
Oct 23, 2008
Hi, I have the same error message "url.indexOf is not a function". The error occurs when I want to submit a PHP Form. I'm calling a PHP page for the Modal. This page is attached. I'm using the 1.2.8.min I would like to understand if I'm wrong in my code. Thank you!
Oct 25, 2008
I found where this error comes from, and it will be updated on the next release.
It's occur because there is an action input on your form, and Im' retrieving the form
action url in the line 630:
currentSettings.url = url = from.nodeName.toLowerCase() == 'form'? from.action :
from.href;
if you can't wait the next release, just replace this line with:
currentSettings.url = url = from.nodeName.toLowerCase() == 'form'?
$(from).attr('action') : from.href;
and it'll works.
Nov 12, 2008
Hi, The problem is solved. Thanks a lot for you answers. You can set this issue as fixed.
Jan 26, 2009
(No comment was entered for this change.)
Status:
Fixed
Feb 18, 2010
Hello, I hope people are still here. Will, can you tell me how to make the PHP error appears when there's an error?. I tried to do the debug=true on the settings, but I still get the default error "The requested content cannot be loaded." What is the settings to show actual code error? Thanks, Martin
Jun 28, 2010
I tink that the problem in your code. I use a PHP form from http://phpforms.net/tutorial/html-basics/php-forms.html and I don't have such errors |
I have been able to add more to this error.... My error console is throwing out this message " url.indexOf is not a function" It then takes me to this line of code (1017) var hashPos = url.indexOf('#'); out of jquery.nyroModal-1.2.8.js