rss
twitter
    Find out what I'm doing, Follow Me :)

Monday, January 11, 2010

Pin It

Widgets

javascript in Magento Not Working (js 404 error)

While 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 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

Source : http://www.magento-vietnam.com/magento-tips-tricks/javascript-magento-not-working/

No comments:

Post a Comment