Microsoft
Software
Hardware
Network
Question : Problem with require('./wp-blog-header.php'); The ./ is throwing a 500 error message.
Problem with require('./wp-blog-header.
php'); The ./ is throwing a 500 error message.
I am running on a Windows 2008 server, 64 bit, with IIS7.
You can see my php info at
http://www.greatersba.org/
php-info.p
hp
I have a Wordpress installation, that I discovered this issue in. But the problem doesn't seem to be a Wordpress issue, it seems to be more of a PHP on Windows issue.
For some reason, in the information I found (when looking around) the use of ./ is supposed to tell PHP to look in the "currrent folder" for the file that is being called, as in require('./wp-blog-header.
php');
But, with the ./ in front, I always get a 500 error. Even if I put just a / I get a 500 error.
I would like to fix this if possible so it would work normally, but since I am on a Windows 2008 server with IIS7 .. I am not sure how to get this to work properly. Most of what I see on the net refers to Linux servers.
Can someone explain why it's not working properly on my Windows server .. and what I might be able to do or change (somewhere) so this will work (without my having to remove the ./ in front of the file name??
Thanks,
Gary
Answer : Problem with require('./wp-blog-header.php'); The ./ is throwing a 500 error message.
On a windows install I do not believe you need the ./ or the / just:
require('wp-blog-header.ph
p');
I will have to connect and look at one of mine but I am out of the office right now. Give that a try though and let me know.
Random Solutions
convert to valid DateTime
Loading multi-line field using SQL Loader into Oracle Tables
onmouseover is not working in Mozilla
port 443 closed
Event ID 5000 error office11shipassert
Want to add wireless to wired network
Setting up of a Forest Trust
exception : There are multiple root elements
How can I modify the Drupal comment module so that it does not include a homepage field?
Push not working on iphone with Exchange 2010...