create new tag
, view all tags

SID-02345: after install all links look broken and menus do not work

Status: Answered Answered TWiki version: 6.0.2 Perl version: 5.24.1
Category: CategoryInstallation Server OS: Debian 9 Last update: 14 minutes ago

I just finished installing twiki and the only configure warnings are around email which is currently fine. No errors. When I navigate to do/view all image logos are broken links and the menu is showing with no drop down simply looks like broken css with the menu open over other text on the screen. I ran the script to fix permissions and www-data is the owner in the twiki directory i.e. drwxr-xr-x 8 www-data www-data 4096 Feb 10 15:05 data

Twiki is installed to /var/www/twiki

I see no way to attach an image and the site is internal only.

-- TWiki Guest - 2018-02-10

Discussion and Answer

I was able to attach a screen shot after topic creation.

-- TWiki Guest - 2018-02-10

Also in LocalSite.cfg I have: $TWiki::cfg{PubDir} = '/var/www/twiki/pub'; In my apache config I have: Alias /pub "/var/www/twiki/pub" And <Directory "/var/www/twiki/pub"> Options None AllowOverride None Require all granted Deny from env=blockAccess

# Disable execusion of PHP scripts php_admin_flag engine off

# This line will redefine the mime type for the most common types of scripts AddType text/plain .shtml .php .php3 .phtml .phtm .pl .py .cgi

-- TWiki Guest - 2018-02-10

[Sat Feb 10 15:50:10.661853 2018] [cgi:error] [pid 27662] [client #.#.#.#:57672] AH02811: script not found or unable to stat: /var/www/twiki/bin/TWiki, referer:

-- TWiki Guest - 2018-02-10

OK found it!!! Went through the /var/www/twiki/lib/LocalSite.cfg 30 times and found

$TWiki::cfg{PubUrlPath} = '/do'; $TWiki::cfg{PubDir} = '/var/www/twiki/pub';

should be

$TWiki::cfg{PubUrlPath} = '/pub'; $TWiki::cfg{PubDir} = '/var/www/twiki/pub';

doh! and Doh!

But if one person can learn from my stupidity then it's all good.

-- TWiki Guest - 2018-02-10

      Change status to:
ALERT! 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.
Status Answered
Title after install all links look broken and menus do not work
SupportCategory CategoryInstallation
TWiki version 6.0.2
Server OS Debian 9
Web server Apache 2.4.25
Perl version 5.24.1
Browser & version All
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatPNG twiki.PNG r1 manage 83.9 K 2018-02-10 - 21:17 TWikiGuest Image of issue.
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2018-02-10 - TWikiGuest
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.