Link to home
Start Free TrialLog in
Avatar of stkoontz
stkoontzFlag for United States of America

asked on

WordPress 3.1 won't create posts

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

Avatar of gwkg
gwkg
Flag of United States of America image

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
Avatar of stkoontz

ASKER

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
Are they giving you the same error message?
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
ASKER CERTIFIED SOLUTION
Avatar of stkoontz
stkoontz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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 =)
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
Suggested solutions didn't solve the problem I have.
No, that's fine... I just read right past it!