My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 471: loadingError in IE 7
3 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by gregko...@gmail.com, May 6, 2010
What steps will reproduce the problem?
1.I have a form in a.php like this <form id="modelform" name= "modelform"
action="b.php" method="post" class="nyroModal"> after submit in b.php I get
the success or not like this 
<script language="javascript"
type="text/javascript">window.top.window.issuccessful(<?php echo $result;
?>);</script>   
2.
3.

What is the expected output? What do you see instead?
In firefox or chrome returns successfully back to a.php and then tab2 is
opened.
<script language="javascript" type="text/javascript">
		function issuccessful(success)
		{
		var result = '';
		if (success==1)
		{
	  result = window.location="http://localhost/a.php?#tabs2";
		}
But in IE 7 it stucks on loading and after a while shows the message for
the content error.
What version of the product are you using? On what operating system?

i use 1.5.5 but i tried 1.6.2 and i have the same problem, works fine for
ff and chrome except IE.
Since I am a CS student any help would be appreciated!Thanks in advance.

May 7, 2010
Project Member #1 nyro...@gmail.com
Could you try by adding rev="shown" to your script tag on b.php ?
May 7, 2010
#2 gregko...@gmail.com
Thanks for your interest, i've added to b.php on 
<script language="javascript" type="text/javascript" rev="shown"
>window.top.window.issuccessful(<?php echo $result; ?>);</script>   
but no effect, i get the same problem. After a lot of hours, accidentally i left
uncommented an echo "<pre>"; on top of my page, with this it works fine, if i comment
it i get again the error. Can that be happened? It drives me crazy!
May 7, 2010
Project Member #3 nyro...@gmail.com
Could you set up a test page with your code please?
May 7, 2010
#4 gregko...@gmail.com
i think it would be too difficult for you to reproduce it because i have many
"includes" in a.php, as you can see...
<script src="libs/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="libs/js/sliding/slide.js" type="text/javascript"></script> 
<script type="text/javascript"
src="libs/nyroModal/js/jquery.nyroModal-1.5.5.js"></script>
<script type="text/javascript" src="jquery/development/jquery-1.3.2.js"></script>
<script type="text/javascript" src="jquery/development/ui/ui.core.js"></script>
<script type="text/javascript" src="jquery/development/ui/ui.tabs.js"></script>
<script type="text/javascript" src="jquery/development/ui/ui.sortable.js"></script>

but i'll try to make it simple, and i'll post in a while. 
May 7, 2010
#6 gregko...@gmail.com
I made as simple as i can, if you make comments in b.php the echo "<pre>"; and echo
"</pre>"; , using IE 7 you will get the following from the debug:
showContentOrLoading
loadingError
showContentOrLoading
endBackground
loadingError
AjaxLoaded: b.php

Anyway thanks for your time!

a.php
1.2 KB   Download
b.php
199 bytes   View   Download
Jun 11, 2010
#7 ccl...@gmail.com
Hi, I have the same error in IE 8. It works fine in FF and chrome. In IE 8 however, sometimes it works and sometimes it throws loading error. 

Powered by Google Project Hosting