We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9207 ☆ A M B ☆
    • 2,475 Posts
    Well, if I can get this into a repeatable state, it might be useful... for now I’ve this version of MODx because the install has been impossible on the server slated for production. If anyone wants access to my server to test why this installation fails, please contact me.

    My memory limit is not too low. On the problematic server it’s set to 128M... this is far above the limit set on the working server (32M).

    I think this has to do with PHP modules. Anyone who has had to play sysadmin knows how difficult it is to properly configure PHP modules to work with Apache... Drupal 6 (or 7), Media Wiki, and a handful of other PHP applications don’t work on this server for this reason, so that’s my guess as to Revo’s installer difficulties.
      • 20471
      • 40 Posts
      Don’t know why I tried it, but using only lowercase (i.e. avoiding any uppercase) letters in the database name (and login name) solved the problem for me. Might be worth a try if you’re stuck.
        • 9207 ☆ A M B ☆
        • 2,475 Posts
        This is a MySQL thing... the parlance is to use lowercase letters for table names. I always use lowercase table names... maybe the front-end user-form could/should (?) implement a strtolower() filter; in any case, that wasn’t an issue with my install.
          • 9207 ☆ A M B ☆
          • 2,475 Posts
          Well, this is silly -- I started out a new directory with a new install so that others could login to see what was going on,
          and this time, the install worked (mostly). *blink*

          My best guess as to the cause is that about a week ago, though I recompiled PHP and made some other modifications to my server.... something that I did
          MUST have had an effect on the install. Although I’m glad revo is working now, I wish we could have isolated the cause.

          The only error I’m getting now is one that I believe has been fielded elsewhere:
          Strict Standards: Declaration of modX::getCacheManager() should be compatible with that of xPDO::getCacheManager() in /var/www/revo/html/core/model/modx/modx.class.php on line 48
          


          And the login process just keeps spinning... but at least it’s INSTALLED!
            • 22303 MODX Staff
            • 10,725 Posts
            Quote from: Everett at Mar 13, 2010, 03:24 PM

            The only error I’m getting now is one that I believe has been fielded elsewhere:
            Strict Standards: Declaration of modX::getCacheManager() should be compatible with that of xPDO::getCacheManager() in /var/www/revo/html/core/model/modx/modx.class.php on line 48
            

            Indeed; has been addressed in SVN already and will be in the RC1 release which will be available very soon. Though that should not prevent anything from working. It’s odd because the default error_reporting in MODx includes ~E_STRICT, so that really shouldn’t be reported. huh
              • 12872
              • 68 Posts
              I tried installing in 3 different shared hosting spaces and faced similar problems. The database connects but the next step fails during install of beta 5 as well as from svn. Will try installing on my own computer tonight.
              yes, I have read this and will attempt to find and list the info needed:
              If you’re posting about a bug, please state all of your Environment information in your post: Server OS, Server Version, PHP Version, MySQL Version (client and server), is pdo_mysql installed, your Browser type and version, and any other environment data we should know

              It will be useful for shared host users such as I (I suspect many others if not most) if the install process begins with diagnostics checking for the version number, presence of needed extensions, ..pdo_mysql... etc.. and suggest work arounds. If something such as pdo_mysql is not installed, there is nothing much that can be done with a low cost host who probably wont have the time, skill or willingness to help out. It might be useful then to list the shared webhosting providers on whose servers Revo installs without issues.
                • 22303 MODX Staff
                • 10,725 Posts
                Quote from: indeman at Mar 14, 2010, 08:44 AM

                It will be useful for shared host users such as I (I suspect many others if not most) if the install process begins with diagnostics checking for the version number, presence of needed extensions, ..pdo_mysql... etc.. and suggest work arounds. If something such as pdo_mysql is not installed, there is nothing much that can be done with a low cost host who probably wont have the time, skill or willingness to help out. It might be useful then to list the shared webhosting providers on whose servers Revo installs without issues.
                It tries to do this (it already checks for PDO, PDO_mysql, and other required extensions), so the problem is a bug that is appearing in some environments. In order to figure out what tests are needed to detect your problem, we first have to diagnose what that problem is.

                Also, the core and setup has been improved immensely since beta5, so my bet is this is no longer an issue.
                  • 12872
                  • 68 Posts
                  I am just looking for a quick way to report data on PHP5/mySQL/Apache versions, extensions and other environment information of the server where I attempt to install and find problems. would it help if i attach such environment data for the same domain/server from other CMS installations say Joomla?
                    • 22303 MODX Staff
                    • 10,725 Posts
                    Quote from: indeman at Mar 14, 2010, 10:46 AM

                    I am just looking for a quick way to report data on PHP5/mySQL/Apache versions, extensions and other environment information of the server where I attempt to install and find problems. would it help if i attach such environment data for the same domain/server from other CMS installations say Joomla?
                    Just put a file in your site called phpinfo.php with the following content and then access it in your browser:
                    <?php
                    phpinfo();
                    ?>
                      • 12872
                      • 68 Posts
                      Quote from: OpenGeek at Mar 14, 2010, 10:54 AM

                      Just put a file in your site called phpinfo.php with the following content and then access it in your browser:
                      <?php
                      phpinfo();
                      ?>

                      Ok here is the output file (attaching as a .zip file because html attachments are not allowed on this forum)

                      I tried installing both Beta 5 as well as svn builds.
                      in both cases I get the following result

                      → Test database server connection and view collations.

                      Connecting to mysql server: Success!
                      Connection character set: utf8
                      Collation: utf8_unicode_ci

                      → Create or test selection of your database.

                      Checking database:MODx could not create your database. Please manually create your database and then try again.


                      I had similar results on two other sites hosted on different servers. I will now try to install a server on my computer and try installing revo from svn as well as beta 5 locally and report the result.