We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46580
    • 167 Posts
    Hello

    I cannot install MODX on a new server (Debian Jessie + ISPConfig 3.1 : https://www.howtoforge.com/tutorial/perfect-server-debian-8-4-jessie-apache-bind-dovecot-ispconfig-3-1/).

    I get Error 500 after DB installation at /index.php?action=options



    Database
    /setup/index.php?action=database


    Path options
    /setup/index.php?action=contexts
    Ok


    Summary
    /setup/index.php?action=summary
    ok


    Note despite all seems OK some directories are not created (e.g; MAhiu1dez457414/ etc.), on the other site config file /web/core/config/yu457asd.inc.php is created.

    /setup/index.php?action=install
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.


    I have 2 files in /core/include/ named :
    fatal.include.php
    unavailable.include.php

    PHP settings are :
    date.timezone = Europe/Paris
    max_execution_time = 900
    upload_max_filesize = 100M
    post_max_size = 200M
    max_input_time = 60
    safe_mode = Off
    register_globals = off
    magic_quotes_gpc = off

    PHP mode : Fast CGI
    PHP version : 5.6.27-0+deb8u1


    Here some errors in log :

    [pid 8166] [client 195.132.101.141:50694] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/www/clients/client1/web1/tmp/sess_kd6phgp72cq0khq9tlib59j3j5, O_RDWR) failed: Permission denied (13) in Unknown on line 0, referer: http://www.xxxxx.com/setup/index.php?action=install
    [Sun Oct 30 11:01:11.440039 2016]

    [pid 7586] (13)Permission denied: [client 180.76.15.18:19627] AH01275: Can't open directory for index: /var/www/xxxxx.com/web/
    [Sun Oct 30 19:19:31.257108 2016] [autoindex:error]

    [pid 6822] (13)Permission denied: [client 69.162.124.233:41675] AH01275: Can't open directory for index: /var/www/xxxxx.com/web/, referer: http://www.xxxxx.com
    [Sun Oct 30 19:20:31.260589 2016] [autoindex:error]

    [pid 6822] (13)Permission denied: [client 69.162.124.233:3892] AH01275: Can't open directory for index: /var/www/xxxxx.com/web/, referer: http://www.xxxxx.com
    [Sun Oct 30 19:21:31.259834 2016] [autoindex:error]

    [pid 8489] (13)Permission denied: [client 69.162.124.233:28004] AH01275: Can't open directory for index: /var/www/xxxxx.com/web/, referer: http://www.xxxxx.com
    [Sun Oct 30 19:22:25.126352 2016] [fcgid:warn]

    [pid 8509] (104)Connection reset by peer: [client 195.132.101.141:56249] mod_fcgid: error reading data from FastCGI server, referer: http://xxxxx.com/setup/index.php?action=summary
    [Sun Oct 30 19:22:25.126407 2016] [core:error]

    [pid 8509] [client 195.132.101.141:56249] End of script output before headers: index.php, referer: http://xxxxx.com/setup/index.php?action=summary
    [Sun Oct 30 19:22:31.261344 2016] [autoindex:error]

    [pid 8457] (13)Permission denied: [client 69.162.124.233:54340] AH01275: Can't open directory for index: /var/www/xxxxx.com/web/, referer: http://www.xxxxx.com
    [Sun Oct 30 19:22:33.873062 2016] [fcgid:warn]

    [pid 8508] (104)Connection reset by peer: [client 195.132.101.141:56254] mod_fcgid: error reading data from FastCGI server
    [Sun Oct 30 19:22:33.873114 2016] [core:error]

    [pid 8508] [client 195.132.101.141:56254] End of script output before headers: index.php
    [Sun Oct 30 19:23:31.261012 2016] [autoindex:error]

    [pid 8454] (13)Permission denied: [client 69.162.124.233:30479] AH01275: Can't open directory for index: /var/www/xxxxx.com/web/, referer: http://www.xxxxx.com


    Any ideas?

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

    [ed. note: johnxx last edited this post 7 years, 6 months ago.]
      MODX lover
      -
      Développeur MODX / Webdesign / Solutions web
      • 46580
      • 167 Posts
      update:
      27 tables are created only in DB
      /packages/core.transport.zip not unziped

      Strict mode is OFF

      MariaDB [(none)]> SELECT @@SQL_MODE, @@GLOBAL.SQL_MODE;
      +------------+-------------------+
      | @@SQL_MODE | @@GLOBAL.SQL_MODE |
      +------------+-------------------+
      | | |
      +------------+-------------------+
      [ed. note: johnxx last edited this post 7 years, 6 months ago.]
        MODX lover
        -
        Développeur MODX / Webdesign / Solutions web
      • discuss.answer
        • 46580
        • 167 Posts
        Found this post on MODX forum who save me :
        https://forums.modx.com/thread/94286/no-installation-possible-mod-fcgid-stderr-php-fatal-error

        Added in php.ini :
        opcache.enable=0



          MODX lover
          -
          Développeur MODX / Webdesign / Solutions web