We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43955
    • 4 Posts
    apple_freelancer Reply #1, 10 years ago
    Hi,


    I have a problem to access "manager" with Modx Evo 1.0.13. I use GoDaddy host. First, I download Modx Evo 1.0.13 and upload to the root of my host. Then go to www.mysite.com/install. Then I follow the instruction for installing modx. The installation is complete without any error or fail. I can access the frontend but I can not access "manager". every times I go to "www.mysite.com/manager" I always get "500 internal error". "www.mysite.com" is work. I just install without demo content.

    However, I do the same steps above in my localhost (my laptop). It is working perfect.


    I don't know what is the cause. Anyone has some kind of this problem with GoDaddy?


    Apple
      • 2762
      • 1,198 Posts
      Nicola (Banzai) Reply #2, 10 years ago
      check/delete the .htaccess file in manager folder
        Free MODx Graphic resources and Templates www.tattoocms.it
        -----------------------------------------------------

        MODx IT  www.modx.it
        -----------------------------------------------------

        bubuna.com - Web & Multimedia Design
        • 43955
        • 4 Posts
        apple_freelancer Reply #3, 10 years ago
        Quote from: banzai at Apr 21, 2014, 11:37 PM
        check/delete the .htaccess file in manager folder

        Thank you for quick reply. I tried to delete .htaccess but I still get 500 internal error when I try to access "www.mysite.com/manager" on GoDaddy.


        found the problem
        I found the problem in "manager/includes/accesscontrol.inc.php". It is the is_file function around line#137.

        Here is the code:
        elseif(is_file(MODX_BASE_PATH . $target)) {
        $target = MODX_BASE_PATH . $target;
        $login_tpl = file_get_contents($target);
        }
        -> MODX_BASE_PATH = G:/PleskVhosts/mysite.com/httpdocs/
        -> $target = G:/PleskVhosts/mysite.com/httpdocs/manager/media/style/common/login.tpl
        -> MODX_BASE_PATH . $target = G:/PleskVhosts/mysite.com/httpdocs/G:/PleskVhosts/mysite.com/httpdocs/manager/media/style/common/login.tpl

        So you can see this function -> "is_file(MODX_BASE_PATH . $target)" will throw an error.
        GoDaddy has php5.4 and it throws 500 internal error when executes is_file function above.
        My host (not GoDaddy) has php5.3.3 and it won't throw 500 internal error. It executes next sentence.

        So I am wondering, can I set PHP error level in GoDaddy? Maybe error_reporting might help but I don't know how to set and what value to be set.


        Still need some help



        Apple [ed. note: apple_freelancer last edited this post 10 years ago.]
        • Hello,

          Generally 500 errors are caused by problems with the .htaccess file and/or problems with your file permissions. Could you please verify you have the correct file permissions for GoDaddy?

          I know Godaddy can be problematic when it comes to using MODX, so it might not hurt to consider switching hosts. I know some hosts are very MODX friendly, and offer direct support.
            Patrick | Server Wrangler
            About Me: Website | TweetsMODX Hosting
            • 43955
            • 4 Posts
            apple_freelancer Reply #5, 10 years ago
            Quote from: AMDbuilder at Apr 23, 2014, 08:22 PM
            Hello,

            Generally 500 errors are caused by problems with the .htaccess file and/or problems with your file permissions. Could you please verify you have the correct file permissions for GoDaddy?

            I know Godaddy can be problematic when it comes to using MODX, so it might not hurt to consider switching hosts. I know some hosts are very MODX friendly, and offer direct support.


            I do consider to change the host. Could you tell me what host that support MODX Evo? smiley


            Thank you
            Apple
            • SkyToaster. Granted that's a slightly bias recommendation. You can also see Bob's recommendations: http://bobsguides.com/modx-friendly-hosts.html

              You can also find MODX providers here: http://modx.com/services/
                Patrick | Server Wrangler
                About Me: Website | TweetsMODX Hosting
                • 43955
                • 4 Posts
                Quote from: AMDbuilder at Apr 24, 2014, 08:47 PM
                SkyToaster. Granted that's a slightly bias recommendation. You can also see Bob's recommendations: http://bobsguides.com/modx-friendly-hosts.html

                You can also find MODX providers here: http://modx.com/services/


                Thank you for suggestion. My customer talked to GoDaddy and changed the Windows package to Linux package. The problem is gone. Thanks again