Problem installing ModX Revolution - Help

Discussion in 'Installation/Configuration' started by magnel, May 18, 2018.

  1. magnel

    magnel New Member

    Installed clean system according to the instructions -
    Created a client.
    Created a website (PHP-FPM).
    Created a DNS zone.
    Created database and user.
    Created an FTP user.
    Downloaded archive with the latest version of ModX Revolution 2.6.3, unzipped and uploaded via ftp to the folder " web " on the server. When clicking on the link writes:
    "FATAL ERROR: MODX Setup cannot continue. Make sure your PHP session configuration is valid and working."
    As far as it became clear, modx revo need a folder "mod-tmp" to store cookies, but I can not add it via ftp, ssh, too.
    Just uploaded wordpress instead of modx, everything works fine, no problems with PHP session configuration.
    1. Question, how to solve this problem ?
    2. Can I make changes to the ISPConfig 3 site creation wizard to create not only the tmp folder but also the mod-tmp folder ?
    Where can I make these changes ?
  2. Well-Known Member HowtoForge Supporter

    Make sure your configuration is valid ...

    try the database handler or check the code for the default handler for bugs or hard-coded stuff to be able to change the directory for instance.

    <?php session_start();
    $_SESSION['foo'][] = time();
    quick test.php, it should output more and more every visit, if sessions in general are working.

    Did you use mod_php, fastcgi or php-fpm?
  3. magnel

    magnel New Member

    1. The answer script: array(1) { [0]=> int(1526655908) }
    2. PHP-FPM
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    So PHP sessions are working fine, and wp would not have worked without working sessions anyway. ModX does not seem to use PHP sessions then.

Share This Page