Shane
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Upload path not being used when uploading?That’s correct. Yes, I have searched the db for any instance, and it had only been in the options table for the upload path. It does physically exist, as well as the years, i.e. /blogs/#/files/YYYY/MM.
Thanks for your help so far, but I am stuck.
Forum: Networking WordPress
In reply to: Upload path not being used when uploading?That is where I have made the change. I have confirmed that the change was made because it displays there correctly and in the database.
Forum: Networking WordPress
In reply to: Upload path not being used when uploading?And, the reason I changed it is because the hosting provider said the “.” in the directory name was causing issues. It’s hosted on IIS, unfortunately.
Forum: Networking WordPress
In reply to: Images not appearing after MU transferUpdate:
This is a Windows server. My hosting provider said there was an issue with the “.” in blogs.dir so I changed the site to use “blogs” as the upload folder. I modified each of the paths in the site config. Now all of the images are displaying correctly.However, I am still unable to upload media or upgrade plugins. I recieve this error when adding media:
“IMG_0003.JPG” has failed to upload due to an error
Unable to create directory C:\Inetpub\wwwroot\humanspan\sites\6101_WP2/wp-content/blogs.dir/3/files/2010/10. Is its parent directory writable by the server?Why would this still have “blogs.dir” when I’ve modified the config file to use “blogs” for the upload folder? I’ve searched the database and cannot find any field that is storing this “blogs.dir” value. Is this written dynamically in another file?
Any ideas?
Forum: Networking WordPress
In reply to: Images not appearing after MU transferHere are the essentials:
wp-config
—
define(‘WP_DEBUG’, false); define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, false );
$base = ‘/’; define( ‘DOMAIN_CURRENT_SITE’, ‘ageditors.com’ );
define( ‘PATH_CURRENT_SITE’, ‘/’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );htaccess
—
RewriteEngine On
RewriteBase / RewriteRule ^index\.php$ -[L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ -[L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-( content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]Forum: Networking WordPress
In reply to: Where are the posts?Solved!
I finally looked at “view source” and noticed that the content was being output correctly. So…it was a CSS issue.
Thanks for all of your help though!!!
Forum: Networking WordPress
In reply to: Where are the posts?Ok, I’ve narrowed the cause down to the theme. I removed multisite, re-installed 3.0.1, enabled multisite, imported the #2 site content back (after adding the site), and then began testing.
The #2 site automatically loaded with the TwentyOne theme, and I noticed that the content was displaying correctly. I then activated the #1 site with the TwentyOne theme, and the content displayed correctly. However, after switching the theme back to my custom theme, the content does not display again.
I am using the same index and loop page as TwentyOne, so where could the problem be?
Thank you for your help.
Forum: Networking WordPress
In reply to: Where are the posts?And this is my htaccess file:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule . index.php [L]Forum: Networking WordPress
In reply to: Where are the posts?Thank you, Andrea. However, that doesn’t seem to work.
A little more background –
The first site has this permalink structure: /%category%/%postname%
And the second has: /%year%/%monthnum%/%postname%/Is this allowed?
Thanks again.
Thanks, MichaelH. However, from what I understand and what the documentation states, “Returns posts for just…” My query needs to first return all of the pages just like the current query does. Then, I need the first page to be displayed as the one that matches the current month and year. The time parameters would limit all the results of the query to just ones matching the month and year, correct?