We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32131
    • 3 Posts
    Hi All

    I'd appreciate picking your collective brains on an issue I am experiencing.

    I have two sites where I suddenly started experiencing the same back end manager issues a month ago. Both were working fine since launch and were setup with standard permissions on an Admin user. WHMCS was used to install and from memory the server is running PHP 5.4 and MySql 5.6

    One is run on MODX Revolution 2.2.0-pl2 (traditional), the other on MODX Revolution 2.2.10-pl (traditional). When logging in to the back end the 2.2.0 goes to the welcome screen with mods feed, security issues etc, the 2.2.10 displays the same but truncated, showing only the top inch.

    These problems are replicated in Safari, Firefox and Chrome on Mac, same on PC, also on tablets etc - I tried many variants as I wasn't sure if it could be a corrupted css issue.

    Many (if not all) of the menu options don't seem to work - I cannot access settings, error log etc, though clicking some of the menu settings seems to force me to login again. The resource list is missing. No changes to access controls have been made, no updates have been made to modx. I have hopefully enclosed a screenshot of one of the blank manager pages, showing nothing below the menu bar other than a small check box in the top right which does nothing when clicked. I have tried logging out, clearing site cache etc but I am not sure that is actually working in common with other menu items.

    I have searched for similar problems and came across the following:

    https://forums.modx.com/thread/?thread=29853&page=1

    https://forums.modx.com/forums/thread/30445/no-resource-tree-been-working-for-days-and-now-nothing#dis-post-165018

    https://forums.modx.com/thread/45108/resources-tree-has-disappeared

    Is there a known solution for this behaviour or would it be best to backup and update the modx installations using Bob Ray's excellent book (thanks for that! superb) and Bob's online upgrade page http://bobsguides.com/modx-upgrade-faq.html

    Many thanks

    This question has been answered by sottwell. See the first response.

    [ed. note: WebHotChilliPepper last edited this post 12 years, 5 months ago.]
    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      It's usually better to try to get the existing installation working, then upgrade.

      So there are a few things I'd recommend trying first. Check and repair database tables. Manually clear the core/cache/ directory. Get into the database, and in the system_settings table, turn off compress_js and compress_css. Make sure that your browser cache and cookies are cleared for the site. Check your server's error logs, and see if your browser console or Firebug will help with any Javascript errors.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 32131
        • 3 Posts
        Thanks for this Susan, much appreciated and will try all these today.
          • 32131
          • 3 Posts
          Ok an update...

          Checked and repaired all (69) database tables using phpMyAdmin, manually deleted all contents of the core/cache directory using ftp, backed up the site content and tables using cPanel back up tools, cleared the browser site cache (unable to use the Site..Clear Cache option through the Manager still at this point)... checked Manager Back End function after each step and no change after each step at this point.

          Went into System Settings Table and turned off compress_js and compress_css, cleared all the browser cache and core/cache again and then access was properly restored with the Resource Tree available again. Thank you so much Susan, your help very much appreciated. I have only tried this on one of the sites so far but will try it on the other as well shortly.

          Looking at Safari's error console when I login to Manager I get the following:

          [Error] Error: Error calling method on NPObject.
          symcBFPerformOnDOMChangedHandler (manager, line 1)
          dispatchEvent
          respondToMessage (docstart.js, line 28)
          [Error] TypeError: 'undefined' is not a function (evaluating 'this.hide()')
          close (content_start_0.js, line 1)

          Am wondering if it would be sensible for me to over-write the relevant .js files with the original install files to check all ok. Will look into that.

          Thanks so much again, I would be very happy to send a caffeine donation or similar by way of thanks as you have got me out of a bind and I am learning at the same time - let me know.

          Kind regards

          Spencer [ed. note: WebHotChilliPepper last edited this post 12 years, 5 months ago.]