Sysadmin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Media Upload Error Still Present on WP 3.5.1Problem is resolved here: http://stackoverflow.com/questions/10721234/php-upload-script-produces-error-500-for-files-larger-than-100-kb Why? Try to upload image 100Kb or less and it will upload. Try to upload larger… Wish you luck. The only way is to set up move_uploaded_file() function in PHP. There is of course possibility to set it up globally on server in php.ini via the ssh or ftp – if you have access to the server, otherwise ask server admin to do this.
Forum: Installing WordPress
In reply to: Version 3 upgrade – “wp-content/blogs.php is depricated……” HelpProbably WPSuperCache blocks access. Try to remove every lines, which contains reference to WPSuperCache.
Forum: Networking WordPress
In reply to: Media Library and pics in WPMU doesn't workmakapu your solution is the only one, which solved my problem with wordpress installed in subfolder, not in root folder!!!
So , dude I should buy you a big beer !!!
Forum: Installing WordPress
In reply to: Version 3 upgrade – “wp-content/blogs.php is depricated……” Helpdelete:
#RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]To avoid ms-files.php…
and replace with:RewriteRule ^([_0-9a-zA-Z-]+/)?blog1/files/(.+) wp-content/blogs.dir/1/files/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?blog2/files/(.+) wp-content/blogs.dir/2/files/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?blog3/files/(.+) wp-content/blogs.dir/3/files/$2 [L]
etc.or like in my .htaccess files:
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?local-transport/files/(.+) wp-content/blogs.dir/3/files/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?international-transport/files/(.+) wp-content/blogs.dir/4/files/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?buses/files/(.+) wp-content/blogs.dir/5/files/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?rescue-transport/files/(.+) wp-content/blogs.dir/6/files/$2 [L]Adress looks like http://www.domain.com/myrootblog/local-transport/
in myrootblog is my wp installed in subdirectory (not in root folder)
and local-transport is my second blog name etc.Hope it will be helpful.
Forum: Networking WordPress
In reply to: Media Library and pics in WPMU doesn't workBy the way seem like redirecting FollowSymLinks MultiViews sometimes isn’t turned on. I mean this:
<Directory /usr/local/var/www>
Options FollowSymLinks MultiViews
AllowOverride None
Order Allow,Deny
Allow from all
</Directory>Where it should be:
<Directory /usr/local/var/www>
Options FollowSymLinks MultiViews
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>in file: httpd.con
Why the hell in WordPress MU they made redirect via .htaccess like this:
domain.com/files/2011/02/file.jpg points to ms-files.php which translates that as domain.com/wp-content/blogs.dir/1/files/2011/02/file.jpg
Forum: Installing WordPress
In reply to: Version 3 upgrade – “wp-content/blogs.php is depricated……” HelpBy the way seem like redirecting FollowSymLinks MultiViews sometimes isn’t turned on. I mean this:
<Directory /usr/local/var/www>
Options FollowSymLinks MultiViews
AllowOverride None
Order Allow,Deny
Allow from all
</Directory>Where it should be:
<Directory /usr/local/var/www>
Options FollowSymLinks MultiViews
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>in file: httpd.con
Why the hell in WordPress MU they made redirect via .htaccess like this:
domain.com/files/2011/02/file.jpg points to ms-files.php which translates that as domain.com/wp-content/blogs.dir/1/files/2011/02/file.jpg
Forum: Alpha/Beta/RC
In reply to: Multisite image path errorPretty nice, but what if I can’t edit /etc/apache2/sites-available/default ? I have the same problem with images. They upload fine, but I don’t see them in media library.
Forum: Fixing WordPress
In reply to: Upgraded to 3.0 all Images gone from front pageSeems media uploader uploads files correctly to any folder you want, but there is something wrong with some php files . Maybe functions.php ? I don’t know why, when you are in subfolder blog admin panel in media tab , all thumbs are broken and the url file looks like http://www.domain.com/mainblog/blogno2/files/image.jpg and should looks like http://www.domain.com/mainblog/wp-content/uploads or eventually http://www.domain.com/mainblog/wp-content/blogs.dir/%BLOG_ID%/files/ or http://www.domain.com/mainblog/wp-content/blogs.dir//$blog_id/files
I know everywhere write I should install WP MU in root directory. But what if it isn’t possible and I just have to install WP MU in subdirectory? Which files should be edited and corrected?
Maybe in wp-config.php should I paste something like this?
define( ‘UPLOADBLOGSDIR’, $blog_id.’/files/’ );Forum: Fixing WordPress
In reply to: Media library : wrong file URL for existing imagesSeems media uploader uploads files correctly to any folder you want, but there is something wrong with some php files . Maybe functions.php ? I don’t know why, when you are in subfolder blog admin panel in media tab , all thumbs are broken and the url file looks like http://www.domain.com/mainblog/blogno2/files/image.jpg and should looks like http://www.domain.com/mainblog/wp-content/uploads or eventually http://www.domain.com/mainblog/wp-content/blogs.dir/%BLOG_ID%/files/ or http://www.domain.com/mainblog/wp-content/blogs.dir//$blog_id/files
I know everywhere write I should install WP MU in root directory. But what if it isn’t possible and I just have to install WP MU in subdirectory? Which files should be edited and corrected?