1
wishcraft
2.4.5 - XP SP3, AMP install/page_modcheck.php - Server 500

Hi everyone, I have freshly reloaded my server and notice the install on this page has a critical server 500 error with php 5.2, apache 2.2 and latest release of Mysql 5.5.

I have tried adding in error_reporting(ALL); in but the error is happening in the first line.

Apache error log for 2.4.5 reads:

le="color: #000000"><?php 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5 HTTP/1.1" 301 231 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/ HTTP/1.1" 302 - 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/index.php HTTP/1.1" 200 3759 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/language/english/style.css HTTP/1.1" 200 - 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/style.css HTTP/1.1" 200 14608 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/js/prototype-1.6.0.3.js HTTP/1.1" 200 129738 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/js/xo-installer.js HTTP/1.1" 200 3327 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/img/xoops_2.4.5.png HTTP/1.1" 200 10072 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/img/logo.png HTTP/1.1" 200 12933 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/img/shadow.png HTTP/1.1" 200 10374 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/img/background.png HTTP/1.1" 200 378 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/img/bg-globalnav.png HTTP/1.1" 200 2890 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/img/banner_bg.png HTTP/1.1" 200 277 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/img/title-after.png HTTP/1.1" 200 929 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/img/title-before.png HTTP/1.1" 200 727 127.0.0.1 - - [09/Oct/2010:17:25:30 +1100] "GET /2.4.5/install/img/title.png HTTP/1.1" 200 236 127.0.0.1 - - [09/Oct/2010:17:25:29 +1100] "GET /2.4.5/install/img/wizard_bg.png HTTP/1.1" 200 60049 127.0.0.1 - - [09/Oct/2010:17:25:30 +1100] "GET /2.4.5/install/img/bullet-current.png HTTP/1.1" 200 643 127.0.0.1 - - [09/Oct/2010:17:25:30 +1100] "GET /2.4.5/install/img/bullet-disabled.png HTTP/1.1" 200 468 127.0.0.1 - - [09/Oct/2010:17:25:30 +1100] "GET /2.4.5/install/language/english/support.png HTTP/1.1" 200 387 127.0.0.1 - - [09/Oct/2010:17:25:30 +1100] "GET /2.4.5/favicon.ico HTTP/1.1" 200 1150 127.0.0.1 - - [09/Oct/2010:17:25:32 +1100] "POST /2.4.5/install/index.php HTTP/1.1" 303 - 127.0.0.1 - - [09/Oct/2010:17:25:32 +1100] "GET /2.4.5/install/page_start.php HTTP/1.1" 200 6118 127.0.0.1 - - [09/Oct/2010:17:25:32 +1100] "GET /2.4.5/install/img/bullet.png HTTP/1.1" 200 488 127.0.0.1 - - [09/Oct/2010:17:25:32 +1100] "GET /2.4.5/install/img/document.png HTTP/1.1" 200 3254 127.0.0.1 - - [09/Oct/2010:17:25:32 +1100] "GET /2.4.5/install/img/folder.png HTTP/1.1" 200 3354 127.0.0.1 - - [09/Oct/2010:17:25:34 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:25:36 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:25:37 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:25:38 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:25:39 +1100] "GET /2.4.5/install/page_start.php HTTP/1.1" 200 6118 127.0.0.1 - - [09/Oct/2010:17:26:52 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:26:54 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:26:55 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:26:55 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:26:58 +1100] "GET /2.4.5/install/page_start.php HTTP/1.1" 200 6118 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/page_start.php HTTP/1.1" 200 6118 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/js/xo-installer.js HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/language/english/style.css HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/js/prototype-1.6.0.3.js HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/style.css HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/logo.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/xoops_2.4.5.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/background.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/banner_bg.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/shadow.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/wizard_bg.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/bg-globalnav.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/title-before.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/title-after.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/title.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/bullet.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/bullet-current.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/bullet-disabled.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/language/english/support.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/folder.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:41 +1100] "GET /2.4.5/install/img/document.png HTTP/1.1" 304 - 127.0.0.1 - - [09/Oct/2010:17:27:44 127.0.0.1 - - [09/Oct/2010:17:27:44 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:27:46 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:27:47 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:27:47 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:29:58 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:29:59 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385 127.0.0.1 - - [09/Oct/2010:17:30:00 +1100] "GET /2.4.5/install/page_modcheck.php HTTP/1.1" 500 385


The Error log has no php error in it, but it does read:
le="color: #000000"><?php [Sat Oct 09 04:47:45 2010] [notice] Apache/2.2.16 (Win32) PHP/5.2.14 configured -- resuming normal operations [Sat Oct 09 04:47:45 2010] [notice] Server built: Jul 30 2010 16:15:37 [Sat Oct 09 04:47:45 2010] [notice] Parent: Created child process 1908 httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.105 for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.105 for ServerName [Sat Oct 09 04:47:45 2010] [notice] Child 1908: Child process is running [Sat Oct 09 04:47:45 2010] [notice] Child 1908: Acquired the start mutex. [Sat Oct 09 04:47:45 2010] [notice] Child 1908: Starting 64 worker threads. [Sat Oct 09 04:47:45 2010] [notice] Child 1908: Starting thread to listen on port 80.


I am running:

* 32bit Dual Xeon Server

In the previous zombified server it was running on it fine, now with the reload it is not.
vCard (*.vcf): Dr. Simon Antony Roberts.vcf
Follow, Like & Read:-

x.com/EmpressFX
facebook.com/DrAntonyRoberts

2
wishcraft
Re: 2.4.5 - XP SP3, AMP install/page_modcheck.php - Server 500

You will now need to at least add some extras on a fresh install you will have no zlib, you can get this from this optimizer software from here [ Zlib.dll ].

The install will have a change option, select this and in the customisation of the install select all extras to install. You will then need to update the php.ini not to be running all the extras:

I think there should be some better checking for extension that defaults a 'xoops_error' box instead of Server 500 error with no report.

The ones I am running are not preceeded by a ; in the ini file in your install path.

le="color: #000000"><?php [PHP_BZ2] extension=php_bz2.dll [PHP_CURL] extension=php_curl.dll [PHP_DBA] ;extension=php_dba.dll [PHP_DBASE] ;extension=php_dbase.dll [PHP_FDF] ;extension=php_fdf.dll [PHP_GD2] extension=php_gd2.dll [PHP_GETTEXT] ;extension=php_gettext.dll [PHP_GMP] ;extension=php_gmp.dll [PHP_IMAP] ;extension=php_imap.dll [PHP_INTERBASE] ;extension=php_interbase.dll [PHP_LDAP] ;extension=php_ldap.dll [PHP_MBSTRING] extension=php_mbstring.dll [PHP_MCRYPT] ;extension=php_mcrypt.dll [PHP_MHASH] ;extension=php_mhash.dll [PHP_MIME_MAGIC] ;extension=php_mime_magic.dll [PHP_MING] ;extension=php_ming.dll [PHP_MSQL] ;extension=php_msql.dll [PHP_MSSQL] ;extension=php_mssql.dll [PHP_MYSQL] extension=php_mysql.dll [PHP_MYSQLI] extension=php_mysqli.dll [PHP_OCI8] ;extension=php_oci8.dll [PHP_OPENSSL] ;extension=php_openssl.dll [PHP_PDO] ;extension=php_pdo.dll [PHP_PDO_FIREBIRD] ;extension=php_pdo_firebird.dll [PHP_PDO_MSSQL] ;extension=php_pdo_mssql.dll [PHP_PDO_MYSQL] ;extension=php_pdo_mysql.dll [PHP_PDO_OCI] ;extension=php_pdo_oci.dll [PHP_PDO_OCI8] ;extension=php_pdo_oci8.dll [PHP_PDO_ODBC] ;extension=php_pdo_odbc.dll [PHP_PDO_PGSQL] ;extension=php_pdo_pgsql.dll [PHP_PDO_SQLITE] ;extension=php_pdo_sqlite.dll [PHP_PDO_SQLITE_EXTERNAL] ;extension=php_pdo_sqlite_external.dll [PHP_PGSQL] ;extension=php_pgsql.dll [PHP_PSPELL] ;extension=php_pspell.dll [PHP_SHMOP] ;extension=php_shmop.dll [PHP_SNMP] ;extension=php_snmp.dll [PHP_SOAP] extension=php_soap.dll [PHP_SOCKETS] ;extension=php_sockets.dll [PHP_SQLITE] ;extension=php_sqlite.dll [PHP_SYBASE_CT] ;extension=php_sybase_ct.dll [PHP_TIDY] ;extension=php_tidy.dll [PHP_XMLRPC] extension=php_xmlrpc.dll [PHP_XSL] ;extension=php_xsl.dll [PHP_ZIP] extension=php_zip.dll [PHP_EXIF] extension=php_exif.dll
vCard (*.vcf): Dr. Simon Antony Roberts.vcf
Follow, Like & Read:-

x.com/EmpressFX
facebook.com/DrAntonyRoberts

3
wishcraft
Re: 2.4.5 - XP SP3, AMP install/page_modcheck.php - Server 500

The other thing you have to do is roll back your MySQL Version the Server 500 error is occuring with oracles MySQL 5.5 and the database routines.

I found it installed fine with 5.1 of MySQL
vCard (*.vcf): Dr. Simon Antony Roberts.vcf
Follow, Like & Read:-

x.com/EmpressFX
facebook.com/DrAntonyRoberts