Sunday, January 5, 2014

#magento - System Configuration -> Save Config Button dosen't work

You found that on Magento Backoffice, the "Save Config" button´dose't work and you can't save any modification that you do on each group on magento configuration. If you use browser inspector you can see that there is some errors on inspector console, like "Uncaught SyntaxError: Unexpected token ILLEGAL", and when you try to click on the button you can see a lot of prototype.js error messages.

That is because prototype.js used by Magento core is not friendly with jquery library, to solve that you have to add a title modification on your jquery library as indicated on the next steps:

Path:  /httpdocs/p/skin/frontend/base/default/rokmage-main-js/
File:    jquery.min.js

Open that file and add that statement at the end:   "jQuery.noConflict();"
You will have that file like that:
/*! jQuery v1.8.3 | */
(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-
define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window);jQuery.noConflict();



  1. Hi,

    Even for me " save config button not working in contacts".

    Can you please help me.
    i am using these js files





    where i have to change the code

    In my theme , there is no prototype.js file is not present.

    is i have to add the prototype.js file.

    thanks in advance

  2. Hi,

    Where is httpdocs folder in magento

    Thansk in Advance

  3. Hi,

    There is no jquery.min.js file in magento, can you please tell me which js file , i have to edit?

  4. This comment has been removed by the author.

  5. Great Read! I am impressed on how you make your article easy to understand. I'll come back for more :D

    Japs Buidon is a Social Media Specialist and belongs to a team of Magento Developer in Florida. For more tutorial and tips you can follow him here ->

  6. Great blog. All posts have something to learn. Your work is very good and i appreciate you and hoping for some more informative posts.keep writing
    magento development company in bangalore