We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

WordPress 3.1 won't create posts

stkoontz
stkoontz asked
on
Medium Priority
295 Views
Last Modified: 2012-05-11
I'm setting up a WordPress 3.1 multiuser site at tours.operationbarnabas.net.  The admin panel is working fine, but when I either create a new blog or post to the main blog, the posts don't create any files for viewing.

The site is setup to use sub-directories for individual blogs and running on a Windows server.

When I visit the root site, I get the error "Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in C:\...\tours.operationbarnabas.net\wwwroot\index.php on line 17"

.htaccess is in the root with the suggested code from when I setup the network in Wordpress.

If anyone can walk me through this problem, I'd really appreciate it.

Steve

Comment
Watch Question

Commented:
Where is wp-blog-header.php in relation to index.php?

Maybe change

require('./wp-blog-header.php');

to

require('wp-blog-header.php');

in index.php

Author

Commented:
Thanks for the reply.

That worked to get the main site working.  (tours.operationbarnabas.net)  But do you have any suggestions for getting the individual blogs working?

Thanks,

Steve

Commented:
Are they giving you the same error message?

Author

Commented:
There's no real error message.  The individual blog files aren't being created on the server.

My Windows webhost doesn't recognize .htaccess files.  I've tried using web.config files to get WordPress to create the folders and files, but can't get it to work.

I received these responses from my webhost tech support...

.htaccess files are not recognized.  The issue is wordpress attempting to rewrite urls and the web server not being able to process those rewritten urls.  

Your wordpress blog is trying to rewrite URLs. This won't work without the URL rewritng filter installed. Disable the URL rewriting from within the wordpress settings.

I tried to find a setting in Wordpress to disable the URL rewriting, but couldn't.

Thanks for coming back in to help.  I appreciate it.

Steve
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Commented:
From now on you might want to mention that you have a windows install when asking wordpress questions.

I'll also try to remember to start asking =)

Author

Commented:
Thanks for the lauragentry.com link.  It helped me understand the problem.  My webhost won't install IIS URL Rewrite 2.0.

My initial post does mention that I'm on a Windows server.  Should I have clarified it more by saying the Windows server is running IIS?

Thanks again for the help.

Steve

Author

Commented:
Suggested solutions didn't solve the problem I have.

Commented:
No, that's fine... I just read right past it!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.