We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8808
    • 14 Posts
    http://www.jessicawarren.com/manager

    I went through and deleted the bad code from the hacked files per my hosting providers instructions.
    The site appeared fine after this, until I tried to login to the manager.

    I only have backups from a few years ago- I did not set up this site, it was handed over to me to manage, and I am a modx noob.
    Is there a shortcut to this problem, or do I have to start again from scratch? I think my config file is probably broken.. : (

      • 33337
      • 3,975 Posts
      Zaigham (aka zi) Reply #2, 16 years ago
      see if /manager folder is actually there.
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 8808
        • 14 Posts
        The folder is there, but not working. Can I just rewrite it with my backed-up manager folder?
          • 18913
          • 654 Posts
          Save the config.inc.php file first before overwriting anything. That has your database access info in it...
          Also, www.archive.org might be able to help you find any content or style sheets for which you don’t have recent updates.
          MattC
          PS What version of MODx is installed and is the backed-up copy the same version?

          PPS config.inc.php will be in /manager/includes, in the event you are unfamiliar with the folder structure
            • 8808
            • 14 Posts
            OK, did that and overwrote the manager file. Still not working. Not sure why I would get this page that appears, it looks like it’s not finding the manager folder- why would this be?

            http://www.jessicawarren.com/manager
              • 3749
              • 24,544 Posts
              Quote from: emdub at Sep 09, 2010, 03:41 PM

              OK, did that and overwrote the manager file. Still not working. Not sure why I would get this page that appears, it looks like it’s not finding the manager folder- why would this be?

              http://www.jessicawarren.com/manager

              Did you also overwrite all the directories and files below the manager folder (except for manager/includes/config.inc.php)
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
                • 8808
                • 14 Posts
                Yes.. I also just tried to re-install Modx (as an update to Evolution) and got the same result.

                http://www.jessicawarren.com/manager

                It seems like I should be able to do a fresh install and would not have this problem.

                I really don’t want to redo this site from scratch. ANY clues out there?? TIA!!
                  • 3749
                  • 24,544 Posts
                  That’s a strange result. It should be asking asking you to log in.

                  I think what you’re seeing there *is* the Manager page but without the CSS and JS, but for some reason, it’s also showing your front-end menu. Unfortunately, I can’t think of any explanation for that.
                    Did I help you? Buy me a beer
                    Get my Book: MODX:The Official Guide
                    MODX info for everyone: http://bobsguides.com/modx.html
                    My MODX Extras
                    Bob's Guides is now hosted at A2 MODX Hosting
                    • 18913
                    • 654 Posts
                    Is it possible that index.php in manager doesn’t exist? I say this because it’s almost as if your .htaccess file is redirecting any file-not-found to an index.php file somewhere. But the css file it wants to see is not the same one that is pulled up by the site page (if you browse to the www.jessicawarren.com)

                    What does your htaccess file look like? Have you checked that the permissions on everything under manager is 644 (for example), with config.inc.php as 600/read-only?

                    Matt

                    PS Are you *really* sure that the manager folder and all its subfolders are there? Because it sure doesn’t seem that way...
                      • 8808
                      • 14 Posts
                      OH--- maybe this is the problem:
                      My htaccess file:

                      # For full documentation and other suggested options, please see
                      # http://svn.modxcms.com/docs/display/MODx096/Friendly+URL+Solutions
                      # including for unexpected logouts in multi-server/cloud environments
                      # and especially for the first three commented out rules

                      #php_flag register_globals Off
                      #AddDefaultCharset utf-8
                      #php_value date.timezone Europe/Moscow

                      Options +FollowSymlinks
                      RewriteEngine On
                      RewriteBase /

                      # Fix Apache internal dummy connections from breaking [(site_url)] cache
                      RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
                      RewriteRule .* - [F,L]

                      # Rewrite domain.com -> www.domain.com -- used with SEO Strict URLs plugin
                      #RewriteCond %{HTTP_HOST} .
                      #RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
                      #RewriteRule (.*) http://www.example.com/$1 [R=301,L]

                      # Exclude /assets and /manager directories and images from rewrite rules
                      RewriteRule ^(manager|assets)/*$ - [L]
                      RewriteRule \.(jpg|jpeg|png|gif|ico)$ - [L]


                      # For Friendly URLs
                      RewriteCond %{REQUEST_FILENAME} !-f
                      RewriteCond %{REQUEST_FILENAME} !-d
                      RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

                      # Reduce server overhead by enabling output compression if supported.
                      #php_flag zlib.output_compression On
                      #php_value zlib.output_compression_level 5


                      Should I delete the manager/assets rewrite rule?