Joomla and script error

575 views
Skip to first unread message

dimna

unread,
Nov 8, 2011, 10:36:33 AM11/8/11
to MooTools Users
Hi,

Mootool 1.4 and Joomla 1.72 are not working on IE9 for me. Does anyone
else have this problem?
It is working fine on Google Chrome, IE8, Opera and Firefox but I get
a script error with IE9:

The English version of the error:

"this property or method is not supported by this object" line 16.
res://ieframe.dll/imageppg.ppg

I opened a ticket in the German Joomla Portal, too (http://
www.joomlaportal.de/joomla-1-7-joomla-1-6-allgemeine-fragen/264735-mootools.html).
You can see here screens of the error messages. But there is no
solution idea up to know.

First I installed Joomla with the standard template (Beez_20). You can
see it here:
http://www.dimna.de/Joomla17_/index.php/wer-bin-ich

Joomla is loading the files mootools-core.js and mootools-more.js
automatically. When I make a right click on an image, I get the script
error.
For the standard template there is no need to load mootools. That’s
why I excluded the files. Exectly I used this code:
---
< ?php
$headerstuff = $this->getHeadData();$scripts = $headerstuff['scripts'];
$headerstuff['scripts'] = array();foreach($scripts as $url=>$type)
{ if (strpos($url, 'mootools') === false) { $headerstuff['scripts']
[$url] = $type; }}$this->setHeadData($headerstuff);
?>

---
After that exclusion, it is possible for me to open the properties of
an image.

After activating the debug mode of ie9 I get an detailed error
message:
The Error should be in the file imgbrows.js on row 34. But I don’t
know this file and so it is not possible for me, to solve the
problem.
Is it a IE9 bug?

Greetings astrid

Sanford Whiteman

unread,
Nov 8, 2011, 12:34:04 PM11/8/11
to dimna
Does your test page suffer from the error, or did you suppress it? We
would need a broken page to troubleshoot.

-- Sandy

dimna

unread,
Nov 8, 2011, 2:43:29 PM11/8/11
to MooTools Users
On this test page (http://www.dimna.de/Joomla17_/index.php/wer-bin-
ich) you can see the error at the moment.
But I tried it yesterday. It is sure. When I don’t load a mootools*.js
file, I can open the properties of the image in IE9. At the moment
this is not possible.
Thanks
Astrid

dimna

unread,
Nov 9, 2011, 2:19:17 AM11/9/11
to MooTools Users
Do you get the error on my page, too? Is it possible to troubleshoot
it?

--Astrid

MightyMax

unread,
Jul 12, 2012, 11:56:04 AM7/12/12
to mootool...@googlegroups.com
I have tested it out.
http://mightymax-programming.blogspot.hk/2012/07/mootools-resieframedllimageppgppg.html

Also I found that it's official site also removed that code in it's included javascript file.

dimna於 2011年11月8日星期二UTC+8下午11時36分33秒寫道:

Rob Stocker

unread,
Jul 12, 2012, 12:19:20 PM7/12/12
to mootool...@googlegroups.com
Hi Astrid,

Joomla 1.72 is out of date. You'd really need to upgrade to 2.5 to include the numerous bug fixes.
--
Rob & Lisa - EMC23
083 416 0618
in...@emc23.com
www.emc23.com

MightyMax

unread,
Jul 16, 2012, 11:08:36 PM7/16/12
to mootool...@googlegroups.com, in...@emc23.com
Halo

I am already using Joomla 2.5x still have this problem.
It is mootools issue.

Regards
Max

Rob Stocker於 2012年7月13日星期五UTC+8上午12時19分20秒寫道:

HJ

unread,
Jul 19, 2012, 2:18:43 AM7/19/12
to mootool...@googlegroups.com, in...@emc23.com
I use J2.5 on certain sites and I do not get that problem, do you have an example site to look at? I have a feeling it's not MooTools itself but some other script using it, possibly some of the Joomla scripts like Tooltips (which I don't use), some of them aren't particularly well put together.

Thanks,
Hadrien.

LuisMC

unread,
Sep 19, 2012, 1:25:43 PM9/19/12
to mootool...@googlegroups.com

Hi everybody,

Found a working fix as follows (I already posted it on French and “org” Jooomla forums as well):

Solution:

Edit the file:
media/system/js/mootools-more.js


delete (or comment out) the following statement:
Element.alias ("togglepin", "togglePin");

That's all

 

Hope this can help those having this problem


Cheers
Luis

Reply all
Reply to author
Forward
0 new messages