Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Admin page menu doesn’t work [solved]
 
Maximus
Jr. Member
 
Total Posts:  1
Joined:  2008-03-24
 

Thanks for the heads up!!

I had the same issue going from 1.1.2 to 1.1.3, everything seemed to stop working from the navigation standpoint. Also, the errors were continously popping up in Firebug.

So what I did was go to the js/ folder in the main shop and make sure it was 755. Then go inside and make sure js/index.php was set to 755, this seemed to make everything function correctly.

During the upgrade I think a lot of files have went to different CHMOD.

Thanks again Magento, you are great! I hope that I can contribute to other newbies that have issues as much as you veterans have helped me!!!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Scott_TriState
Jr. Member
 
Total Posts:  29
Joined:  2008-06-06
 

I was anxious to fix this menu issue according to the posts on this thread, but I don’t see a proxy.php in the js directory???? Can anyone comment? Is that file no longer part of 1.1.3 or is the fact that it’s missing part of my problem? The Magento team needs to consider putting some error handling into the admin backend to give administrators a clue where to start when this happens. I saw the post from one of their team members saying every server is different which I get, but it would be awesome to have some sort of idea where to begin. Just a thought. In the meantime if someone could tell me whether or not the proxy.php file needs to be there, I would appreciate it.

 
Magento Community Magento Community
Magento Community
Magento Community
 
proweb
Jr. Member
 
Total Posts:  5
Joined:  2008-05-11
 

Same issue here. We have installed the latest version - Magento ver. 1.1.3. and admin drop down menus are not not working. We have done the following with no results -

Replace the - Head.php file
Chmod “755” - /js but there’s no proxy.php in /js so we Chmodded index.php to “755”

Any help would be greatly appreciated!

 
Magento Community Magento Community
Magento Community
Magento Community
 
batteryman
Jr. Member
 
Avatar
Total Posts:  1
Joined:  2008-06-26
Las Vegas
 
Ayurbiotic - 31 March 2008 08:25 PM

mayerwin - 31 March 2008 03:41 PM
Ok guys! I found the trick! I was on 3iX and it has to do with files and folder permissions! (it was not resolved by the 1.0 release)
Using filezilla, I changed recursively all files permissions to 644 and 755 for folders (which took some time as you may imagine), and right after, everything worked fine!

Thanks for that piece of info! I think this should be checked for during the install.

If you can ssh into your server, here’s the command to do this recursively (from within the base directory of all the magento files):

find ./ -type d -exec chmod 755 {} \; && find ./ -type f -exec chmod 644 {} \;

Takes a couple of seconds maximum wink

This solved my problem..

Thank you

 Signature 

Batteries for EVERYthing!!
BatteriesInAFlash.com
800-515-2423 toll free

 
Magento Community Magento Community
Magento Community
Magento Community
 
charvan
Jr. Member
 
Total Posts:  8
Joined:  2007-11-01
 

In the middle of tearing my hair out whilst dealing with all of the other complications of Magento, the admin menu craps out.  I would get it if it happened right after an upgrade/install, but not seemingly random and out of the blue.

Let me be clear.

Installed 1.1.3 - new, clean.  Adminning along.... SHAZAM!  Loss of function of admin menu.

Changing permissions on the /js/index.php file to 755 fixed… for now.

What hurdle will you throw at me next while I try to deliver projects to clients with you, Magento?

 
Magento Community Magento Community
Magento Community
Magento Community
 
TemplatesMaster
Member
 
Total Posts:  49
Joined:  2008-04-01
 

Got the same problem. Setting right chmod after upgrade fixed it. Thanks for solution.

 Signature 

Templates Master :: Magento Templates Home at templates-master.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
Stress Head
Jr. Member
 
Total Posts:  17
Joined:  2008-08-28
 

For anyone else with this problem. I used the downloader, and my file and folder permissions were all over the place.

I spent ages going though them, and the file that made the menu work in the admin was /js/index.php.

Once this was set to 644 the menu worked.

 
Magento Community Magento Community
Magento Community
Magento Community
 
shaiss
Jr. Member
 
Total Posts:  9
Joined:  2008-06-17
 

Thank you everyone!!!
This quote worked exactly for me!

Magento 1.4
Arvixe Hosting
PHP5
Freash Clean Install

DaveTheAve - 01 April 2008 04:45 AM

scend - 25 March 2008 07:02 AM
This worked for me (temporary fix);

Download the patch file.

Change (line 98)

#$lines[$if]['other'][] = sprintf($script, $baseJs.$item['name'], $item['params']);
                    $lines[$if]['script'][] $item['name'];

to this (basically swap the # from one line to the other);

$lines[$if]['other'][] sprintf($script$baseJs.$item['name']$item['params']);
                    
#$lines[$if]['script'][] = $item['name'];

FYI: I just had to do the first part of your instructions and everything seems to be working fine for me now.

Thanks Scend!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Shawn S
Jr. Member
 
Total Posts:  5
Joined:  2008-06-21
 
Stress Head - 08 September 2008 12:19 AM

For anyone else with this problem. I used the downloader, and my file and folder permissions were all over the place.

I spent ages going though them, and the file that made the menu work in the admin was /js/index.php.

Once this was set to 644 the menu worked.

Setting this file to 644 solved it for me.

 
Magento Community Magento Community
Magento Community
Magento Community
 
mischah
Jr. Member
 
Total Posts:  20
Joined:  2008-04-22
Germany
 

I’m wondering that this issue still exists in 1.1.6!

Chmodding files and folders as described above doesn’t worked for me.

So I had to edit the Head.php in the core again by hand. after changing one row it worked fine.

So for everyone else who ist still figting with that annoying bug here is my resolution based on this post http://www.magentocommerce.com/boards/viewthread/4679/P30/#t17714 (Page 3 in this thread).

Just open this file:
/app/code/core/Mage/Page/Block/Html/Head.php

an change this:

#$lines[$if]['other'][] = sprintf($script, $baseJs.$item['name'], $item['params']);
$lines[$if]['script'][] $item['name'];

into that (just swapping the comment over) :

$lines[$if]['other'][] sprintf($script$baseJs.$item['name']$item['params']);
#$lines[$if]['script'][] = $item['name'];

These two lines are line 104 and 105 in magento 1.1.6

That’s it.

 
Magento Community Magento Community
Magento Community
Magento Community
 
TwinCitiesTech
Jr. Member
 
Total Posts:  2
Joined:  2007-11-28
 

Mine worked too when I modified the head.php file as mischah did.

 
Magento Community Magento Community
Magento Community
Magento Community
 
RuiS
Jr. Member
 
Total Posts:  3
Joined:  2008-06-04
 
mischah - 18 September 2008 05:44 AM

I’m wondering that this issue still exists in 1.1.6!

Chmodding files and folders as described above doesn’t worked for me.

So I had to edit the Head.php in the core again by hand. after changing one row it worked fine.

So for everyone else who ist still figting with that annoying bug here is my resolution based on this post http://www.magentocommerce.com/boards/viewthread/4679/P30/#t17714 (Page 3 in this thread).

Just open this file:
/app/code/core/Mage/Page/Block/Html/Head.php

an change this:

#$lines[$if]['other'][] = sprintf($script, $baseJs.$item['name'], $item['params']);
$lines[$if]['script'][] $item['name'];

into that (just swapping the comment over) :
$lines[$if]['other'][] sprintf($script$baseJs.$item['name']$item['params']);
#$lines[$if]['script'][] = $item['name'];

These two lines are line 104 and 105 in magento 1.1.6

That’s it.

Tanks mischah, it solves it .

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jesse Stewart
Member
 
Avatar
Total Posts:  67
Joined:  2008-02-18
Salt Lake City, Utah
 

I’m experiencing javascript errors like the ones described here.

Basically - If refresh a page and it’s cache (ctrl+F5) everything works okay, fresh that page or revisit it and it gives “… not defined” errors. I made a screencast of it last night.

Thanks!

http://67.228.239.131/support/captivate/Magento%20javascript%20error_demo.htm

 Signature 

Jesse Stewart Creative
Graphic design and web.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Andre Xori
Member
 
Avatar
Total Posts:  54
Joined:  2008-05-02
 

I got it! Thanks RuiS.

But in my Head.php these two lines were 98 e 99.
Now, works great.

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
aroha
Jr. Member
 
Total Posts:  12
Joined:  2008-05-19
Napier
 

editing the head.php worked for me in 1.1.6

i had all the correct chmod settings and was still broken so i’m stoked someone worked this out.

maybe they should put this in the install guide, “your navigation in the admin panel is probably going to break rendering your magento useless, especially if you install an extension or a theme. the instructions for the fix is to read through pages and pages of forum posts and if you dig deep enough and after much trial and error you should find this post and it should work for you, but hey, no promises”

I hope this doesn’t come across to sarcastic but i was ready to smash something or through my computer against the wall....

deep breath… relax… it’s ok, it’s fixed now.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
52311 users|443 users currently online|105635 forum posts