Loading...
 
Skip to main content

Help URL's built incorrectly on tiki_admin.php pages

Status
Closed
Subject
Help URL's built incorrectly on tiki_admin.php pages
Version
2.x
Category
  • Error
  • Documentation (or Advocacy)
Feature
Administration
Help System
Admin Interface (UI)
Resolution status
Fixed or Solved
Submitted by
dthacker
Volunteered to solve
dthacker
Lastmod by
dthacker
Rating
(0)
Description

The URL's for the help buttons are not being built correctly. Users are unable to get help during the initial setup.

Tested on 1.10.0b1. To reproduce:
After a fresh install go to the Administration:Administration page
Click on the General icon.
Click on the help icon at the top of Administration General
The help URL will use the local host name instead of doc.tikiwiki.org

Other notes:
Help shows enabled on the features page (apparently enabled by default)
All pages reached through tiki-admin.php seem to have this problem


Solution

In 1.10, there is no need for a pref to be in the db to be loaded. If there is no value in the db, it will load it from the settings in lib/setup/prefs.php. The problem here is that the help_doclink function in tikihelplib.php is referencing the $helpurl, when it should in fact reference $prefs['helpurl'] (i.e. use the 1.10 prefs format).

Of course, there is a workaround by setting preferences format to support 1.9 legacy formats under Admin...General but we do want to test that pref formats are changed to 1.10 format...

Fix in tikihelplib.php

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1599
Created
Monday 03 March, 2008 06:20:53 UTC
by Unknown
LastModif
Wednesday 26 March, 2008 00:38:12 UTC


Show PHP error messages