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

    I installed MODX 0.9.6 and everything seemed to go ok. However, when I try to log in to the Manager I get the error message : "The Page Cannot be Found".
    The "Page" it is looking for is: http://127.0.0.1/php4/manager/ but php4 is not in the Apache/htdocs directory it is the directory where
    I have PHP installed so I’m not sure how it gets that path or why it is looking there. The path to the Manager should be: http://127.0.0.1/manager.

    Any help fixing this would be appreciated.

    I’m running:
    Windows XP
    Apache 2.2.3
    PHP 4.3.9
    MYSQL 3.23.49
      • 36805
      • 354 Posts
      Quote from: mchtower at Oct 11, 2007, 12:11 PM

      I’m running:
      Windows XP
      Apache 2.2.3
      PHP 4.3.9
      MYSQL 3.23.49
      If you are using a software package which bundles these things to run out-of-the-box it may have set-up things in a weird or wrong way or have weird default settings. So either you try to find out where your package has overridden the directory setting for the htdocs or you try to reinstall the whole thing, double checking whatever options you supply its installer with. Maybe switching to xampp would be a good idea, it is quite easy to install and runs reliably, I can really recommend it.
        • 18899
        • 9 Posts
        Thanks for the reply MrDutchy,

        No, I did not install as a bundle. I installed Apache, PHP and MYSQL separately. As for a weird default setting I suppose that’s possible but I run other apps from that directory with no problems. Wouldn’t an incorrect default setting affect all apps run from the htdocs directory? MODX is the only one that thinks php4 is in the htdocs directory.
          • 22303 MODX Staff
          • 10,725 Posts
          First, MODx automatically determines the paths from the PHP configuration variables that get set by Apache based on how you have them configured. It is possible you have a misconfiguration and all the other apps you run successfully do not have such an algorithm, and make you hard-code these paths on install, via a configuration file, or some other method, masking the real problem.

          Second, if you are installing these separately and on a local environment, why are you using such outdated versions of PHP and MySQL, yet a fairly recent release of Apache? Not that you need the bleeding edge (there’s always the potential for issues there, as well), but the versions of these products you’ve chosen are potentially going to hamper you down the line. I recommend at least PHP 4.3.10 (better to use 4.4.x), or leave PHP 4 behind and use PHP 5; and MySQL at least 4.1 or higher, and even here I recommend the 5.0.x series. I can understand (not really) why many hosts continue to use PHP 4, but in this situation, where you have a choice?
            • 3749
            • 24,544 Posts
            I solved a similar problem on Windows XP by installing the current version of XAMPP
            http://www.apachefriends.org/en/xampp-windows.html

            Which includes:

            Apache HTTPD 2.2.6 + Openssl 0.9.8e
            MySQL 5.0.45
            PHP 5.2.4
            PHP 4.4.7
            phpMyAdmin 2.11.1
            Zend Optimizer 3.3.0

            Bob
              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
              • 18899
              • 9 Posts
              BobRay and OpenGeek, thank you for your replies.

              The versions of PHP and MYSQL I’m using have been installed for a while and I can’t recall why I chose to install those particular versions.

              Rather than spend more time trying to find the problem I took BobRay and MrDutchy’s suggestion and installed xampp, then I reinstalled MODX. Everything is working correctly now.