[wp-hackers] 404 Pages displaying as blank

Dion Hulse (dd32) wordpress at dd32.id.au
Thu Sep 3 10:46:35 UTC 2009


Can you disable the rewriting and see if that changes anything?

What about adding:
define('WP_DEBUG', true);
to your wp-config.php file, does that reveal anything?

On Thu, 03 Sep 2009 20:42:06 +1000, leon.ash at tawnylion.com  
<leon.ash at tawnylion.com> wrote:

> Hello,
>
> I'm experiencing a strange problem I'm hoping someone here may have some
> suggestions on how to solve.
>
> I started a thread here: http://wordpress.org/support/topic/305273 but
> haven't received any replies. To save me having to retype it all I'd
> appreciate it if you could look there for the details.
>
> In summary I've got my first WordPress site up and running with rewrites
> working as expected for everything apart from one small, but annoying
> glitch.
>
> My 404 pages are all shown as 'blank' pages. If you look at the details
> I've confirmed this behaviour on a fresh install with no plugins.  
> Pemalinks
> is set to /%postname%/, the site is hosted on IIS 6 and has Helicon's
> ISAPI_Rewrite installed.
>
> I've inserted error_log statments into parse_query in classes.php and can
> confirm that the 'query' for 404 pages is 'name=error=404&page='. The
> headers of returned pages indicate a 404 Not Found code, but the pages  
> are
> blank. This implies the rewriting is fine.
>
> The last interesting thing is that I also added error_log statements into
> many of the theme files and the 'log entries' per invalid url request
> terminate in different components of the 'theme'. Details in post.
>
> Any suggestions and help appreciated.
>
> Thank you
> Leon
>
>_______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


-- 
--
Dion Hulse
e: contact at dd32.id.au
w: http://dd32.id.au/
m: 04 6621 9112 (+614 6621 9112)
WordPressQI: http://wordpressqi.com/


More information about the wp-hackers mailing list