Magento Admin Menu Not Working (js 404 error)
AJAX, Magento, PHPWhile i was installing a Magento oscommerce platform I encountered a problem, a new problem i might add, because i never saw it before. I’ve worked before with Magento but never had any issues. This time, after getting it up and running i noticed that my admin menu wasn’t working, the options weren’t dropping down as usual.
You obviously can’t work without a menu so i started googling the issue. The first page i looked into gave some indications but nothing clear, and those guys we’re having the problem on ver 1.0 of Magento which is really old.
After trying and testing various methods i finally got it to work, and here is how i did it:
- step1: replace app/code/core/Mage/Page/Block/Html/Head.php with this head.php
- step2: chmod 755 the js/ folder, and folders within.
- step3: chmod 644 the javascript files inside js/lib/
- step4: chmod 644 js/index.php
- step5: there is no step 5
your menu is now working
Wednesday, November 5th, 2008 at 7:16 pm and is filed under AJAX, Magento, PHP. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Omg man, thanks very very much. This fixed my magento!
I’m glad it helped
Thanks, worked great. I clicked on an add for you.
Don’t do that ever again. That is against Google’s term of use.
It’s enough to say thank you.
thanks…
Very Good, You spared me lots me time:) except Head.php should not be change or it will result to a fatal error
omg, you rock! where do i send the beer?
hihi
thanks
DUDE THANKS I LOVE YOU.
Just wanna say thanks… I had the problem with the admin menu, which was solved so thanks number one.
Thanks number two is that its solved another major problem I had!!
PS. Is this wordpress? Very nice layout!
What’s that second problem, that you solved ?
and yes it’s wordpress, thanks.
oh, yea .. it was:
when I installed the ‘blue’ theme, the checkout page didnt work! As in, it showed the list of boxes to complete, but could not click, choose, or otherwise enter any info. It didnt even show the option to register/checkout as guest – nothing!
I tried so many options today, even installing an older version of magento and no joy..
to add insult to injury, I came back to it this evening to find the admin menu had stopped working!!!
Good thing, actually, because I then stumbled across your post which solved both in one hit.
Thanks. Again!
D
Okay then, I’m glad I helped
I have the same problem and with your solution, I solve it.
Thanks ProXy.
I try but still cannot. The admin panel just go back to the magento blank page. pls help. I am a dummie when it comes to web
Thanx a bunch, saved me hours of work!
Great tip. Thank you for posting it.
Not wanting to be hackish, I tried just the permissions fixes and it worked great for me!!
Thank-you so much!
I’d also suggest a few keywords for you because I’d been searching round the world for the root cause “magento js 404 error” in stead of just typing in “magento admin menus not working” because I could clearly see in firebug that my server was throwing a 404 when looking for /js/index.php?….
Thanks for the hint Jeremy.
i had spent almost 10 hours on this problem, i even reinstalled magento a few times.
thanks so much!!!
Thanx very much. I spent hours .. reinstalling …
I ‘m new to Magento, and i must say, perhaps (i don’t know yet) it has great possibilities, but the install and configure isn’t very much friendly.
Thanx again, at least my admin page works.
this was about the 5th thing i tried, the only one that worked!
Thanks alot.
after upgrading from magento version 1.3.2.1 to 1.3.2.2 the tabs on admin stopped working. But this thing fixed it beautifully.
Can you tell us the reason why we should replace the head.php?
for me everything started working fine again after changing the file permissions.
Thank you much
Great bit of information, I didn’t have to upload the new head.php file, just reset the permissions and it fixed my errors. I’m about a week in learning the Magento ropes and this software is seriously touchy.
THANKS YOU’RE A LEGEND, IT WORKED.
Great great great..
Just logged into magento and my surprice the admin links were not popping down.
I got worried that may be something’s gone wrong to the database.
Finally, googled the problem and got to your page and solved in less than 2minutes.
Thank you ever so much….
Great post! Thanks a lot!
We were stuck at this point from 2 days. Now resolved the issue.
Oh I feel so excited, I have spent hours trying to fix this problem and I have just followed the step to step guide above and it works, wow!
thanks aot bro, fixed me right up!
Thanks!!Saved me a lot of time!
thanks for the info. It finally works.
Thank’s! I just replaced your head.php and everything is ok again.
Be carreful before updating rights on your server, if you are using the french ATOS SIPS credit card payment extension, don’t forget to change request and response file write to allow execution ! otherwise your extension will not work.
Thanks alot mate .. I think that Magento Team should include this file in there new release .. i spent 3 hours trying to solve this stupid issue and finally this file save my night!
Wow!! thanks a million