Tod wrote:
> I just tarred up and copied over my entire site to a new server.  I've 
> dumped and recovered the database and untarred everything on the new box 
> and everything is working fine - except most of my images are missing. 
> Both boxes are urning unix.
> 
> I've checked the mediawiki_install_root/images directory for permissions 
> or access problems but all seems fine.  On a lot of the pages the logo 
> is missing.  I would have to say at quick glance any uploaded and linked 
> images are gone too.  The LocalSettings.php on both servers are identical.
> 
> When I relocated my wiki I nested its install root within another file 
> system so it isn't located exactly where it was first installed.  My 
> thought was this wouldn't be the problem unless pointers to the image 
> files locations were being stored in the database.

There aren't. Every path is at LocalSettings.php

>From your description looks like the web path is different, eg. your
wiki used to be at http://server/~Tod/wiki/ and now it is at
http://server/wiki/. And that the wiki is trying to include the urls
from http://server/~Tod/wiki/images/... which doesn't work since they
are now at http://server/wiki/ on the fictional layout I mentioned.

Look at which url is it expecting the images and fix the appropiate
variable at localsettings. The value doesn't need to be a full url, but
should at least be a url relative to the web root (beginning with a
slash), or it may fail with articles containing / in its name


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to