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

    i have a linux hosting plan with Cpanel
    if i rename my ht.access to .htaccess the sites along with modx manager crashes.
    i solved the "REGISTER_GLOBAL off" problem by installing a php.ini file in the root of my website
    but i cant get the FRIENDLY URL to work.
    any solution please?
    thanks.
      • 25663 MODX Staff
      • 12,272 Posts
      You’ll need to inquire with your host if they support mod_rewrite. If they do, you need to update the htaccess file in the root of your MODx install to match your environment which your host should also be able to assist you with. Otherwise, when making support requests, please make sure to provide information about your web server and your client machine:

      Web Server:

      • PHP version and how it’s running (suexec, mod_php, CGI, etc.)
      • Apache or IIS version
      • Operating System and version


      Database:

      • MySQL version
      • List of any tables over 1MB in size


      MODx:

      • Version
      • Any changes you’ve made
      • Any snippets you’re running on the page that is not working properly
      • Any plugins you’re running


      Browser/Client:

      • Browser name and version
      • Operating System and version


      This will go a long way towards being able to quickly resolve or duplicate and bugs as applicable, and should result in a better overall support experience.

      Further, if you’re seeing problems with snippets not seeming to work right, make sure you’re enclosing parameters in back-tics, not single-quotes. On US-English keyboards that’s the key typically found at the top-left of the number row: `

      Thanks!
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 3749
        • 24,544 Posts
        If you put a php directive in your .htaccess to turn off register_globals (or for any other reason), try taking it (them) out.
          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