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  [ 22 posts ] 
Author Message
PostPosted: Sat Mar 29, 2008 11:26 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Mar 29, 2008 9:53 am
Posts: 4
admin drop down menu does not work

I did every thing as possible but i am not getting success still i have proble in admin
section that admin drop down menus donot work
Some errors are occur:
1.Error: window.addEvent is not a function
Source File: http://192.168.0.27:1149/administrator/index.php
Line: 14

2.Error: Class is not defined
Source File: http://192.168.0.27:1149/administrator/ ... js/menu.js
Line: 20

3.Error: window.addEvent is not a function
Source File: http://192.168.0.27:1149/administrator/ ... s/index.js
Line: 27

please help


Top
 Profile  
 
PostPosted: Wed Apr 23, 2008 4:40 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Apr 23, 2008 4:29 pm
Posts: 2
I have the same problem...

Everythinf was working fine and then the admin menu didn't open anymore and returned me the following errors :

Error: window.addEvent is not a function
Archivo de origen: http://ramondi.net/administrator/index.php
Línea: 23
Error: Class is not defined
Archivo de origen: http://ramondi.net/administrator/templa ... js/menu.js
Línea: 20
Error: window.addEvent is not a function
Archivo de origen: http://ramondi.net/administrator/templa ... s/index.js
Línea: 27


Top
 Profile  
 
PostPosted: Wed Apr 23, 2008 6:15 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Apr 23, 2008 4:29 pm
Posts: 2
I found out that the problem was the permissions of the folder "media" that i changed to install a module...

Changed it to 775 and everything went OK.


Top
 Profile  
 
PostPosted: Sat Jun 07, 2008 3:00 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Jun 06, 2008 3:16 pm
Posts: 3
I have the same problem, but my installation is local (using localhost). Anybody knows???

Thanks.


Top
 Profile  
 
PostPosted: Sun Jun 29, 2008 5:34 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Jun 29, 2008 5:06 am
Posts: 1
I had the same problem when i tried to rename my Administrator folder name to my desire..
let say it become like this : http://yoursite/backend/
then i change JPATH_ADMINISTRATOR in includes/defines.php and in 'administratorfolder'/includes/defines.php from 'administrator' to 'backend'.

This will cause file not exist error, notice it will adding the new administrator folder name like this :
<script src="/site/backend/includes/js/joomla.javascript.js" type="text/javascript"></script>
<script src="/site/backend/media/system/js/mootools.js" type="text/javascript">

I'm not changing the script again because i had no idea where to change that :D

so i added those files to the path.. and drop down menu is working again


Top
 Profile  
 
PostPosted: Wed Oct 22, 2008 10:27 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Oct 22, 2008 10:12 am
Posts: 1
I had the same probleme and I check the define file you had say, and notice that the path was something like "..... /administrator ..." and in the url I used on my browser I put "Administrator" ("A" upper case instead of lower case). The administrator backend seems to work fine but not the menu. And when I replace the "A" with "a" , the menu worked again.
Not sure if it's the same for you but it worked for me. I've got theses errors with the uppercase letter:

Code:
Erreur : window.addEvent is not a function
Fichier Source : http://xxxxxxxxxxxxxxxxxxxxx/Administrator/index.php
Ligne : 23

Erreur : Class is not defined
Fichier Source : http://xxxxxxxxxxxxxxxxxxxxx/Administrator/templates/khepri/js/menu.js
Ligne : 19

Erreur : window.addEvent is not a function
Fichier Source : http://xxxxxxxxxxxxxxxxxxxxx/Administrator/templates/khepri/js/index.js
Ligne : 26


Top
 Profile  
 
PostPosted: Sat Nov 08, 2008 11:32 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Sep 22, 2008 4:57 pm
Posts: 6
Hi,

I "suddenly" had the same problem. This was due to my deletion of the <my joomla site>media forder. Restoring the media folder from the trash solved everything !


Top
 Profile  
 
PostPosted: Wed Dec 02, 2009 6:14 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Dec 02, 2009 6:07 pm
Posts: 1
Well, I had this same problem, and lo-and-behold it was also the case-sensitive nature of the URL. With "Administrator" I get no drop down menus; however, with "administrator", I do.

I would classify this as a major bug.


Top
 Profile  
 
 Post subject: sorry..
PostPosted: Wed Feb 24, 2010 5:32 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Feb 07, 2010 8:36 am
Posts: 4
resolved. please delete...


Top
 Profile  
 
PostPosted: Wed May 12, 2010 7:44 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed May 12, 2010 7:37 am
Posts: 1
Wrong configuration causing that problem when enabling Search Engine Friendly URLs in the Global Configuration .
Check your configuration file and values make sure .
Especially , var $live_site 's value .
if this wasn't set the correct path , js files wont be loaded .


Top
 Profile  
 
PostPosted: Sun Aug 15, 2010 1:52 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Aug 15, 2010 1:45 am
Posts: 1
I am very new to this but I have the same thing going on. the funny thing is my top menu in the admin will work on my laptop but not my desktop. hmm


Top
 Profile  
 
PostPosted: Wed Sep 08, 2010 2:41 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Sep 08, 2010 2:33 pm
Posts: 1
Solved the problem, so it would seem.

*Followed the install instructions
*Unpublished Admin Menu
*Published AAM
*Refreshed the page
*Setup some tags
*Tested the menu

The submenus weren't working. So I turned the cache off in AAM module settings and for the last couple of hours that seems to have solve the problem.


Top
 Profile  
 
PostPosted: Fri Nov 19, 2010 11:29 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Nov 19, 2010 11:23 pm
Posts: 5
i have the exact same problem ... my admin menu is not working.
I have tried copying the media folder to /administrator/
I've changed the $live_url to ''
I've tried everything in this topic and other topics
I have to mention: on localhost everything works just perfect, on the server this menu gets me nuts.

i believe it has something to do with mootools.js

i'll attach a printscreen with Chrome's error console:
Image

The mootools.js file exists, and it's in the right place ...

please help me!
Thanks,


Top
 Profile  
 
PostPosted: Mon Dec 13, 2010 11:30 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Dec 13, 2010 11:22 pm
Posts: 1
I have found that the problem is not linked to the Windows Folder name itself but linked to the URL you enter in your browser.

If i use http://localhost/joomla/Administrator/index.php i have the error message and menu is not working.

Joomla menu is working when i use http://localhost/joomla/administrator/index.php

It seems that the URL used is case sensitive

Hope this help


Top
 Profile  
 
PostPosted: Mon Dec 20, 2010 6:44 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Dec 20, 2010 6:24 am
Posts: 1
klaxie wrote:
i have the exact same problem ... my admin menu is not working.
I have tried copying the media folder to /administrator/
I've changed the $live_url to ''
I've tried everything in this topic and other topics
I have to mention: on localhost everything works just perfect, on the server this menu gets me nuts.

i believe it has something to do with mootools.js

i'll attach a printscreen with Chrome's error console:
Image

The mootools.js file exists, and it's in the right place ...

please help me!
Thanks,


klaxie, what I can help you with is what helped me when I had a problem of "window.addEvent is not a function" error. I changed the value of $live_site variable from '' to 'http://www.mysite.com'. Although the error doesn't show up any more (and all frontend articles began loading normally), I still can't make backend work.. However, under my localhost on PC everything functions perfectly, just like in your case. As for hosting server, I've got a free hosting plan at AWARDSPACE and suspect that all this mess has something to do with server's awkward configuration.


Top
 Profile  
 
PostPosted: Tue Dec 28, 2010 3:56 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Apr 03, 2009 4:52 pm
Posts: 8
Changing Administrator to administrator in the url (I have localhost on my notebook) worked for me.


Top
 Profile  
 
PostPosted: Tue Mar 08, 2011 12:02 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Dec 14, 2010 2:58 am
Posts: 2
Thank guys, solved the problem using the suggestion given by knova.
Change the "Administrator" to "administrator" in the url. :D


Top
 Profile  
 
PostPosted: Fri Nov 18, 2011 12:55 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon May 02, 2011 11:42 pm
Posts: 10
Location: Lead Generation
For whatever it is worth, I recently fixed a clients Joomla 1.5 website with the problem.

They had an odd 301 redirect in their .htaccess file in the web root. It was misdirecting some files, and giving the JavaScript error:

window.addEvent is not a function

Commenting out the entry solved the problem.

_________________
[url=http://[URL banned].com/]http://[URL banned].com[/url]
Over 1,630,000 unique Joomla! websites tracked and assessed...


Top
 Profile  
 
PostPosted: Tue Mar 20, 2012 9:54 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Mar 20, 2012 9:38 am
Posts: 2
Hello,
I need some help with the fact that my joomla 1.5.25 backend menus do not work after typing anything in url after /administrator
A. example of working: menus expand and work fine in www.xxxxxxx.com/administrator/index.php
B. example of NOT WORKING: menus do not expand, seem blocked and i have to delete the url in browser in order to have the url that ends with /administrator and choose another menu to act on. www.mysite.com/administrator/index.php? ... om_banners
I tried all the versions of IE and of Firefox, same problem.
The only errors I am getting both in IE and in MF are

Error: ($(filter) || document).getElementsBySelector is not a function
Error: el.set is not a function
Error: el.addEvent is not a function
Error: ($(filter) || document).getElementsBySelector is not a function
/media/system/js/mootools.js

I have read all posts regarding this issue. I have lower case in my administrator urls.
What can I do?????


Top
 Profile  
 
PostPosted: Tue Mar 20, 2012 9:56 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Mar 20, 2012 9:38 am
Posts: 2
also i have applied all solutions mentioned above, nothing changed
Please, please help guys


Top
 Profile  
 
PostPosted: Mon May 07, 2012 5:54 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Aug 10, 2011 6:47 am
Posts: 2
Ok, so am seeing the same issue with the url being case sensitive. I have not however found a solution such as a rewrite rule or a .ini setting to ignore case. I am not well versed with Apache and PHP, so I am begging for a real fix for this. Since I am not as strong in Apache and PHP, if there is a rewrite rule or something, could someone provide the code and where to copy the code to.

Copying the /administrator folder to /Administrator is not a real option please.

Recap:
Joomla 1.5.26
Apache 2.2
PHP 5.2.17

www.domain.com/Administrator... does not work
www.domain.com/administrator... does work

I have reviewed and updated the contents of the /media/system/js folder as suggested elsewhere.

I have also noticed that this behavior is universal between IE 6,7,8,9 and Firefox 12.0.


Top
 Profile  
 
PostPosted: Sun Nov 18, 2012 11:41 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Nov 18, 2012 11:37 pm
Posts: 1
How to make this menu to work??


You do not have the required permissions to view the files attached to this post.


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



Who is online

Users browsing this forum: No registered users and 13 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