SID-01806: Cannot load icons
| Status: |
Answered |
TWiki version: |
5.1.4 |
Perl version: |
5.10.1 |
| Category: |
CategoryInstallation |
Server OS: |
RHEL 6 |
Last update: |
12 years ago |
I have installed and configured TWiki. I can load my page and add topics. But when I load my TWiki page, all the icons are missing. I am using Chrome, so I right-clicked on one of the missing icons and see this:
<img src="/do/TWiki/TopMenuSkin/menu-start.png" width="35" height="22" alt="">
When I do the same from the same type of page on TWiki.org, In noticed that the images and icons are pointing to /pub, like this:
<img src="/p/pub/TWiki05x01/TopMenuSkin/menu-start.png" width="35" height="22" alt="">
On my installation, the menu-start.png file is definitely present, but it is in the twiki/pub directory, not in the twiki/bin directory. I think that is the problem. Why is the page trying to locate images through "/do"? Is this correct?
--
Tim Gross - 2013-10-11
Discussion and Answer
You are likely missing the style sheets too. This is caused by an incorrect setting of the
{PubUrlPath} setting in configure. You need to match it with the the
Alias setting pointing to your
twiki/pub in the apache config file.
--
Peter Thoeny - 2013-10-11
I followed your instructions and set
PubUrlPath to "/pub" and it worked. BTW, setting it to the full path like "/var/www/twiki/pub" did not work. Not sure why.
Thanks!
--
Tim Gross - 2013-10-11
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.