See the Mailing Lists Page for how to subscribe and unsubscribe.
eprints_tech messages
Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.
[EP-tech] Re: Restored backup problem
From: Ben Wheeler <b.wheeler AT ulcc.ac.uk>
Date: Wed, 26 Nov 2008 21:00:34 +0000
| Threading: | ↑ [EP-tech] Restored backup problem from A.Birchall AT mdx.ac.uk • This Message |
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** EPrints community wiki - http://wiki.eprints.org/ On Wed, Nov 26, 2008 at 05:12:19PM +0000, Alex Birchall wrote: > I have a backup EPrints server on which I have restored the latest > backup of the live server. > > The problem is that the Home page has lost all of its formatting and the > links from the home page lead to the live version of the repository. > > I am sure I have tried the most likely looking epadmin options in an > attempt to resolve this problem, but so far to no avail. Is there, if > fact, a (fairly) quick fix? EPrints has an unfortunate tendancy to use absolute URLs, including in the database itself. Moving EPrints from one server to another requires a global search and replace on the server name in the database dump before loading it onto your backup server. Then ensure that the correct server name is present in the EPrints configuration, and re-run generate_apacheconf, generate_static, generate_views and generate_abstracts, make a burnt offering, restart Apache, and hope for the best. Can you tell I've had to do this too many times? ;) The loss of formatting is probably CSS related, so ensure that your backup server has the same CSS files as your main server too. Ben
[index] [prev] [next] [options] [help]




