SID-02214: Format issues after lift and shift of Twiki between machines
| Status: |
Asked |
TWiki version: |
pre-4 |
Perl version: |
unknown |
| Category: |
CategoryBrowser |
Server OS: |
Unix/linux |
Last update: |
9 years ago |
We have copied our Twiki site from one unix server to a Linux and when I access the url, the formatting in the web browser seems to have gone a little dulally. Any ideas would be grateful ly appreciated. I tried to register a username with you but I am still waiting on an email delivery so have used guest log on instead. My email is
peter.bracuti@sainsburysPLEASENOSPAM.co.uk.
Thanks and regards
Peter
--
TWiki Guest - 2016-06-21
Discussion and Answer
Just a guess: A frequent cause of layout problems are permissions. Different flavours of Unix/Linux (or even different Linux distributions) run their web servers under different user ids. Just check file ownerships for the
templates and
pub directories. Another check would be whether the url-to-path mapping in the web server's configuration matches. In both cases, the web server's error log should contain complaints about 'no permission' or 'file not found', respectively.
Good luck!
--
Harald Jörg - 2016-06-21
As Harald indicated, layout issue is likely caused by a TWiki pub path not working properly.
Check the apache setting for
twiki/pub. Assuming it is at
/var/www/example.com/twiki/pub, and assuming your TWiki pub URL path is defined at
/pub, do this:
Alias /pub "/var/www/example.com/twiki/pub"
Then check your TWiki configure setting (or directly
twiki/lib/LocalSite.cfg) for TWiki pub:
$TWiki::cfg{PubUrlPath} = '/pub';
$TWiki::cfg{PubDir} = '/var/www/example.com/twiki/pub';
--
Peter Thoeny - 2016-06-23
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.