Michael Gorman
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Images not showing up after migrating from individual blogsOkay, so if I understand this correctly, it seems like PHP hit a memory limit when it was processing the XML file and downloading the images off of the original server. Which makes sense, since the file size was shorter and now the two are identical. The reason I wasn’t seeing anything would be because the server was returning truncated (and, thereby, invalid) JPGs.
Thanks, again, Ipstenu, for all of your help in diagnosing the problem.
Forum: Networking WordPress
In reply to: Images not showing up after migrating from individual blogsNow it works. What the…?
Forum: Networking WordPress
In reply to: Images not showing up after migrating from individual blogs/var/log/apache2/error.log isn’t showing anything when I load either image.
/var/log/apache2/access.log shows:10.2.56.84 - - [07/Oct/2011:13:29:47 -0500] "GET /admissions/files/2011/10/goldilocks.jpg HTTP/1.1" 200 11863 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1" 10.2.56.84 - - [07/Oct/2011:13:29:50 -0500] "GET /admissions/files/2011/10/goldilocks1.jpg HTTP/1.1" 200 34080 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1"Forum: Networking WordPress
In reply to: Images not showing up after migrating from individual blogsI went in through the admin interface and edited each individual post, re-uploading the images through my web browser. When I SSH to the server and cd to the storage location, I now see two files:
/var/www/wp-content/blogs.dir/45/files/2011/10/goldilocks.jpg /var/www/wp-content/blogs.dir/45/files/2011/10/goldilocks1.jpgBoth are owned by www-data:www-data and both have 644 permissions. But when I open my web browser and go to
http://blog-test.iwu.edu/admissions/files/2011/10/goldilocks.jpg
I see nothing; when I go to
http://blog-test.iwu.edu/admissions/files/2011/10/goldilocks1.jpg
I see an image.Forum: Networking WordPress
In reply to: Images not showing up after migrating from individual blogsYeah, import/export did bring the images over, but only to the filesystem; they wouldn’t show up online. I’ve already finished re-uploading all of the recent images, and they are showing up now. I’m not sure why it works, just that it does work.
I will certainly agree, though, this whole issue seems to make very little sense at all.
Forum: Networking WordPress
In reply to: Images not showing up after migrating from individual blogsYeah; I saw that, too, but changing that to AllowOverride All didn’t fix the problem.
It seems like the faster way to go will be manually re-uploading the images. It’d be nice to have an algorithmic solution in case others in the future have a similar problem, but for me, today, that doesn’t seem very realistic since I need to get the whole thing up and running ASAP.
Thanks so much for your help, Ipstenu; even though we haven’t optimally solved the problem, it’s great that there are people like you who help people like me without really asking anything in return.
Forum: Networking WordPress
In reply to: Images not showing up after migrating from individual blogsI changed that and restarted apache, but it didn’t fix the problem. “AllowOverride None” is only under directories that aren’t used by WordPress, anyway (the server root, /usr/lib/cgi-bin, and /usr/share/doc/); the one that is relevant (/var/www/) has been “AllowOverride All” this whole time.
Forum: Networking WordPress
In reply to: Images not showing up after migrating from individual blogs/etc/apache2/httpd.conf is empty and /etc/apache2/apache2.conf doesn’t have any AllowOverrides. The only relevant AllowOverrides I can find (which I believe are set correctly) are in /etc/apache2/sites-available/default:
<VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options FollowSymLinks Indexes MultiViews AllowOverride All Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost>I tried manually replacing an image that hadn’t been showing up, and it worked. Do you think it might be faster to do that than to keep trying to figure out why the automatic migration isn’t working for images?
Forum: Networking WordPress
In reply to: Images not showing up after migrating from individual blogsAny other ideas, anyone?
Forum: Networking WordPress
In reply to: Images not showing up after migrating from individual blogsNope. I get a 200 with a content-type of image/jpeg and a content-length of 11506, but nothing shows up. (The content-length in the old site’s response is 33723.)
Forum: Networking WordPress
In reply to: Images not showing up after migrating from individual blogsOh, darn. Thought it had public DNS. I’ll check when I get back from lunch.
Forum: Networking WordPress
In reply to: Images not showing up after migrating from individual blogsI believe so; it’s a direct copy-and-paste from the Network Setup instructions.