Forums

Err: Internet Explorer cannot open this site

jseb 05 Mar, 2009
Alright well yesterday i learn their was no traduction of the script right now. So i decided to change the files myself. Except now i am having a problem not javascript or anything like this but an internet explorer giving a pop up message error giving me this follow message:

Internet Explorer cannot open the internet site
http://testsite.levoyageur.ca/Joomla/index.php?option=com_chronocontact&chronoformname=calendrier

Operation aborted




Never seen this and it doesnt seem like a javascript folder file. I just took the same link under Firefox and google and it seem to work. However has the stats show around 75% of my clients will use internet explorer I need this to work on this site too.. Any idea why?? I am on a pc Windows. and also i believe the debug mode is on! Thank in advance
Max_admin 05 Mar, 2009
Hi jseb,

another user got the same error and reported it was his template, try to change the template ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jseb 05 Mar, 2009
Well yeah i have changed my template today. Can you be more specific error of template would make this option not work can't really clear unless it would be " ' " or " " " affecting the modules but my coding is pretty clean other than 3 mistake. Or did you mean if i try to change my template of my structural file, cause yes i am still changing FTP file and i probably did it around chronoengine. Would it be easyer for me just to deinstalled it and reinstalled it?

Update: Alright it seem like it would be my template but for IE only.. I just deinstalled it and reinstalled it, and the problem still persist. If you could provide me with a link also to the reports would be awsome. If someone could check here my website http://testsite.levoyageur.ca/Joomla/

Update: Hmm just spotted the other topics. hmm so i guess its just a new discovery.

Thanks in advance
GreyHead 05 Mar, 2009
Hi jseb,

It seems OK for me in IE7 - but I can't see a form page anywhere? The Comments seem OK.

Bob
jseb 06 Mar, 2009
Alright well thank for the coding comments. I actully notice only 3 mistake and two are from two other modules. One is well unknow to me cause the firefox doesnt define it clealy enought to me:

[quote]Avertissement : « : » attendus, mais « undefined » trouvé. Déclaration abandonnée.
Fichier Source : http://testsite.levoyageur.ca/Joomla/
Ligne : 0[/quote]

I guess my add on is in french sorry, but all is say is ":" excpected but "undefined" found. Declaration abandonned
File source [url=http://testsite.levoyageur.ca/Joomla/]http://testsite.levoyageur.ca/Joomla/[/url]
ligne 0

However i still dont know where that is from. Here the link to the chrono form since i didnt put it online yet.

http://testsite.levoyageur.ca/Joomla/index.php?option=com_chronocontact&chronoformname=calendrier



I am still confused after looking toward the other topic, if i am using a javascript with my template. this modules wont work on IE???
GreyHead 06 Mar, 2009
Hi jseb,

You can Google the "Internet Explorer cannot open the internet site" error, it seems to be quite common. The main cause seems to be JavaScript related and is to do with (a) scripts trying to execute before the page is fully loaded and/or (b) scripts that are direct children of <body>

You seem to have one script that may be causing this problem
<script>
function clearText() {
  if (document.searchform.prodname.value != "") {
    document.searchform.prodname.value = "";
  }
}
</script>

Please try removing this and see if that fixes the problem.

Bob
jseb 06 Mar, 2009
That interesting alright yeah its seem to did the magic. However I unfortunotly need that script to be leave on. One thing i have notice would be the fact that i also created a suggestion less complicated and seem to work. Here the link to both form

http://testsite.levoyageur.ca/Joomla/index.php?option=com_chronocontact&chronoformname=calendrier
http://testsite.levoyageur.ca/Joomla/index.php?option=com_chronocontact&chronoformname=suggestion



Now i am not to sure i understand why one would work and the other would not work, althought one is using the calendar, and need more validation. Would it be a confusion between your script or this script witch his provided by the canadian french tv channel in english would be weather network for english canadian who used the same coding. Maybe their coding is getting older. but i am asking would their be a confusion between their script and yours.

Thanks in advance
GreyHead 06 Mar, 2009
Hi jseb,

I don't think that there is any confusion between the scripts. And the form works OK without the templatesee here

If I were you I'd just change that script snippet to run after the page has loaded.

Bob
jseb 06 Mar, 2009
Alright but its code that i put in my html code how would i proceed to that??? here the html code

html
body

<iframe marginheight="0" marginwidth="0" name="wxButtonFrame" id="wxButtonFrame" height="69" src="http://btn.meteomedia.ca/weatherbuttons/template8.php?placeCode=CAON0664&category0=Cities&containerWidth=150&btnNo=&backgroundColor=blue&multipleCity=&citySearch=1&celsiusF=C" align="top" frameborder="0" width="150" scrolling="no"></iframe>

body
html



how should i proceed with this code to integrated it once my page is loaded. I am not to sure how i could proceed to that.
GreyHead 06 Mar, 2009
Hi jseb,

What has that to do with the clearText() script snippet? The iframe shouldn't be a problem?

Bob
jseb 09 Mar, 2009
Well basicly this script is for a weather alerts from this website.

http://www.theweathernetwork.com/weather_centre/wcwxbutton



I simply just took their peace of code and put it on straight into my html. So their website is using a script and its seem that their calling this function. That the only way i saw it throught FF dev tools with view javascript. Otherwise i never really created, touched or modify the cleartext() function. Its from their script.
Max_admin 09 Mar, 2009
I think this is tricky, some file reference may be missed here or a line of code loaded at the page header!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 10 Mar, 2009
Hi Jseb and Max,

I think what is happening is that the site is importing the weather report using an iFrame, and the code in the iFrame includes a JavaScript snippet (the clearText() function) that does not wait for the page load IE can't handle this and throws a JavaScript error that blocks the site.

Bob
jseb 10 Mar, 2009
Hi Greahead and max

I think what greahead say makes sense. So i decided to add a php script into this page which was just a temp technique until i found a replacement solution. Here is the code

<?php
if ($_POST["chronoformname"] == "calendrier")
{
echo "This is not available at this moment";
}
else
{
?>
<iframe marginheight="0" marginwidth="0" name="wxButtonFrame" id="wxButtonFrame" height="69" src="http://btn.meteomedia.ca/weatherbuttons/template8.php?placeCode=CAON0664&category0=Cities&containerWidth=150&btnNo=&backgroundColor=blue&multipleCity=&citySearch=1&celsiusF=C" align="top" frameborder="0" width="150" scrolling="no"></iframe>
<?php
}
?>



However if i refresh i get 50% of the time the issues, and it doesnt show me the This is not available at this moment. I havent touch php for about year, but if i am right my variable is the right one??? right. Otherwise i might be starting again to step one. with no clue what cause this

Thank you guys are very helpful
GreyHead 11 Mar, 2009
Hi jseb,

You probably need to test the page url rather than the POST variable. I did something similar recently using the Jumi module (a very versatile Joomla extension).
<?php
$uri =& JFactory::getURI();
if ( strpos($uri->_uri, 'chronoformname=calendrier') === false ) {
?>
<iframe marginheight="0" marginwidth="0" name="wxButtonFrame" id="wxButtonFrame" height="69" src="http://btn.meteomedia.ca/weatherbuttons/template8.php?placeCode=CAON0664&category0=Cities&containerWidth=150&btnNo=&backgroundColor=blue&multipleCity=&citySearch=1&celsiusF=C" align="top" frameborder="0" width="150" scrolling="no"></iframe>
<?php
} else {
echo "This is not available at this moment";
}
?>

Bob
jseb 11 Mar, 2009
Lol yeah my bad, the link is easyer.

Alright i just put this code in now before my page load up once in the blue moon. And if it load up it wont show me the datetimepicker. Now that confusing.


<?php
$uri =& JFactory::getURI();
if (eregi("MSIE", $_SERVER['HTTP_USER_AGENT']))
{
	if ( strpos($uri->_uri, 'chronoformname=calendrier') === false)
	{
	?>
    <iframe marginheight="0" marginwidth="0" name="wxButtonFrame" id="wxButtonFrame" height="69" src="http://btn.meteomedia.ca/weatherbuttons/template8.php?placeCode=CAON0664&category0=Cities&containerWidth=150&btnNo=&backgroundColor=blue&multipleCity=&citySearch=1&celsiusF=C" align="top" frameborder="0" width="150" scrolling="no"></iframe>
    <?php	
	}
	else
	{
	echo "This application is unavailable at this time";
	}
}
else
{
	?>
    <iframe marginheight="0" marginwidth="0" name="wxButtonFrame" id="wxButtonFrame" height="69" src="http://btn.meteomedia.ca/weatherbuttons/template8.php?placeCode=CAON0664&category0=Cities&containerWidth=150&btnNo=&backgroundColor=blue&multipleCity=&citySearch=1&celsiusF=C" align="top" frameborder="0" width="150" scrolling="no"></iframe>
    <?php	
}
?>


Would i just be better of not having the datetimepicker on. ???

Thank for the support appreciating it.


Update: I notice only does it if i refresh i think from a new browser. Not to sure
This topic is locked and no more replies can be posted.