kriston
Forum Replies Created
-
Aaaahhh…
I found the problem…That was the issue.
A ton of PHP warnings about headers.
And it turned out I had extra lines in the wp-config.php filed after the closing ?> which were causing it to chuck a hissy fit.So I removed those, and now it works! *cheer*
I’ve just checked, and both wp-load.php and template-loader.php are also fully uploaded and are both also set to read for all.
The owner is set to read/write.
All others are set to read.Thanks for that link!
Ok, I’ve checked my log files, and this seems to be the important error:
[client 202.45.110.151] PHP Warning: main(): Unable to access ./wp-blog-header.php in /var/www/vhosts/ofscienceandswords.com.au/subdomains/fyi/httpdocs/index.php on line 17 [client 202.45.110.151] PHP Warning: main(./wp-blog-header.php): failed to open stream: No such file or directory in /var/www/vhosts/ofscienceandswords.com.au/subdomains/fyi/httpdocs/index.php on line 17 [client 202.45.110.151] PHP Fatal error: main(): Failed opening required './wp-blog-header.php' (include_path='.:') in /var/www/vhosts/ofscienceandswords.com.au/subdomains/fyi/httpdocs/index.php on line 17
Now, the thing is, I’ve checked and re-checked the wp-blog-header.php file. It is in the directory. It is set to read. I’ve uploaded and then re-downloaded the uploaded file and compared them. And the uploaded and downloaded file are the same, so the upload itself must be going fine.
And just to check.
The contents of my wp-blog-header.php file are as follows:<?php /** * Loads the WordPress environment and template. * * @package WordPress */ if ( !isset($wp_did_header) ) { $wp_did_header = true; require_once( dirname(__FILE__) . '/wp-load.php' ); wp(); require_once( ABSPATH . WPINC . '/template-loader.php' ); } ?>
Any thoughts?