Final Solution for Blank Page Problem

Final Solution for Blank Page Problem

by nut buster -
Number of replies: 41
Has anyone come to a solution that fixes this blank page problem after installation?  I have looked through about 100 threads in this forum discussing this topic but could not find a solution that works.

I tried every build available for download on the website. (1.6, 1.6+, 1.5.4, 1.5.4+) and all do exactly the same thing.  It goes through the install fine, but once its done, its just a blank page, both on the front end and admin.  I am running a Fedora Core 3 server (dedicated server leased through GoDaddy) and I have many other websites and applications running on my server, so it doesnt seem like a server issue.

Can someone please help us figure out a solution to this major problem!!

Thank you!
Average of ratings: -
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Scott Elliott -
Nut (if that's your real name) tongueout

Unfortunately, there's not always one great fixall solution, that's why you had to read through 100 threads smile

It would help if you could give us a little more information.  What version of Moodle do you want to install? 

I think most of the blank page problems have to do with php and settings.  What version of PHP do you have installed?  Have you verified all the php.ini settings?  (see docs.moodle.org if you haven't looked there already).

Scott
In reply to Scott Elliott

Re: Final Solution for Blank Page Problem

by nut buster -
As I stated, I tried every version, so I dont really care which one I use (the latest one would be the best I guess) but I just want one that I can get to work!

I looked through the documentation but it seems all correct.  Here is my phpinfo:

http://www.medtraining.net/phpinfo.php
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Simon Allison -

what is your version of php ? Had some real problems with v5 but it was just getting the extensions to work. It seems to be the cause of the blank pages. Ive heard people going back to v4. I did fix mine but it was to do with it finding the php directory and also configuring the php.ini correctly, make sure that the lines are uncommented for what you need, and also try and take out one extension at a time and see if it is a version conflict.

In reply to Simon Allison

Re: Final Solution for Blank Page Problem

by nut buster -
I am using 4.4.2.  PHPInfo: http://www.medtraining.net/phpinfo.php
In reply to nut buster

Re: Final Solution for Blank Page Problem

by nut buster -
Can anyone help?  I am desperately trying to get this to work.  I really need it up and running soon.  Any help will be greatly appreciated!


Thanks!
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Scott Elliott -
Nut,

There are other things to ask, but sometimes going back and forth through the forum doesn't always work.  Especially when the users are not communicating well.  I would be willing to work with you to help you get your problem solved, just email me.

Scott
In reply to Simon Allison

Re: Final Solution for Blank Page Problem

by nut buster -
And this is what my apache log says when the blank page happens:

[Wed Jul 19 14:58:55 2006] [notice] child pid 17570 exit signal Segmentation fault (11)
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Duncan Greenhill -
Hi Nut,
have a look at my post in this thread - it might sort out your php.ini problems. My apache error log wasn't giving any messages like yours though,

Regards,
Duncan
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Ken Wilson -

As had probably been said elsewhere, a blank page is usually a result of a parse error in the php file - which explains why apache is segmenting.

From your php.ini, it looks like you've used php.ini-recommended (which is good).

PHP does not display errors because error reporting is turned off by default (in php.ini-recommended) as it is a security risk, so it needs turning on again to find out what the error is so that we can do some troubleshooting.

To display errors in the browser set this in php.ini (display_errors = On, display_startup_errors = On). Set error reporting to all errors in php.ini by error_reporting (e_all) - which you have already.

Don't forget to restart apache smile.

Load the page again and post the error. Once we’ve found the error turn-off error reporting again on the production server.

Ken

In reply to Ken Wilson

Re: Final Solution for Blank Page Problem

by nut buster -
Ok, I have done that, but the page is still blank, and the apache log error is exactly the same.
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Ken Wilson -
Signal 11 means that a program (in this case Apache) is accessing a memory location that it was not assigned by the operating system.

A couple of things to try:

1. Double-check that PHP is not throwing-up any errors.
2. Tidy-up the PHP ini file. Take a backup of your existing file and copy php.ini-recommended to php.ini. Make the changes as suggested in the Moodle Documentation.

If there is still a problem, you need to have a look at your apache config - but you say earlier that other applications are OK so this is puzzling.

From your PHP info file you're running Apache 2.0.51 and PHP 4.4.2. This thread (http://www.phpinsider.com/smarty-forum/viewtopic.php?p=31404&;) suggests that upgrading to the latest versions was the fix. See if you can do this on a test system first.

Ken
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Ken Wilson -
... just a thought. Have you:

1. Checked the $CFG->dirroot variable in config.php. It should contain the absolute full path to your moodle directory.

2. As your running Fedora Core 3, check if SELinux is installed by typing cat /etc/sysconfig/selinux. If it is try disabling - there may be a context problem.

3. Try checking if it is a variable declaration problem by setting these two php.ini variables: register_long_arrays=off and register_argc_argv=off.

4. Try running with register_globals = on (although this is not recommended - try it anyway).

5. Try disabling gzip module in php.

After this, I'm stuck. Sorry!

Ken
In reply to Ken Wilson

Re: Final Solution for Blank Page Problem

by nut buster -
I dont seem to have a php.ini-recommended on my server.  I even did an updatedb and searched for it, but it doesnt exist.  My server uses plesk, maybe thats why.  But I tried everything else you suggested with no luck.

When I change $CFG->unicodedb = false; in the config.php, this shows up instead of a blank screen:

In reply to nut buster

Re: Final Solution for Blank Page Problem

by Ken Wilson -

Here is a copy for PHP 4.4.2 (downloaded from php.net).

The important settings are documented here (http://docs.moodle.org/en/Installing_Moodle#Check_web_server_settings). From your current phpinfo output it looks like magic_quotes_gpc is not set correctly. I know you've probably done this many times already - but time spent going through this document painstakingly is time spent well. smile

Ken

In reply to Ken Wilson

Re: Final Solution for Blank Page Problem

by nut buster -
I used that php.ini-recommended, and the same thing happened.  I also made sure all the settings were correct from that link.  And I tried the new download of 1.6.1 and 1.6.1+ and had the same result.
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Ken Wilson -

Following the database idea, Moodle 1.6 requires MySQL 4.1.16 as minimum. It looks like you're running version 3.23. Given that changes to PHP have all been tried, any chance of an upgrade to MySQL? mixed

Ken

In reply to Ken Wilson

Re: Final Solution for Blank Page Problem

by nut buster -
I am running 4.1.20. When I go through the setup, it says this:

database mysql version 4.1.16 is required and you are running 4.1.20 OK


Im not sure why it says 3.23 in the phpinfo.


Anyway, when I change $CFG->unicodedb = false; in the config.php, the top of hte page begins to load. Do you think that means anything?
In reply to nut buster

Re: Final Solution for Blank Page Problem

by nut buster -
Also, here is the rest of my apache log errors, perhaps this will help:

[Sun Jul 23 04:02:06 2006] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 23 04:02:06 2006] [notice] Digest: done
[Sun Jul 23 04:02:06 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Sun Jul 23 04:02:06 2006] [notice] LDAP: SSL support unavailable
[Sun Jul 23 04:02:06 2006] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Sun Jul 23 04:02:06 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 04:02:06 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 04:02:06 2006] [notice] Apache/2.0.51 (Fedora) configured -- resuming normal operations
[Sun Jul 23 09:04:42 2006] [error] [client 67.19.74.162] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFindsmile
[Sun Jul 23 10:20:27 2006] [notice] child pid 26639 exit signal Segmentation fault (11)
[Sun Jul 23 10:20:31 2006] [notice] child pid 26637 exit signal Segmentation fault (11)
[Sun Jul 23 10:20:32 2006] [notice] child pid 26636 exit signal Segmentation fault (11)
[Sun Jul 23 10:20:39 2006] [notice] child pid 26634 exit signal Segmentation fault (11)
[Sun Jul 23 10:20:43 2006] [notice] child pid 26638 exit signal Segmentation fault (11)
[Sun Jul 23 10:22:32 2006] [notice] child pid 26641 exit signal Segmentation fault (11)
[Sun Jul 23 10:22:34 2006] [notice] child pid 10930 exit signal Segmentation fault (11)
[Sun Jul 23 10:22:35 2006] [notice] child pid 10989 exit signal Segmentation fault (11)
[Sun Jul 23 10:25:00 2006] [notice] child pid 11051 exit signal Segmentation fault (11)
[Sun Jul 23 10:25:02 2006] [notice] child pid 26676 exit signal Segmentation fault (11)
[Sun Jul 23 10:25:03 2006] [notice] child pid 11000 exit signal Segmentation fault (11)
[Sun Jul 23 10:25:06 2006] [notice] child pid 26640 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:22 2006] [notice] child pid 11002 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:27 2006] [notice] child pid 11063 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:31 2006] [notice] child pid 11067 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:34 2006] [notice] child pid 11074 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:35 2006] [notice] child pid 10928 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:35 2006] [notice] child pid 11077 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:35 2006] [notice] child pid 11080 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:40 2006] [notice] child pid 11082 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:40 2006] [notice] child pid 11087 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:41 2006] [notice] child pid 11065 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:41 2006] [notice] child pid 11088 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:45 2006] [notice] child pid 11089 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:45 2006] [notice] child pid 11096 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:46 2006] [notice] child pid 11090 exit signal Segmentation fault (11)
[Sun Jul 23 10:27:46 2006] [notice] child pid 11091 exit signal Segmentation fault (11)
[Sun Jul 23 10:28:15 2006] [notice] child pid 11098 exit signal Segmentation fault (11)
[Sun Jul 23 10:28:16 2006] [notice] child pid 11086 exit signal Segmentation fault (11)
[Sun Jul 23 10:28:16 2006] [notice] child pid 11102 exit signal Segmentation fault (11)
[Sun Jul 23 10:28:16 2006] [notice] child pid 11105 exit signal Segmentation fault (11)
[Sun Jul 23 10:28:20 2006] [notice] child pid 11106 exit signal Segmentation fault (11)
[Sun Jul 23 10:28:20 2006] [notice] child pid 11113 exit signal Segmentation fault (11)
[Sun Jul 23 10:28:21 2006] [notice] child pid 11107 exit signal Segmentation fault (11)
[Sun Jul 23 10:28:21 2006] [notice] child pid 11108 exit signal Segmentation fault (11)
[Sun Jul 23 10:29:17 2006] [notice] child pid 11103 exit signal Segmentation fault (11)
[Sun Jul 23 10:29:18 2006] [notice] child pid 11119 exit signal Segmentation fault (11)
[Sun Jul 23 10:29:18 2006] [notice] child pid 11122 exit signal Segmentation fault (11)
[Sun Jul 23 10:29:56 2006] [notice] child pid 11125 exit signal Segmentation fault (11)
[Sun Jul 23 10:29:57 2006] [notice] child pid 11115 exit signal Segmentation fault (11)
[Sun Jul 23 10:30:05 2006] [notice] child pid 11120 exit signal Segmentation fault (11)
[Sun Jul 23 10:30:06 2006] [notice] child pid 11123 exit signal Segmentation fault (11)
[Sun Jul 23 10:30:06 2006] [notice] child pid 11124 exit signal Segmentation fault (11)
[Sun Jul 23 10:30:06 2006] [notice] child pid 11134 exit signal Segmentation fault (11)
[Sun Jul 23 11:17:42 2006] [notice] SIGHUP received.  Attempting to restart
[Sun Jul 23 11:17:42 2006] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 23 11:17:42 2006] [notice] Digest: done
[Sun Jul 23 11:17:42 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Sun Jul 23 11:17:42 2006] [notice] LDAP: SSL support unavailable
[Sun Jul 23 11:17:42 2006] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Sun Jul 23 11:17:43 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 11:17:43 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 11:17:43 2006] [notice] Apache/2.0.51 (Fedora) configured -- resuming normal operations
[Sun Jul 23 11:17:45 2006] [notice] child pid 11329 exit signal Segmentation fault (11)
[Sun Jul 23 11:17:46 2006] [notice] child pid 11330 exit signal Segmentation fault (11)
[Sun Jul 23 11:17:46 2006] [notice] child pid 11331 exit signal Segmentation fault (11)
[Sun Jul 23 11:17:46 2006] [notice] child pid 11332 exit signal Segmentation fault (11)
[Sun Jul 23 11:17:49 2006] [notice] child pid 11333 exit signal Segmentation fault (11)
[Sun Jul 23 11:17:49 2006] [notice] child pid 11334 exit signal Segmentation fault (11)
[Sun Jul 23 11:17:50 2006] [notice] child pid 11335 exit signal Segmentation fault (11)
[Sun Jul 23 11:17:50 2006] [notice] child pid 11341 exit signal Segmentation fault (11)
[Sun Jul 23 11:18:25 2006] [notice] SIGHUP received.  Attempting to restart
[Sun Jul 23 11:18:25 2006] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 23 11:18:25 2006] [notice] Digest: done
[Sun Jul 23 11:18:25 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Sun Jul 23 11:18:25 2006] [notice] LDAP: SSL support unavailable
[Sun Jul 23 11:18:25 2006] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Sun Jul 23 11:18:25 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 11:18:25 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 11:18:26 2006] [notice] Apache/2.0.51 (Fedora) configured -- resuming normal operations
[Sun Jul 23 11:59:36 2006] [notice] child pid 11368 exit signal Segmentation fault (11)
[Sun Jul 23 11:59:36 2006] [notice] child pid 11369 exit signal Segmentation fault (11)
[Sun Jul 23 14:32:36 2006] [notice] SIGHUP received.  Attempting to restart
[Sun Jul 23 14:32:37 2006] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 23 14:32:37 2006] [notice] Digest: done
[Sun Jul 23 14:32:37 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Sun Jul 23 14:32:37 2006] [notice] LDAP: SSL support unavailable
PHP Warning:  Unknown(): Unable to load dynamic library './domxml.so' - ./domxml.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './imap.so' - ./imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './ldap.so' - ./ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './mbstring.so' - ./mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './mysql.so' - ./mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './odbc.so' - ./odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './pgsql.so' - ./pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './sitebuilder.so' - ./sitebuilder.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './zip.so' - ./zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Jul 23 14:32:37 2006] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Sun Jul 23 14:32:37 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 14:32:37 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 14:32:37 2006] [notice] Apache/2.0.51 (Fedora) configured -- resuming normal operations
[Sun Jul 23 14:33:38 2006] [notice] SIGHUP received.  Attempting to restart
[Sun Jul 23 14:33:39 2006] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 23 14:33:39 2006] [notice] Digest: done
[Sun Jul 23 14:33:39 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Sun Jul 23 14:33:39 2006] [notice] LDAP: SSL support unavailable
PHP Warning:  Unknown(): Unable to load dynamic library './domxml.so' - ./domxml.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './imap.so' - ./imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './ldap.so' - ./ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './mbstring.so' - ./mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './mysql.so' - ./mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './odbc.so' - ./odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './pgsql.so' - ./pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './sitebuilder.so' - ./sitebuilder.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library './zip.so' - ./zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Jul 23 14:33:39 2006] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Sun Jul 23 14:33:39 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 14:33:39 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 14:33:39 2006] [notice] Apache/2.0.51 (Fedora) configured -- resuming normal operations
[Sun Jul 23 14:36:02 2006] [notice] SIGHUP received.  Attempting to restart
[Sun Jul 23 14:36:03 2006] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 23 14:36:03 2006] [notice] Digest: done
[Sun Jul 23 14:36:03 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Sun Jul 23 14:36:03 2006] [notice] LDAP: SSL support unavailable
[Sun Jul 23 14:36:03 2006] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Sun Jul 23 14:36:03 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 14:36:03 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 14:36:03 2006] [notice] Apache/2.0.51 (Fedora) configured -- resuming normal operations
[Sun Jul 23 14:36:09 2006] [notice] child pid 11900 exit signal Segmentation fault (11)
[Sun Jul 23 14:36:12 2006] [notice] child pid 11901 exit signal Segmentation fault (11)
[Sun Jul 23 14:36:15 2006] [notice] child pid 11902 exit signal Segmentation fault (11)
[Sun Jul 23 14:50:14 2006] [notice] SIGHUP received.  Attempting to restart
[Sun Jul 23 14:50:14 2006] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 23 14:50:14 2006] [notice] Digest: done
[Sun Jul 23 14:50:14 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Sun Jul 23 14:50:14 2006] [notice] LDAP: SSL support unavailable
[Sun Jul 23 14:50:15 2006] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Sun Jul 23 14:50:15 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 14:50:15 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sun Jul 23 14:50:15 2006] [notice] Apache/2.0.51 (Fedora) configured -- resuming normal operations
[Sun Jul 23 14:50:18 2006] [notice] child pid 11961 exit signal Segmentation fault (11)
[Sun Jul 23 14:50:20 2006] [notice] child pid 11962 exit signal Segmentation fault (11)
[Sun Jul 23 14:50:21 2006] [notice] child pid 11963 exit signal Segmentation fault (11)
[Sun Jul 23 14:50:21 2006] [notice] child pid 11964 exit signal Segmentation fault (11)
[Sun Jul 23 14:50:22 2006] [notice] child pid 11965 exit signal Segmentation fault (11)
[Sun Jul 23 19:44:15 2006] [error] [client (IP_Address)] script '/var/www/vhosts/default/htdocs/proxy.php' not found or unable to stat
[Sun Jul 23 22:10:28 2006] [notice] child pid 11967 exit signal Segmentation fault (11)
[Sun Jul 23 23:24:15 2006] [error] [client (IP_Address)] request failed: error reading the headers
[Mon Jul 24 02:41:10 2006] [error] [client (IP_Address)] request failed: error reading the headers
[Mon Jul 24 08:40:15 2006] [notice] child pid 12198 exit signal Segmentation fault (11)
[Mon Jul 24 17:32:17 2006] [notice] child pid 19080 exit signal Segmentation fault (11)
[Mon Jul 24 18:37:15 2006] [error] [client (IP_Address)] request failed: error reading the headers
[Mon Jul 24 19:56:48 2006] [error] [client (IP_Address)] script '/var/www/vhosts/default/htdocs/proxy.php' not found or unable to stat
[Tue Jul 25 09:08:00 2006] [notice] Graceful restart requested, doing restart
[Tue Jul 25 09:08:00 2006] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 25 09:08:00 2006] [notice] Digest: done
[Tue Jul 25 09:08:00 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue Jul 25 09:08:00 2006] [notice] LDAP: SSL support unavailable
[Tue Jul 25 09:08:01 2006] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Tue Jul 25 09:08:01 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Jul 25 09:08:01 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Jul 25 09:08:02 2006] [notice] Apache/2.0.51 (Fedora) configured -- resuming normal operations
[Tue Jul 25 11:07:07 2006] [notice] child pid 1307 exit signal Segmentation fault (11)
[Tue Jul 25 11:09:22 2006] [notice] child pid 1310 exit signal Segmentation fault (11)
[Tue Jul 25 12:19:24 2006] [notice] child pid 1308 exit signal Segmentation fault (11)
[Tue Jul 25 12:19:29 2006] [notice] child pid 1311 exit signal Segmentation fault (11)
[Tue Jul 25 12:19:39 2006] [notice] child pid 1312 exit signal Segmentation fault (11)
[Tue Jul 25 13:14:26 2006] [error] [client (IP_Address)] request failed: error reading the headers
[Tue Jul 25 14:27:00 2006] [notice] child pid 2202 exit signal Segmentation fault (11)
[Tue Jul 25 14:27:03 2006] [notice] child pid 1309 exit signal Segmentation fault (11)
[Tue Jul 25 14:27:05 2006] [notice] child pid 2214 exit signal Segmentation fault (11)
[Tue Jul 25 14:27:07 2006] [notice] child pid 2719 exit signal Segmentation fault (11)
[Tue Jul 25 14:27:11 2006] [notice] child pid 1313 exit signal Segmentation fault (11)
[Tue Jul 25 14:27:14 2006] [notice] child pid 2204 exit signal Segmentation fault (11)
[Tue Jul 25 14:31:00 2006] [notice] child pid 2215 exit signal Segmentation fault (11)
[Tue Jul 25 14:31:02 2006] [notice] child pid 2799 exit signal Segmentation fault (11)
[Tue Jul 25 14:31:02 2006] [notice] child pid 2801 exit signal Segmentation fault (11)
[Tue Jul 25 14:31:03 2006] [notice] child pid 2803 exit signal Segmentation fault (11)
[Tue Jul 25 14:31:04 2006] [notice] child pid 1314 exit signal Segmentation fault (11)
[Tue Jul 25 14:31:04 2006] [notice] child pid 2817 exit signal Segmentation fault (11)
[Tue Jul 25 14:31:06 2006] [notice] child pid 2818 exit signal Segmentation fault (11)
[Tue Jul 25 14:35:09 2006] [notice] SIGHUP received.  Attempting to restart
[Tue Jul 25 14:35:09 2006] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 25 14:35:09 2006] [notice] Digest: done
[Tue Jul 25 14:35:09 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue Jul 25 14:35:09 2006] [notice] LDAP: SSL support unavailable
[Tue Jul 25 14:35:09 2006] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Tue Jul 25 14:35:09 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Jul 25 14:35:09 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Tue Jul 25 14:35:09 2006] [notice] Apache/2.0.51 (Fedora) configured -- resuming normal operations
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

Mm, I have a feeling this is something more than PHP or MySQL.

I'm running a production environment using v1.5.4+ (2005060240) and a test environment using v1.7 dev (2006071800) on the same server running PHP 4.4.2,MySQL 4.1.19-standard and apache 1.3.36 on a linux box.

Last night, I copied my v1.5.4 database, files and moodledata directory so that I could test a CVS upgrade to v1.6.1 without messing up my production site.

I got the same problems as nut buster describes above - a blank page on the front end and the admin page. Note that the v.1.5.4 and the v.1.7 installations were still working. I did have the apache logs (but they're at home and I'm now at work) - so I can't tell you the exact message in the log file, but it was certainly just a normal 200 status code.

So, I kept the database and the moodledata directory, but deleted the moodle directory and did a fresh CVS install - and it worked perfectly thoughtful. This indicates to me that it's not a problem with the PHP or MySQL versions... back to the drawing board for solutions?

In reply to Jon Bolton

Re: Final Solution for Blank Page Problem

by nut buster -
Does that new apache error log I posted above tell anyone of other errors that may be causing it?  It still has the original error (child pid xxxx exit signal Segmentation fault (11)) every time I try to load moodle, but there are some other errors in there too about things not loading properly.  Any ideas?
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Ken Wilson -
I'm really stuck on this one. Just one thing I noticed in your phpinfo: SeLinux is installed. The installation FAQ has something about this.

There are lots of apache errors which should not be there, so it may be a good move to approach your hosting company. To re-iterate Scott's original insight, there may not be a final solution sad

Ken
In reply to Ken Wilson

Re: Final Solution for Blank Page Problem

by Maik Riecken -
Segmentation fault (11) means apache uses memory pages he isn't allowed to access to.This could be caused by SElinux but also many other reasons are thinkable. Is the apache package delivered by your distribution or self compiled?

Maik
In reply to Maik Riecken

Re: Final Solution for Blank Page Problem

by nut buster -
It was originally installed by the distribution put on by the hosting company, but I have since updated it to a later version, just by "yum update apache".
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Maik Riecken -
Nut,

This is definitly a server problem. I guess you will experience a running moodle system when changing your current PHP version to a stable 5.x branch or moving from mod_php to php_cgi / fastCGI. If you really want to stay with the current php version then you have to change the forum to get help. Check out specialized PHP / rootserver forums. There you will get help e.g. with increasing the loglevel of PHP.

Most PHP applications are not that complex moodle is...

regards,

Maik
In reply to Ken Wilson

Re: Final Solution for Blank Page Problem

by Rob Barreca -
I've gotten the blank page of death, today actually and found what the problem was. I'm using APC (Alternative PHP Cache) and it has a great performance boost, but under high loads it segfaults Apache. It looks like your phpinfo() doesn't show APC is enabled. Check if you have APC or another PHP accellerator enabled in your php.ini and try disabling it.
In reply to Rob Barreca

Re: Final Solution for Blank Page Problem

by nut buster -
I dont believe I have APC, but I do have ioncube loaders (its needed for another web application installed on the server).
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Robin Sale -

Nut,

You're not alone... Yesterday, my boss asked me to get Moodle up and running on one of our production servers. We're using PHP5.1.12 with Apache 2.0.53 and MySQL 5.0.19 and I get the exact same problem... Installs fine but when I'm done and go to log in, I am able to enter username and password, but when I submit them, I get a blank page as well.

I haven't gone through quite as many forums as you, but I have used the moodle provided .htaccess file, I've made sure all the requested settings for php, apache, and mysql have been mad, and I just can't get anything but a blank page.

I started adding some print statements to the ./login/index.php page, and they print okay... of course, it's outputting before moodle can write headers, so it's only good for testing. I haven't finished yet, but my thought is that something (maybe due to some combination of settings I have somewhere) is causing the logic in the login to "jump the rails".

Very frustrating.

In reply to Robin Sale

Re: Final Solution for Blank Page Problem

by Robin Sale -

I just blew out everything and reinstalled with moodle version 1.5 latest. I still can't seem to get in... however, now when I log in, I get dumped back to the login page. I'm pretty sure that the issue is indeed something with apache, or more likely with php and has to do with sessions. I was able to get moodle 1.5 latest working on a web host I own personally - but that one is using php 4.3.10.

If I manage to figure out what's wrong in my case, I'll post it here.

In reply to Robin Sale

Re: Final Solution for Blank Page Problem

by nut buster -
You got further than me...I never even made it to the login screen! Mine is blank right after the installation completes.  index.php and admin/index.php load nothing at all. sad
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Robin Sale -

Nut,

I don't know if this will help, but in the past, we've had problems when people would put dos line terminated files in our web directories. Thinking that my problem might be related, I went and changed the line termination of all files in my moodle dir to unix:

find ./ -name "*php" -exec dos2unix {} \;

when I did that I ended up with a broken moodle like yours... ALL pages blank

I tried the reverse:

find ./ -name "*php" -exec unix2dos {} \;

but it didn't help either

I only mention this as it was something I did (and can repeat) that breaks my moodle install in the same way as yours. I don't know if it's worth investigating, but I hope this might help.

In reply to Robin Sale

Re: Final Solution for Blank Page Problem

by nut buster -
Interesting.  I never did anything like that and mine is broken.  Since I tried it with every version of moodle, its probably a server problem, but I dont know what to do or change to get it to work.  Its weird, because I have about 12 other websites and applications all running perfecly on the same server.  mixed
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Robin Sale -

Well, I managed to make a working install at work, but it required that I install on a totally different server. I backed down to the latest 1.5 release and pointed the install at the same database I was using before. The server had php 4.3.9 (instead of 5.0.12) which may have helped.

At any rate, It worked on the first try.

My boss asked me to TRY to get moodle 1.6.1 working on that same new box, and I get about three pages into the install before I go all blank pages and such... Lucky for me, my boss said he'd be happy with 1.5-ish so long as I made an effort to go with 1.6.1. first.

My original theory was that something in PHP5 was causing the problem, but the fact that this 4.3.9 install was also having problems has me stumped. My theory is blown.

I figured you didn't do the dos/unix conversion thing - we've just been bitten by that issue before.

In reply to nut buster

Re: Final Solution for Blank Page Problem

by Robin Sale -
One thing that caused blank pages on several occasions was the php.ini specified memory limit. I assume you've already checked this a thousand times, but make sure it's set to at least 16M and restart apache...
In reply to Robin Sale

Re: Final Solution for Blank Page Problem

by nut buster -
Yeah I have checked that...its set to 32MB.
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Maik Riecken -
Please have a little faith in me... Try to upgrade to either PHP 5.1.x or downgrade to 4.3.x.
5.0.x and 4.4.x are know to be buggy...

Maik
In reply to Maik Riecken

Re: Final Solution for Blank Page Problem

by nut buster -
I have faith...I am just reluctant to upgrade because I am afraid some other application or website on the server will not work properly after the upgrade.  mixed
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Maik Riecken -
Someday you'll have to upgrade anyway. But: php5 can be installed parallel to php4... But first checkout if this really is the problem.

regards,

Maik
In reply to Maik Riecken

Re: Final Solution for Blank Page Problem

by nut buster -
Do you know the easiest way to upgrade to 5.1.4 (without screwing anything else up!)? The only update on yum i found was for 5.0.4 on my server.
In reply to Maik Riecken

Re: Final Solution for Blank Page Problem

by nut buster -
Ok, I finally got my hands on another server, and the same thing is happening!!!  This server is FC4, using php 5.0.4, and I could not find an update to get 5.1.4.  But this time when the blank page shows up, no errors are listed in the apache log. I guess I will never get this to work!  angry
In reply to nut buster

Re: Final Solution for Blank Page Problem

by Maik Riecken -
Funny - the same PHP-version produces the same error. I guess the current PHP-version causes these problems...

Have you tried moodle with xampp to really mark PHP as enemy?
Is there a linux guru around in your neighbourhood? He could "strace" the situation for you (strace is a debugger for linux and always delivers interesting outputs...).

You can use different PHP-versions simultaneously...

Sometimes is could be better to spend some euros/dollars before searching all night long. I think a good professional will solve your problem within one or two hours...

regards - and good luck...

Maik