0
Welcome Guest! Login
0 items Join Now

Error to save menu items settings

    • NZD - Jonathan's Avatar
    • NZD - Jonathan
    • Hero Rocketeer
    • Posts: 436
    • Thanks: 0
    • CEO, NZD Securities

    Re: Error to save menu items settings

    Posted 14 years 4 months ago
    • Arifin FinLy wrote:
      Hello Julio,

      I just checked your site as well and like Jonathan mentioned, I see the admin area uses Mootools 1.2 but it seems there's another plugin that calls Mootools 1.1 as well so there's a conflict when 2 libraries were loaded at the same time.
      May I test these things in your admin:
      - upgrade your Gantry to the latest version?
      - unpublish all plugin first and then enable them one by one for troubleshootin?

      Just like Arifin says, unpublish all plugins, not modules.
      To speed up the process, install firebug and also check your source.
      And it will give you a hint in what plugin that causes the issue.
    • JulioD's Avatar
    • JulioD
    • Sr. Rocketeer
    • Posts: 197
    • Thanks: 0

    Re: Error to save menu items settings

    Posted 14 years 4 months ago
    • With Gantry updated to 3.1.5 and all plugins unpublished, I get the same errors. I can't open settings with mootools 1.12 and I can't save with mootools 1.2!
      Jonathan Norling wrote:
      To speed up the process, install firebug and also check your source.
      I see the errors with firebug but I don't know where are coming from.
    • NZD - Jonathan's Avatar
    • NZD - Jonathan
    • Hero Rocketeer
    • Posts: 436
    • Thanks: 0
    • CEO, NZD Securities

    Re: Error to save menu items settings

    Posted 14 years 4 months ago
    • Is it a shared host?
      Since otherwise i could give it a second try.
    • JulioD's Avatar
    • JulioD
    • Sr. Rocketeer
    • Posts: 197
    • Thanks: 0

    Re: Error to save menu items settings

    Posted 14 years 4 months ago
    • Jonathan Norling wrote:
      Is it a shared host?
      Yes, it does. But it was working early. I installed some RTemplates to test and all was ok. :shock:
    • NZD - Jonathan's Avatar
    • NZD - Jonathan
    • Hero Rocketeer
    • Posts: 436
    • Thanks: 0
    • CEO, NZD Securities

    Re: Error to save menu items settings

    Posted 14 years 4 months ago
    • Hmm, it could either be permission failure or just that mootools file that is corrupt.
      It could also be some incorrect order of the script.
      My recommendation to you is.

      Create a subdomain named dev.yourdomain.com
      Install a brandnew rocketlauncher of the current version, and then import part after part of your current site. Im 99% sure it's something that breaks with a plugin and the current loaded javascript.
    • JulioD's Avatar
    • JulioD
    • Sr. Rocketeer
    • Posts: 197
    • Thanks: 0

    Re: Error to save menu items settings

    Posted 14 years 4 months ago
    • I would like to try some ways before a new installation.
      Please compare your admin html code and mine.

      WITH MOOTOOLS 1.12
      In template administration (before to enter in gantry settings) I get these .js loaded files:
      <script type="text/javascript" src="/portal/includes/js/joomla.javascript.js"></script>
      <script type="text/javascript" src="/portal/media/system/js/mootools-uncompressed.js"></script>
      <script type="text/javascript" src="/portal/media/system/js/modal.js"></script>
      <script type="text/javascript">
              window.addEvent('domready', function(){ var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false}); });
              window.addEvent('domready', function() {
       
                  SqueezeBox.initialize({});
       
                  $$('a.modal').each(function(el) {
                      el.addEvent('click', function(e) {
                          new Event(e).stop();
                          SqueezeBox.fromElement(el);
                      });
                  });
              });
      </script>
       
      [...]
       
      <script type="text/javascript" src="templates/khepri/js/menu.js"></script>
      <script type="text/javascript" src="templates/khepri/js/index.js"></script> 

      In Gantry template settings:
      <script type="text/javascript" src="/portal/includes/js/joomla.javascript.js"></script>
      <script type="text/javascript" src="/portal/media/system/js/mootools-uncompressed.js"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/gantry-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/menuitemhead/js/menuitemhead-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/selectbox/js/selectbox-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/preset/js/preset-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/preset/js/preset-saver-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/slider/js/slider-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/toggle/js/touch-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/toggle/js/toggle-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/slider/js/unserialize-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/features/js/features-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/media/system/js/modal.js"></script>
      <script type="text/javascript">
              window.addEvent('domready', function(){ var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false}); });
      [...]
      </script>
       
      [...]
       
      <script type="text/javascript" src="templates/khepri/js/menu.js"></script>
      <script type="text/javascript" src="templates/khepri/js/index.js"></script>
       

      It seems like Gantry loads the .js files for mootools 1.2.

      5 ERRORS:
      1. Drag.implement is not a function
        --/components/com_gantry/admin/widgets/slider/js/slider-mt1.2.js?ver=3.1.5
        Line 9
      2. String.implement is not a function
        --/components/com_gantry/admin/widgets/slider/js/unserialize-mt1.2.js?ver=3.1.5
        Line 24
      3. String.implement is not a function
        --/administrator/tmp/inline-javascript.js
        Line 142
      4. Cookie.read is not a function
        --/components/com_gantry/admin/widgets/gantry-mt1.2.js?ver=3.1.5
        Line 9
      5. Fx.Tween is not a constructor
        --/portal/components/com_gantry/admin/widgets/gantry-mt1.2.js?ver=3.1.5
        Line 9
    • JulioD's Avatar
    • JulioD
    • Sr. Rocketeer
    • Posts: 197
    • Thanks: 0

    Re: Error to save menu items settings

    Posted 14 years 4 months ago
    • WITH MOOTOOLS 1.2
      In template administration (before to enter in gantry settings) I get these .js loaded files:
      <script type="text/javascript" src="/portal/includes/js/joomla.javascript.js"></script>
      <script type="text/javascript" src="/portal/plugins/system/mtupgrade/mootools-uncompressed.js"></script>
      <script type="text/javascript" src="/portal/media/system/js/modal.js"></script>
      <script type="text/javascript">
      window.addEvent("domready", function() {
          var JTooltips = new Tips($$(".hasTip"), { maxTitleChars: 50, fixed: false});
      });
      window.addEvent("domready", function() {
          SqueezeBox.initialize({});
          $$("a.modal").each(function(el) {
              el.addEvent("click", function(e) {
                  new Event(e).stop();
                  SqueezeBox.fromElement(el);
              });
          });
      });
      </script>
       
      [...]
       
      <script type="text/javascript" src="templates/khepri/js/menu.js"></script>
      <script type="text/javascript" src="templates/khepri/js/index.js"></script>

      In Gantry template settings:
      <script type="text/javascript" src="/portal/includes/js/joomla.javascript.js"></script>
      <script type="text/javascript" src="/portal/plugins/system/mtupgrade/mootools-uncompressed.js"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/gantry-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/menuitemhead/js/menuitemhead-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/selectbox/js/selectbox-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/preset/js/preset-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/preset/js/preset-saver-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/slider/js/slider-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/toggle/js/touch-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/toggle/js/toggle-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/slider/js/unserialize-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/components/com_gantry/admin/widgets/features/js/features-mt1.2.js?ver=3.1.5"></script>
      <script type="text/javascript" src="/portal/media/system/js/modal.js"></script>
      <script type="text/javascript">
      window.addEvent("domready", function() {
          var JTooltips = new Tips($$(".hasTip"), { maxTitleChars: 50, fixed: false});
      });
      [...]
      </script>
       
      [...]
       
      <script type="text/javascript" src="templates/khepri/js/menu.js"></script>
      <script type="text/javascript" src="templates/khepri/js/index.js"></script>

      NO ERRORS. But when you try to save:
      1. j.isRunning is not a function
        --/components/com_gantry/admin/widgets/menuitemhead/js/menuitemhead-mt1.2.js?ver=3.1.5
        Line 9
    • JulioD's Avatar
    • JulioD
    • Sr. Rocketeer
    • Posts: 197
    • Thanks: 0

    Re: Error to save menu items settings

    Posted 14 years 4 months ago
    • Reviewing the html page just I know why the error: The Joomla debug mode was actived! :cry:
      When so, the original joomla mootools file is charged as uncompressed and Gantry doesn't work properly since the two mootools files (original and own gantry) are charged.

      In order to develop sites with Gantry and debug actived, I think this issue could be fixed in further versions.

      Thanks a lot for your assistance!
  • Re: Error to save menu items settings

    Posted 14 years 3 months ago
    • I'm having this problem too, but I don't quite follow what you're saying. Were you able to fix the issue with saving individual menu item presets?
    • JulioD's Avatar
    • JulioD
    • Sr. Rocketeer
    • Posts: 197
    • Thanks: 0

    Re: Error to save menu items settings

    Posted 14 years 3 months ago
    • @jdunagan:
      Go to Global Settings/System (backend) and check if Debug Mode is active.
      In my system, with debug mode Gantry can't save menu settings.

Time to create page: 0.077 seconds