Hot answers tagged iis
3
Attachments are stored with their filename (minus extension) as the post name. So if you uploaded an attachment that's called map.xyz, it would have the same name as your page.
So first, check your Media Library if you have a 'map' attachment.
Secondly, check if your 'map' page still exists and still has the same slug.
When wordpress tries to resolve your ...
2
Go resave your Permalink settings to correct the .htaccess file.
Multisite systems have a slightly different .htaccess configuration. Specifically, they have this line in them:
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
That lets the /files/whatever URLs get routed to the proper location.
Edit: sorry, ...
2
This resolved my 404 error. I essentially went into IIS and directed the 404s to a custom URL “/index.php?error=404“
Article that explained how to resolve the error
2
You are encountering an improperly configured server. Please consult the Wordpress manual on how to setup wordpress on a windows server system.
AFAIK - but I'm not a windows server expert - you must configure the upload directory that the user executing the PHP Wordpress application is able to access files therein for reading, writing, creating and ...
2
I am not entirely sure that it would work with sub-sub-domains. :)
Most of your requirements (IIS aside) seem very manageable:
consistent design would be easy to achieve with shared theme (or several child themes if required);
users can be easily assigned to multiple sites, using single login and account (through editing site in Network Admin).
1
FTP credentials are fallback for when writing directly to the file system is not available. Naturally they take active FTP (or SSH) server - which is typical for any hosting out there, but not necessarily part of local installation.
Essentially you have two options:
Troubleshoot why direct file system access is not available to your WP installation. On ...
1
I had the same problem. From my log file I can see its breaking on the query that returns the posts.
I managed to get this working by going to "wp-includes\query.php", and then removing the $limits variable from the query.
It seems that this is breaking on sql server.
Find this line:
$this->request = " SELECT $found_rows $distinct $fields FROM ...
1
Analysing the Error
WordPress database error 42000 : [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'wp_users'. for query SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE ''wp_users'' made by display_setup_form, pdo_wpdb->query, pdo_wpdb->_post_query, pdo_wpdb->print_error
…reads as:
SELECT ...
1
Judging by your screenshot, the plugin has some basic code errors and you run your installation with define('WP_DEBUG', true);. Turn the debug mode and other ways for error reporting off and see if it works now. If it doesn’t, use another plugin or wait for the developer to fix it.
1
I had the same problem. When auto-updating, certain files would get "locked" somehow stopping the rest of the update process.
Are you using Windows cache extension for PHP by any chance?
Read the following post:
http://ruslany.net/2011/04/wincache-and-wordpress-plugin-upgrade-problem/
1
This sounds like your domain doesn't match the cookie being generated. It may not have anything to do with the IP.
define( 'DOMAIN_CURRENT_SITE', 'svr-web-csrms' );
I would expect an actual domain or something, like this.
define( 'DOMAIN_CURRENT_SITE', 'subdomain.mysite.tld' );
I tried to look at your web.config - but it appears that the URL is now ...
1
If you are using Custom Post Types with the rewrite option you will want to flush your WP Rewrite rules after an upgrade. Adding this to your plugin or functions.php can help (tested with 3.4):
// After an upgrade, flush rewrite rules
function flush_rules_post_upgrade() {
global $wp_rewrite;
if( is_object($wp_rewrite) )
...
1
The 404 is typical of WP thinking it has got no posts. Seeing that you actually have posts, I'm prompted to ask if you've plugins that mess around with query arguments or that override the loop partially or entirely? If so, they might be missing a few lines of code to allow WP to "know" it has found posts.
1
The type of permalinks you write about are also called "Pretty Permalinks" and are a feature of Wordpress that has been designed for the Apache HTTP Server with Mod_Rewrite enabled. Every other server is at first incompatible to this and you should not use those pretty permalinks on those system unless you know what you are doing.
There are replacements for ...
1
Yes, you can definitely run it with the two URLs on the same box. The only reason I've ever seen against doing this is to avoid getting a duplicate content penalty from search engines.
I've never done this on a Windows box, only Linux; however, assuming you can get both URLs to get to the same installation, the rest is platform-agnostic.
Here's how I do ...
Only top voted, non community-wiki answers of a minimum length are eligible