hello guys,

I had my admin upgrade php on my server, as well as mysql, and now i'm getting blank pages. On all of my drupal installations. Every other PHP/MySQL app works fine, just not drupal, and i cannot locate any error messages to point me in the right direction of what may be the issue.

Current:
PHP Version 4.4.7
Apache/2.0.53
MySQL Client API version 4.1.16
MySQL 4.1.16-max

The below is my ./confiure for PHP
'./configure' '--build=x86_64-redhat-linux' '--host=x86_64-redhat-linux' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-ncurses=shared' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-png' '--with-pspell' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-pear=/usr/share/pear' '--with-kerberos' '--with-mysql=/usr/local/mysql' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mime-magic=/usr/share/file/magic.mime' '--with-pic' '--with-apxs2=/usr/sbin/apxs'

The below is from my 'error_log' of one of the 3 drupal sites:

[client 76.101.183.41] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /home/swfmas/public_html/modules/menu/menu.module on line 276
[client 38.99.13.124] script '/home/swfmas/public_html/index.php' not found or unable to stat
[client 38.99.13.124] script '/home/swfmas/public_html/index.php' not found or unable to stat
[Fri Jun 29 21:20:32 2007] [error] [client 76.101.183.41] Directory index forbidden by rule: /home/swfmas/public_html/
[Fri Jun 29 21:20:39 2007] [error] [client 76.101.183.41] Directory index forbidden by rule: /home/swfmas/public_html/
[client 74.6.20.138] script '/home/swfmas/public_html/index.php' not found or unable to stat
[client 74.6.20.138] script '/home/swfmas/public_html/index.php' not found or unable to stat
[Fri Jun 29 21:49:55 2007] [alert] [client 76.101.183.41] /home/swfmas/public_html/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration
[Fri Jun 29 21:50:16 2007] [alert] [client 38.99.13.123] /home/swfmas/public_html/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration
[Fri Jun 29 21:51:13 2007] [alert] [client 74.6.25.17] /home/swfmas/public_html/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration
[Fri Jun 29 21:51:57 2007] [alert] [client 76.101.183.41] /home/swfmas/public_html/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration
[Fri Jun 29 21:51:58 2007] [alert] [client 76.101.183.41] /home/swfmas/public_html/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration
[client 76.101.183.41] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /home/swfmas/public_html/modules/menu/menu.module on line 276
[client 76.101.183.41] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /home/swfmas/public_html/modules/menu/menu.module on line 276
[client 198.177.254.243] PHP Notice:  Undefined property:  theme in /home/swfmas/public_html/includes/theme.inc on line 45
[client 198.177.254.243] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /home/swfmas/public_html/modules/menu/menu.module on line 157
[client 74.6.20.215] PHP Notice:  Undefined property:  theme in /home/swfmas/public_html/includes/theme.inc on line 45
[client 74.6.20.215] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /home/swfmas/public_html/modules/menu/menu.module on line 157
[client 74.6.27.74] PHP Notice:  Undefined property:  theme in /home/swfmas/public_html/includes/theme.inc on line 45
[client 76.101.183.41] PHP Notice:  Undefined variable:  no_module_preprocess in /home/swfmas/public_html/includes/common.inc on line 1467
[client 76.101.183.41] PHP Notice:  Undefined variable:  no_theme_preprocess in /home/swfmas/public_html/includes/common.inc on line 1488
[client 76.101.183.41] PHP Notice:  Undefined variable:  no_module_preprocess in /home/swfmas/public_html/includes/common.inc on line 1467
[client 76.101.183.41] PHP Notice:  Undefined variable:  no_theme_preprocess in /home/swfmas/public_html/includes/common.inc on line 1488
[Fri Jun 29 23:45:39 2007] [error] [client 76.101.183.41] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 92160 bytes) in /home/swfmas/public_html/modules/menu/menu.module on line 696
[Sat Jun 30 00:18:03 2007] [error] [client 76.101.183.41] PHP Notice:  Undefined variable:  no_module_preprocess in /home/swfmas/public_html/includes/common.inc on line 1467
[Sat Jun 30 00:18:03 2007] [error] [client 76.101.183.41] PHP Notice:  Undefined variable:  no_theme_preprocess in /home/swfmas/public_html/includes/common.inc on line 1488

any help would be appreciated. If someone could tell me if there are any further locations to look for errors, hints/tricks.

Thank You,

marco

Comments

wiszmaster’s picture

This is drupal 5.1 - sorry.

wiszmaster’s picture

OK - Looks like i have it working now ... for the most part.

This post helped me.
http://drupal.org/node/36510#comment-66388

I removed most of the modules, and re-added them one at a time.
It turned out to be the G2 (Gallery2) module.

Once logged into the admin account, on the status page i show:

GD library	Not installed
The GD library for PHP is missing or outdated. Please check the PHP image documentation for information on how to correct this.

Unicode library	Standard PHP
Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support.