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

    I’m trying the "traditional" setup and it is a private server.

    I’m trying to delete all the files, but as it uses apache to create its files and it create everything using 644, i cannot remove yet the files in the /core/cache/ folders. I have to call my provider and ask him to delete it for me ^^.

    I did find some error files in /core/cache/logs/ with this inside :
    [2009-08-18 10:03:24] (FATAL) Could not load core MODx configuration!

    I’ll try to re-upload everything again after this.

    Thanks!
    • In a situation like that, you can usually delete files from your domain’s control panel file manager(CPanel?).

      Or, you can write a quick-and-dirty PHP file to delete the files; since a PHP script created them a PHP script can delete them.
      http://il2.php.net/unlink

        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 31947
        • 14 Posts
        Hello,

        I used a php script to delete all the files and then re-upload them.

        I still have the same problem. It is still giving me a blank screen on /setup/index.php?action=install

        I check the database, and it had create all the tables, but there are only two records, one in "modx_workspaces" and another one in "modx_transport_providers".
        In my local test when it works, it creates me also the admin user in "modx_users".
        So the script crash before this...

        And when i uses Opera to do this, it sends me an "Connection closed by the server" instead of the blank page.

        Sad sad sad... :’(
          • 31947
          • 14 Posts
          Here are the apache logs, but nothing very relevant for me ...

          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:25 +0200] "GET /modx/setup/ HTTP/1.1" 200 3902 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:26 +0200] "GET /modx/setup/assets/css/reset.css HTTP/1.1" 304 - "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:26 +0200] "GET /modx/setup/assets/css/text.css HTTP/1.1" 304 - "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:26 +0200] "GET /modx/setup/assets/js/mootools.js HTTP/1.1" 304 - "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:26 +0200] "GET /modx/setup/assets/modx.css HTTP/1.1" 304 - "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:26 +0200] "GET /modx/setup/assets/css/print.css HTTP/1.1" 304 - "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:26 +0200] "GET /modx/setup/assets/css/style.css HTTP/1.1" 304 - "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:26 +0200] "GET /modx/setup/assets/css/layout.css HTTP/1.1" 304 - "http://website.com/modx/setup/assets/css/style.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:29 +0200] "GET /modx/setup/assets/css/960.css HTTP/1.1" 304 - "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:29 +0200] "GET /modx/setup/assets/js/moodx.js HTTP/1.1" 304 - "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:29 +0200] "GET /modx/setup/assets/js/formhandler.js HTTP/1.1" 304 - "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:29 +0200] "GET /modx/setup/assets/js/modx-setup.js HTTP/1.1" 304 - "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:29 +0200] "GET /modx/setup/assets/images/img_box.png HTTP/1.1" 304 - "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:29 +0200] "GET /modx/setup/assets/images/img_splash.gif HTTP/1.1" 304 - "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:29 +0200] "GET /modx/setup/assets/images/header_background.png HTTP/1.1" 304 - "http://website.com/modx/setup/assets/modx.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:29 +0200] "GET /modx/setup/assets/images/meta_separator.gif HTTP/1.1" 304 - "http://website.com/modx/setup/assets/modx.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:29 +0200] "GET /modx/setup/assets/images/modx_logo_header.png HTTP/1.1" 304 - "http://website.com/modx/setup/assets/modx.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:29 +0200] "GET /modx/setup/assets/images/footer_fold_top.jpg HTTP/1.1" 304 - "http://website.com/modx/setup/assets/modx.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:29 +0200] "GET /modx/setup/assets/images/footer_fold_bottom.jpg HTTP/1.1" 304 - "http://website.com/modx/setup/assets/modx.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:30 +0200] "POST /modx/setup/processors/connector.php?action=language HTTP/1.1" 200 75 "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:30 +0200] "POST /modx/setup/index.php?action=welcome HTTP/1.1" 200 3797 "http://website.com/modx/setup/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:32 +0200] "POST /modx/setup/processors/connector.php?action=welcome HTTP/1.1" 200 75 "http://website.com/modx/setup/index.php?action=welcome" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:32 +0200] "POST /modx/setup/index.php?action=options HTTP/1.1" 200 5134 "http://website.com/modx/setup/index.php?action=welcome" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:32 +0200] "GET /modx/setup/assets/images/im_new_inst.gif HTTP/1.1" 304 - "http://website.com/modx/setup/index.php?action=options" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:32 +0200] "GET /modx/setup/assets/images/im_inst_upgrade.gif HTTP/1.1" 304 - "http://website.com/modx/setup/index.php?action=options" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:33 +0200] "POST /modx/setup/processors/connector.php?action=options HTTP/1.1" 200 76 "http://website.com/modx/setup/index.php?action=options" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:33 +0200] "POST /modx/setup/index.php?action=database HTTP/1.1" 200 7186 "http://website.com/modx/setup/index.php?action=options" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:12:54 +0200] "POST /modx/setup/processors/connector.php?action=test_connection HTTP/1.1" 200 110 "http://website.com/modx/setup/index.php?action=database" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:13:09 +0200] "POST /modx/setup/index.php?action=summary HTTP/1.1" 200 9108 "http://website.com/modx/setup/index.php?action=database" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          xxx.xxx.xxx.xxx - - [18/Aug/2009:17:13:09 +0200] "GET /modx/setup/assets/images/icon_ok.gif HTTP/1.1" 304 - "http://website.com/modx/setup/assets/modx.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009051221 Firefox/3.0.10"
          
          • What are your mysql client and server versions? I suspect this is a problem there; also, we do not yet support MySQL 5.1.x server versions as we have no tested with these releases; there are potentially going to be issues with the mysql client version being used to work with this server version. And is PDO_mysql enabled?
              • 31947
              • 14 Posts
              Hello,

              MySQL client api version : 5.1.12-beta
              MySQL server version : 5.1.12-beta

              PDO Mysql is enabled on it.

              My local test server is using 5.1.36 and it works on it, so i thought that was solved.
              Shall i change my server and use 5.0 instead then ?

              thank you !
                • 8522
                • 145 Posts
                hi

                Last time I succeeded to install revolution (NOT Advanced), when everything was writable. Now decided to install a fresh beta5 (NOT Advanced). Usually I work with cyberduck osx ftp client, but it gives an error each time when uploading a file with 0 bytes. There are several of this zero bytes files in beta5.

                So this time I try FileZilla.

                If I make all directories writable as described on http://svn.modxcms.com/docs/display/revolution/Fresh+Installation it gives me a blank page at /setup/index.php?action=options (same as last time see first post of this thread)

                When I make ALL directories 777 recursively writable from and including /[root] the installation process continues (no blank page jubee!!). I field once a ticket for this problem and it got "fixed" with commit r5905.

                The fact that the installation process just continues when every directory is writable makes me feel that there is still one or more directories missing that should have write permission.

                I’ll try to reopen issue MODX-1080, ok?
                • Quote from: BobRay at Jul 28, 2009, 09:00 AM

                  There are some things to try with an Error 500 here: http://bobsguides.com/modx-installation-faq.html

                  Also, If your host uses suPHP, you need a line in .htaccess to specify where the php.ini file is:

                  suPHP_ConfigPath /home/user/public_html/site_name


                  Do not do this on Cpanel. Use the EZ php Config wizard to handle your settings. This will cause a 500 error as php directives are not allowed in the Cpanel .htaccess files.

                  Quote from: eerne at Dec 19, 2009, 12:47 PM

                  If I make all directories writable as described on http://svn.modxcms.com/docs/display/revolution/Fresh+Installation it gives me a blank page at /setup/index.php?action=options (same as last time see first post of this thread)

                  When I make ALL directories 777 recursively writable from and including /[root] the installation process continues (no blank page jubee!!). I field once a ticket for this problem and it got "fixed" with commit r5905.

                  No where does the install instructions tell you to chmod -R 777 everything. It does say to chmod +w directoryName.

                  I have some sites to switch over to revolution the week. I will try to remember to double check everything on this, and then I will update confluence to make this clearer.
                    Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

                    Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com
                    • 8522
                    • 145 Posts
                    Quote from: wshawn at Dec 21, 2009, 11:55 AM


                    Quote from: eerne at Dec 19, 2009, 12:47 PM

                    If I make all directories writable as described on http://svn.modxcms.com/docs/display/revolution/Fresh+Installation it gives me a blank page at /setup/index.php?action=options (same as last time see first post of this thread)

                    When I make ALL directories 777 recursively writable from and including /[root] the installation process continues (no blank page jubee!!). I field once a ticket for this problem and it got "fixed" with commit r5905.

                    No where does the install instructions tell you to chmod -R 777 everything. It does say to chmod +w directoryName.

                    I have some sites to switch over to revolution the week. I will try to remember to double check everything on this, and then I will update confluence to make this clearer.

                    sorry for the confusion. I should have wrote:

                    If I make THE directories writable as described on http://svn.modxcms.com/docs/display/revolution/Fresh+Installation it gives me a blank page at /setup/index.php?action=options

                    I never meant to say that the documentation told me to chmod -R 777 everything.

                    This was my second attempt. I tried to install the traditional revolution with chmod -R 777 and everything installed fine!. so I assume that there is one or more directories that should have 777, which are not described on the fresh-installation page.

                    cheers
                    eni
                    • Are you exploding the zip on your local computer and then uploading each file or are you uploading the entire zip and exploding it on the server?

                      I have found exploding it locally seems to work best.

                      On my own server I have a complete upload which I then tar and drop into directories for whatever site I would install it on -- with all of the writable settings in place. I only needed to change group and owner.
                        Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

                        Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com