It sounds that you have error when calling wp-config.php file that’s why it returns a white screen of death.
Correct your path that will point to your wp-config.php file.
Thread Starter
cmccarra
(@connor-mccarra)
Thanks for the replies!
I tried a few path alternatives, but they all threw up this error:
Fatal error: require() [function.require]: Failed opening required 'http://poultry.ie/wp-config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/poultry/public_html/forum/cache/tpl_prosilver_overall_header.html.php on line 5
Using wp-load.php didn’t make any difference, I got wp-config.php off some other tutorial, but when I get it working i’ll look into which is better to use.
Thread Starter
cmccarra
(@connor-mccarra)
Just to add that my actual wordpress install is working fine, and I checked the error log, no obvious errors showing up.
You can call the wp-config.php or wp-load.php using relative path. For example:
include ('../../../wp-load.php');
Let’s say you’re overall_header.html located in your root within /phpbb directory, then your include looks like this:
include('../../wp-config.php');
Hope that helps.
Thread Starter
cmccarra
(@connor-mccarra)
Yeh I tried using relative paths but I got the same error as above. Thanks for your reply though.
Thread Starter
cmccarra
(@connor-mccarra)
Any other common problems I can rule out? Kinda in desperate need here, will try anything :L
What is the full path of your wp-config.php?
What is the full path of your overall_header.html?
Have you tried to use the relative path below?
require('../../../../wp-config.php')