I hope someone can help me here.
I have been getting the "white screen of death" for my entire site when installing Suffusion into my WP. The issue actually preceded the updates, which I hoped would resolve them. I hope I won't have to reinstall WP from scratch.
Below is the error log that tracks the problem; this error repeats indefinitely (I have obscured some of the path data per *****). The page hangs, saying "waiting for http://www.davidseacord.com
[Tue May 15 13:05:25 2012] [error] [client ********] PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /var/home/************/davidseacord.com/www/wp-content/themes/suffusion/functions.php on line 1050, referer: http://www.davidseacord.com/wp-admin/up ... a6df221bdb
and later,
[Tue May 15 13:16:23 2012] [error] [client *********] PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /var/home/***********/davidseacord.com/www/wp-content/themes/suffusion/functions.php on line 1050, referer: http://www.davidseacord.com/wp-admin/up ... a6df221bdb
This doesn't make any sense. Neither of the files mentioned have any of the references described.
wp-content/themes/suffusion/functions.php on line 1050,
while (false !== ($file = readdir($handle))) {
foreach($exts as $ext) { // for each extension check the extension
if (preg_match('/\.'.$ext.'$/i', $file, $test)) { // faster than ereg, case insensitive
$files[] = $file; // it's good
++$i;
}
}
And, in a search through wp-admin/update.php, I found no instance of the term a6df221bdb
I've been using Suffusion since '09, and it is working nicely on several other sites right now.
My current setup is:
Mac OS X 10.6.8
Firefox 12.0
WP 3.3.2 (all plugins disabled)
Suffusion 4.2.0
Thanks in advance,
Richard
