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  [ 10 posts ] 
Author Message
PostPosted: Wed Apr 25, 2012 12:36 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 04, 2008 3:26 am
Posts: 43
I have been going round in circles for hours and found loads of people with this and similar problems. It only happens in my admin area no errors show on my site that I have seen. It was Joomla 1.7 and I was getting the following error when I open an article also none of the drop down options on the right hand side of an edit article page work at all. The headings are there but they don't drop down. There are problems in other parts as well such as the sometimes when you click the save and close button the page jumps down to the place you were editing and doesn't close or save the page.

ERROR
Code:
Message: Object doesn't support this property or method
Line: 437
Char: 40
Code: 0
URI: http://on-focus.org/media/system/js/mootools-core.js


I upgraded to 2.5.4, easiest upgrade Ive ever done but the error is still occurring. Doesn't happen in Firefox or Safari.

Has anyone found a solution to this anywhere. I cant find one.

Nat


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 7:20 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 04, 2008 3:26 am
Posts: 43
Just an update it seems to be only occurring in the edit article area that this error shows up. I have checked the code of all the articles to see if I had pasted in any 'word' code and it all seems to be quite clean.


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 7:39 am 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Sat Oct 20, 2007 11:21 am
Posts: 310
Location: Skopje, Macedonia
I have similar problem, JavaScript work in Firefox but not in IE and Chrome.
Solution: in JavaScript code change all alone
Code:
$
(they are shortcut for jquery) with string
Code:
jquery
.
Works for me :)


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 8:20 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 04, 2008 3:26 am
Posts: 43
Could you give me little more information, What file do I change and where in the file exactly?

Sorry


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 8:34 am 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Sat Oct 20, 2007 11:21 am
Posts: 310
Location: Skopje, Macedonia
In my case, I have a JavaScript code in article, here is part:
Code:
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
  $('.movie_title').css('display','inline');
  $('.movie_caption').css('display','block');
...

and than I change to:
Code:
<script type="text/javascript" charset="utf-8">
jQuery.noConflict();
jQuery(document).ready(function() {
  jQuery('.movie_title').css('display','inline');
  jQuery('.movie_caption').css('display','block');
...

and works for me :)
Note: I also add this line:
Code:
jQuery.noConflict();


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 9:01 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 04, 2008 3:26 am
Posts: 43
Oh OK thank you, I dont have any javascript in my articles, but hopefully that will help someone else.


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 9:13 am 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Sat Oct 20, 2007 11:21 am
Posts: 310
Location: Skopje, Macedonia
You can also try to "disable" mootools if you don't need them, by renaming, for example, in mootools.jsOLD or something else.
It's bad solution but also works :)


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 9:21 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 04, 2008 3:26 am
Posts: 43
Ahh OK, I went looking in plugins to disable it but didnt see anything in there. Ill give that a go and see if it affects anything, Im not sure if I do use it.

Thanks :-)


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 9:25 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 04, 2008 3:26 am
Posts: 43
Bugger...it appears that my slideshow at the top requires mootools. This is so frustrating.


Top
 Profile  
 
PostPosted: Wed Jun 27, 2012 7:07 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Aug 31, 2010 5:26 pm
Posts: 19
Location: Chateauguay, Quebec, Canada
I'm reading you guys talking about mootools and I've been looking all over my 2.5.4 Joomla site, but can't find it. And I would need it for "djmenu". Can anyone tell me where it can be found and/or activated? This is very frustrating and time consuming.

Thanks

_________________
The dumbest question is the one that was'nt asked!


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



Who is online

Users browsing this forum: No registered users and 34 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:  
Powered by phpBB® Forum Software © phpBB Group