Blank pages – PHP define statement b0rks WordPress
-
The system was just updated to PHP 5.2.5 and now I’m getting blank WordPress pages. The problem is that DEFINE statements somehow cause the blank pages. For an example, see line 2 below:
<?php define('WP_USE_THEMES', true); require('./wp-blog-header.php'); ?>
I tried using single quotes, removing the quotes, setting to TRUE and “x”, but the page always dies on that line. Here is the only syntax that works:
${WP_USE_THEMES} = TRUE;
If I change that line in the file, the require dies, presumably because it loads files that contain DEFINE statements. There must be PHP setting gone wrong. Any idea what it is?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Blank pages – PHP define statement b0rks WordPress’ is closed to new replies.