We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42327
    • 7 Posts
    Hi, i was trying to install modex latest stable version on my centos server. All went fine till the pre-installation check. But wen i click on "Install" button, it gives me internal server error. I tried with different version with no luck. Someone please help.. my server info as below,

    PHP 5.2.9 (cgi) (built: Dec 12 2012 02:54:52)
    Copyright (c) 1997-2009 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    with Suhosin v0.9.32.1,


    CentOS release 5.8 (Final)
      • 40092
      • 265 Posts
      Let's first start with the error your getting, what does the error log say? You can find that under core/cache
        • 42327
        • 7 Posts
        I could find only a "setup" file inside (root folder)/core/cache .. No log file
          • 42327
          • 7 Posts
          Also my server is i686
            • 40092
            • 265 Posts
            Hmm, okay. And the internal server error, does that provide more information than just internal server error?
            Have you tried reuploading the files again, sometimes some files get stuck in trnasfer causing this.
              • 42327
              • 7 Posts
              Hi, Sorry about the delay. I will try for a fresh installation.
                • 42327
                • 7 Posts
                Error again. Apache log is as below,

                [Wed Dec 12 22:27:55 2012] [error] [client 122.174.196.179] Premature end of script headers: php5, referer: http://(mydomain)/setup/index.php?action=summary
                [Wed Dec 12 22:27:55 2012] [error] [client 122.174.196.179] File does not exist: /home/(username)/public_html/500.shtml, referer: http://(mydomain)/setup/index.php?action=summary

                also below is the error when i click "install" button after pre-install check.
                --------------

                Internal Server Error

                The server encountered an internal error or misconfiguration and was unable to complete your request.

                Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

                More information about this error may be available in the server error log.

                Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
                Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at (mydomain) Port 80
                  • 42327
                  • 7 Posts
                  some more from apachelog

                  [Wed Dec 12 22:44:37 2012] [error] [client 122.174.196.179] /usr/bin/php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol
                  [Wed Dec 12 22:44:37 2012] [error] [client 122.174.196.179] Premature end of script headers: php5
                  [Wed Dec 12 22:44:37 2012] [error] [client 122.174.196.179] File does not exist: /home/(username)/public_html/500.shtml
                  [Wed Dec 12 22:44:40 2012] [error] [client 122.174.196.179] /usr/bin/php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol
                  [Wed Dec 12 22:44:40 2012] [error] [client 122.174.196.179] Premature end of script headers: php5
                  [Wed Dec 12 22:44:40 2012] [error] [client 122.174.196.179] File does not exist: /home/(username)/public_html/500.shtml
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    That last error indicates that the server expects its own 500, 404 not-found and other error pages in the web root. The second error (end of script headers) is probably a direct result of the first, a badly configured suhosin security module of the server. Since that suhosin security check on the incoming POST values is failing, PHP never gets a chance to fully process the index.php file that was requested.

                    http://geeksterminal.com/how-to-fix-suhosin-so-undefined-symbol-zend_atol/417/
                      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
                      • 42327
                      • 7 Posts
                      Thanks sottwell& thapriest86. Fixed the issue with suhosin and did a upgrade of php from "5.2.9" to "5.2.17". It's now working.

                      Cheers!!!!!!!!!