We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22427
    • 793 Posts
    In an old Evo 1.014 installation I wanted to edit the hostname setting, obviously made a typo and saved before double-checking.

    Now i can't access the manager anymore (page not found).

    What can I do? I have access to the database and to the file system.

    Thanks for any hints.

      • 54199
      • 108 Posts
      Use PhpMyAdmin to search "http_host" in database and fix it.
        • 22427
        • 793 Posts
        Thank you for your help.
        Searching for http_host I just found two calls of the variable $_SERVER["HTTP_HOST"], but not the definition of that value.

        Finally in the file system I stumbled about the file /assets/cache/siteHostnames.php containing the line
        define('MODX_SITE_HOSTNAMES', '.....');
        Here I could correct the mistake.
        Additionally I had to delete the files named docid_1.pageCache.php a.s.o. - otherwise all the internal links would fail.


        [ed. note: ottogal last edited this post 5 years, 10 months ago.]