On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • OK thanks. Here is what I have done:

    Started fresh and uploaded:
    manager
    core
    setup
    connectors
    the few files to the root directory

    moved core to /usr/local/modxrevolution

    Set all write permissions as per doco and setup the config file in the core/cache directory

    Edited all config.core.php files

    Edited my local httpd.include file to allow /usr/local/modxrevolution in my open_basedir restriction

    Ran the setup and all went smoothly.

    All green ticks.

    Database setup correctly (I assume - it has 54 tables in it)

    Completes setup and get the option to go to the manager.

    Manager reports in a big red box:

    503 Error
    Site temporarily unavailable.

    Everything else on the domain is still working. Other php files on the domain still work correctly.

    Tried on another computer that has never been on the domain and it also gets the 503 error - so it can’t be a cookie or cache issue.

    php v 5.2.0-8
    linux
    apache 2.0
    mysql 5.0.32
    safe mode off
    memory_limit 120M
    max_execution_time 120

    Suggestions?


    • php v 5.2.0-8
      Seriously? I would suggest using a recent release of PHP 5.2. 5.2.0 almost certainly will contain bugs that will cause problems. Otherwise, I’m not sure what to tell you; sounds like you did everything correctly. Are there PHP errors being logged to your Apache error_log or any in the core/cache/logs/error.log file?
      • cache/logs/ directory contains 1 file
        install.config.2009-09-17T10:44:22

        has amongst other things errors like this:
        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Error executing PHP script /usr/local/modxrevolution/packages/core/modContext/515674d74fb65d3459617987b6ea7f0f.resolve.core.resolver
        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Could not resolve vehicle: Array

        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Error executing PHP script /usr/local/modxrevolution/packages/core/modContext/1642954be5370caa3c12fffb831fbccd.resolve.core.resolver
        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Could not resolve vehicle: Array

        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Could not install files from /usr/local/modxrevolution/packages/core/xPDOFileVehicle/5624a8113caf59ad3c91e78915591c38/ to /var/www/vhosts/treadly.com/httpdocs/connectors/
        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Could not install files from /usr/local/modxrevolution/packages/core/xPDOFileVehicle/16f23e2fbd0b1a072f6ed04a1974b6dc/ to /var/www/vhosts/treadly.com/httpdocs/connectors/
        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Could not install files from /usr/local/modxrevolution/packages/core/xPDOFileVehicle/31fdde596a6791c130fd4800f4c7ec57/ to /var/www/vhosts/treadly.com/httpdocs/connectors/
        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Could not install files from /usr/local/modxrevolution/packages/core/xPDOFileVehicle/3291dae6c3f6eb27bfd04bc954eae910/ to /var/www/vhosts/treadly.com/httpdocs/connectors/
        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Could not install files from /usr/local/modxrevolution/packages/core/xPDOFileVehicle/08dd348faed6e3e61ce14b95f2de256d/ to /var/www/vhosts/treadly.com/httpdocs/connectors/
        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Could not install files from /usr/local/modxrevolution/packages/core/xPDOFileVehicle/9c8d71af7aedf418d3ac1c94e5357399/ to /var/www/vhosts/treadly.com/httpdocs/connectors/
        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Could not install files from /usr/local/modxrevolution/packages/core/xPDOFileVehicle/e3ffd172ae2744b88f5ababbfd6c5fbc/ to /var/www/vhosts/treadly.com/httpdocs/connectors/
        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Could not install files from /usr/local/modxrevolution/packages/core/xPDOFileVehicle/2ae49a4fba5fe49063ad176058039b79/ to /var/www/vhosts/treadly.com/httpdocs/connectors/
        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Could not install files from /usr/local/modxrevolution/packages/core/xPDOFileVehicle/9a444ef7f0ad7ea8d0eb36b67654edfa/ to /var/www/vhosts/treadly.com/httpdocs/connectors/
        [2009-09-17 10:44:23] (ERROR @ /setup/index.php) Could not install files from /usr/local/modxrevolution/packages/core/xPDOFileVehicle/5cd650ebaf46bd0e8b27a44e79bf6b18/ to /var/www/vhosts/treadly.com/httpdocs/connectors/

        What would cause this?

        The connectors directory is 777 - should that be recursive? ie should all directories within connectors also be 777? I don’t recall doing this (recursive 777) on my original install that worked with the core in the httpdocs directory.

        That version of php worked fine when I installed the first time and ended up with the core in the httpdocs area. I went through to manager and could do stuff, no problems. Build Date May 1 2009 10:13:14 so it isn’t that old.
        • Those install errors mean nothing unless you are doing an install using the advanced package.

          If it worked fine when you installed with the core in the httpdocs dir, it should work when you move the core and alter the config.core.php files as BobRay suggested, without taking any other action (you don’t need to install again at that point).
          • Thanks.

            Posted full sequential steps I followed in a new thread so that it may help others.

            All working. Help was much appreciated.
            • Quote from: scarfy96 at Sep 18, 2009, 12:11 AM

              Thanks.

              Posted full sequential steps I followed in a new thread so that it may help others.

              All working. Help was much appreciated.

              I’m glad you got it working. Thanks for contributing the steps you took. I’m sure that will be really helpful for others. smiley
                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