We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5065
    • 10 Posts
    Hi,
    i just downloaded modx revolution 2.3.1-pl and wanted to install it from the scratch on an ubuntu 14.04 / ISPConfig 3.0.5 server

    ----------------------------------------------------------------------------
    Setting up the homepage, install DB-User and DB went fine:

    Connecting to database server: Success!

    - Checking MySQL server version: OK! Running: 5.5.38-0ubuntu0.14.04.1
    - Checking MySQL client version: OK! Running: 5.5.38

    Checking database: Success!

    Default Admin User

    Now you'll need to enter some details for the main administrator account. You can fill in your own name here, and a password you're not likely to forget. You'll need these to log into Admin once setup is complete.


    ----------------------------------------------------------------------------
    all issues are green:

    Pre-installation tests were successful. Click Install below to continue.

    Checking PHP version: OK! Running: 5.5.9-1ubuntu4.4

    Checking PHP for zlib dependency: OK!

    Checking for SimpleXML: OK!

    Checking if memory limit is set to at least 24M: OK! Set to 768M

    Checking if sessions are properly configured: OK!

    Checking if /var/www/clients/client1/web13/web/modx/core/cache directory exists: OK!

    Checking if /var/www/clients/client1/web13/web/modx/core/cache directory is writable: OK!

    Checking if /var/www/clients/client1/web13/web/modx/core/export directory exists: OK!

    Checking if /var/www/clients/client1/web13/web/modx/core/export directory is writable: OK!

    Checking if /var/www/clients/client1/web13/web/modx/core/packages directory exists: OK!

    Checking if /var/www/clients/client1/web13/web/modx/core/packages directory is writable: OK!

    Checking if /var/www/clients/client1/web13/web/modx/core/config/config.inc.php exists and is writable: OK!

    Creating connection to the database: OK!

    Checking to make sure safe_mode is off: OK!

    Checking for suhosin issues:OK!

    Checking if we should disable CSS/JS compression: Not selected, skipping test.
    ----------------------------------------------------------------------------

    But after pressing "install", i get a white screen and the apache2 error message in error.log:

    [Tue Sep 23 14:20:37.844869 2014] [fcgid:warn] [pid 27816] [client x.x.x.x:37403] mod_fcgid: stderr: PHP Fatal error: Can't inherit abstract function modDashboardWidgetInterface::render() (previously declared abstract in modDashboardFileWidget) in /var/www/clients/client1/web13/web/modx/core/model/modx/moddashboardwidget.class.php on line 117, referer: http://www2.pixelbunker.de/modx/setup/index.php?action=summary


    What can i do? i have no clue...

    This question has been answered by johnxx. See the first response.

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      How did you upload the files before installation? Quite often if you uploaded the unzipped files via FTP there will be missing or corrupted files. It's recommended to upload the .zip file, and unzip it and move the files into place on the server.
        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
        • 5065
        • 10 Posts
        Quote from: sottwell at Sep 23, 2014, 09:13 AM
        How did you upload the files before installation? Quite often if you uploaded the unzipped files via FTP there will be missing or corrupted files. It's recommended to upload the .zip file, and unzip it and move the files into place on the server.

        i uploaded the zip.file and extracted it with an unzip php script.

        btw: modx evolution installation is no problem, but i think that does not matters this here smiley
          • 5065
          • 10 Posts
          hmm. now i get an error 500 with the following output in error.log of the domain:

          [Tue Sep 23 17:00:58.793900 2014] [fcgid:warn] [pid 32523] (104)Connection reset by peer: [client x.x.x.x:48722] mod_fcgid: error reading data from FastCGI server, referer: http://www.mydomain.com/setup/index.php?action=summary
          [Tue Sep 23 17:00:58.793960 2014] [core:error] [pid 32523] [client x.x.x.x:48722] End of script output before headers: index.php, referer: http://www.mydomain.com/setup/index.php?action=summary

          26 tables are build in the SQL database. modx_site_htmlsnippets is the last one in the list.
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Hm. Sounds like a PHP/FPM - nginx configuration problem. Those can be nasty to track down.
              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
              • 5065
              • 10 Posts
              no nginx. apache2 is installed with the following virtual host entries in isp-config panel:

              su-exec is active and fast-cgi
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Well, I know even less about that, so I'm out wink
                  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
                  • 5065
                  • 10 Posts
                  Ok. after 3 Days of investigation, i got it.

                  Disabling Optcache in the Options of the website does it.

                  Custom PHP.ini settings: opcache.enable=0

                  I think the problem is the flushing of the cache with too much data in the install process. Because of that i got various error messages and the error

                  "End of script output before headers: index.php"

                  gave me the hint i needed.

                  Now i can go to the login page

                  in ispconfig /website/options put this in custom php.ini settings: opcache.enable=0

                  that disables the cache module and the installation goes flawlessly, shiny and pretty smiley
                  [ed. note: chico11mbit last edited this post 12 years ago.]
                    • 49335
                    • 1 Posts
                    the trick in ispconfig to disable the opchache in the php.ini does the trick for me aswell. Thanks for the hint!
                      • 5065
                      • 10 Posts
                      btw. also opcache=0 on various othe cms systems. i disabled it now by default.