We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46314
    • 4 Posts
    Hello

    I wonder if you can help me!

    After a recent restore of a MODX installation all my sub pages refuse to work. This involved installing a fresh version (Due to the site been hacked) and pointing it back to the original database file.

    All seemed OK but now all the sub pages don't work. (homepage works fine) So anything after / doesn't work and just shows a blank page. I have looked at my server logs and it basically says

    [Fri Jan 17 10:14:36 2014] [error] [client 2.100.213.206] File does not exist: /home/phoenixc/public_htmlmbobsyouruncle.com404.shtml, referer: http:/bobsyouruncle.com
    [Fri Jan 17 10:14:36 2014] [error] [client 2.100.213.206] File does not exist: /home/phoenixc/public_html/bobsyouruncle.com/what-we-do.html, referer: http://bobsyouruncle.com
    [Fri Jan 17 10:14:31 2014] [error] [client 2.100.213.206] File does not exist: /home/phoenixc/public_html/bobsyouruncle.com/404.shtml

    So it cant find any of the pages not even the 404.

    I am assuming somewhere a path isn't set correctly? Can anyone point me in the right direction of what I should check to solve this?

    Thanks
      • 46314
      • 4 Posts
      I am using

      Modx revolution 2.2.10-pl Traditional

        • 10076
        • 1,024 Posts
        Where vs the manager?

        this looks like WP

        <script type='text/javascript' src='http://www.bobsyouruncle.com/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>
        <script type='text/javascript' src='http://www.bobsyouruncle.com/wp-content/plugins/contact-form-maker/js/main_front_end.js?ver=3.5.1'></script>
        <script type='text/javascript' src='http://maps.google.com/maps/api/js?sensor=false&ver=3.5.1'></script>
        <script type='text/javascript' src='http://www.bobsyouruncle.com/wp-content/plugins/contact-form-maker/js/if_gmap_front_end.js?ver=3.5.1'></script>
        <script type='text/javascript' src='http://www.bobsyouruncle.com/wp-content/plugins/contact-form-maker/js/calendar.js?ver=3.5.1'></script>
        <script type='text/javascript' src='http://www.bobsyouruncle.com/wp-content/plugins/contact-form-maker/js/calendar-setup.js?ver=3.5.1'></script>
        <script type='text/javascript' src='http://www.bobsyouruncle.com/wp-content/plugins/contact-form-maker/js/calendar_function.js?ver=3.5.1'></script>
        <script type='text/javascript' src='http://www.bobsyouruncle.com/wp-content/themes/thematic/library/scripts/superfish.js?ver=3.5.1'></script>
        <script type='text/javascript' src='http://www.bobsyouruncle.com/wp-content/themes/thematic/library/scripts/supersubs.js?ver=3.5.1'></script>
        <script type='text/javascript' src='http://www.bobsyouruncle.com/wp-content/themes/thematic/library/scripts/thematic-dropdowns.js?ver=3.5.1'></script>
          • 46314
          • 4 Posts
          Hi Frank

          Apologies wrong URL

          [Fri Jan 17 14:12:31 2014] [error] [client 62.24.181.135] File does not exist: /home/phoenixc/public_html/magdalanottingham.com/404.shtml, referer: http://magdala.pushmyprofile.co.uk/404.shtml
          [Fri Jan 17 14:12:31 2014] [error] [client 62.24.181.135] File does not exist: /home/phoenixc/public_html/magdalanottingham.com/404.shtml, referer: http://magdala.pushmyprofile.co.uk/404.shtml
          [Fri Jan 17 14:12:31 2014] [error] [client 62.24.181.135] File does not exist: /home/phoenixc/public_html/magdalanottingham.com/404.shtml, referer: http://magdala.pushmyprofile.co.uk/robots.txt
          [Fri Jan 17 14:12:31 2014] [error] [client 62.24.181.135] File does not exist: /home/phoenixc/public_html/magdalanottingham.com/robots.txt, referer: http://magdala.pushmyprofile.co.uk/robots.txt
          [Fri Jan 17 14:12:00 2014] [error] [client 2.100.213.206] File does not exist: /home/phoenixc/public_html/magdalanottingham.com/404.shtml
          [Fri Jan 17 14:12:00 2014] [error] [client 2.100.213.206] File does not exist: /home/phoenixc/public_html/magdalanottingham.com/404.shtml
            • 3749
            • 24,544 Posts
            First of all, make sure you have the .shtml files (e.g. 404.shtml) in the MODX root. They are not part of MODX, but you should be able to find them somewhere on your server. You should also have a robots.txt file there (also not part of MODX).

            Try manually deleting all files in the core/cache directory.

            You may have a hard-coded base href statement in the head section of your Template(s). It should be:

            <base href="[[!++site_url"]] />


            It appears that you have Friendly URLs turned off (which is good at this point). If there is an .htaccess file in the MODX root, try renaming it so it won't execute.
              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