The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Aug 05, 2010 8:49 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Feb 10, 2008 4:14 am
Posts: 2
Upgrade form 1.15.18 to 1.15.20. No problems what so ever.

I then enabled the mtupgrade to get support for mootools 1.2 and I'm getting an odd behavior.

Code:
uncaught exception: [Exception... "Illegal operation on WrappedNative prototype object"  nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)"  location: "JS frame :: http://mydomain.com/plugins/system/mtupgrade/mootools.js :: $extend :: line 1"  data: no]
Line 0


Appears 4 times in the firebug console. Anything I can do to correct this?


Top
 Profile  
 
PostPosted: Thu Aug 05, 2010 9:03 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Feb 10, 2008 4:14 am
Posts: 2
update: I used the mootools-uncompressed.js and the error appears on line 203
Code:
uncaught exception: [Exception... "Illegal operation on WrappedNative prototype object"  nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)"  location: "JS frame :: http://girlunderglass.com/plugins/system/mtupgrade/mootools.js :: $extend :: line 203"  data: no]

Line 0


Code:
202 function $extend(original, extended){
203 for (var key in (extended || {})) original[key] = extended[key];
204 return original;
205};


Top
 Profile  
 
PostPosted: Thu Aug 19, 2010 11:28 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Apr 04, 2009 5:04 am
Posts: 13
Location: Egypt
I had some error related to banners caused by mtupgrade as well after upgrading from 1.5.18 to 1.5.20. All banners on my site using custom java script codes has stopped reporting impressions and clicks to the advertiser's server. Although no errors were displayed when enabling debug mode, everything is back to normal, impressions and clicks are being reported correctly, after disabling mtupgrade plugin.

banner code example:
Code:
<iframe src="http://view.atdmt.com/FXM/iview/245081311/direct;wi.728;hi.90/01?click=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="728" height="90">
<script language="JavaScript" type="text/javascript">
document.write('<a href="http://clk.atdmt.com/FXM/go/245081311/direct;wi.728;hi.90/01/" target="_blank"><img src="http://view.atdmt.com/FXM/view/245081311/direct;wi.728;hi.90/01/"/></a>');
</script><noscript><a href="http://clk.atdmt.com/FXM/go/245081311/direct;wi.728;hi.90/01/" target="_blank"><img border="0" src="http://view.atdmt.com/FXM/view/245081311/direct;wi.728;hi.90/01/" /></a></noscript></iframe>


Searching the web, I found that this code has been generated by Atlas Solutions advertising service.

_________________
Mustafa Rawi
IT Manager
iTranslate Unlimited


Top
 Profile  
 
PostPosted: Fri Apr 15, 2011 11:49 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Apr 15, 2011 11:35 am
Posts: 1
Hi,

just thought I'd mention my workaround, since I couldn't find a solution anywhere, and since it might save others a lot of time - I simply added a try..catch in the $extend method, returning original in the catch clause. If anyone sees any problems with this or has a better idea, please let me know here. Thanks!

zebee


Top
 Profile  
 
PostPosted: Fri Apr 15, 2011 1:43 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Mon Aug 29, 2005 10:17 am
Posts: 13496
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
We are on Joomla 1.5.23 at present...Joomla 1.5.20 has serious security issues so you need to upgrade immediately to Joomla latest!!!!!!!!!

Leo 8)

_________________
-- Joomla Professional Support Services : http://gws-desk.com --
-- Good & Cheap Joomla Sites Ready To Roll : http://gws-deals.today --
-- Joomla Specialized Hosting Solutions : www.gws-host.com --
-- Member Joomla Bug Squad --


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 



Who is online

Users browsing this forum: universitylife and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group