Loading...
 
Skip to main content

Missing update in SEFURL REGEX table (in file tiki.sql); maybe more

Status
Open
Subject
Missing update in SEFURL REGEX table (in file tiki.sql); maybe more
Version
17.x
18.x
Category
  • Consistency
Feature
Search Engine Friendly URLs (SEFURLs)
User Menu
Resolution status
New
Submitted by
RandyH
Lastmod by
RandyH
Rating
(0)
Description

Verified in the latest 17.1.7 release. Could not get demo site or show instances to run so not sure there. Verified still in SVN trunk and on branch 18.x (in file tiki.sql)

The menu item "File Galleries" and its first entry "List File Galleries" does not SEF URL rewrite to "files". Using the SEF "files" does not work either.

It appears the tiki.sql file, in line 3335, has the entry for SEFURL rewrite of "files" set to 'tike-file_galleries.php' which no longer exists. The menu entry simply has 'tiki-list_file_gallery.php' without any parameter; which is what seems to work and is what the URL appears as when listing all user galleries. Just changing the table entry in the DB of an active system does get the SEF URL output rewrite to work (so the the /files appears instead of the PHP file reference). After making the change in the DB table, selecting via the menu errors back to the site HomePage (or similar) so likely something else needs to be fixed; not just the table entry (and tiki.sql entry). Checked the secDB menu tables and the template files; all seemed already changed as well (from what my naive eyes to the code can see).

Longer term, especially since image galleries are deprecated, would be nice to change the SEF URL rewrite for the general galleries page to something more recognizable than "files". Especially since hierarchical galleries are allowed. Maybe "dirs", "directories", "folders", or "galleries" (if really gone) is appropriate. But I guess I should submit a "wish" instead of cluttering up this focused bug report 😊

(note: ShowTiki still not working. Get error on startup of missing third party extensions)

Workaround
None. SEF URL on Files simply does not work.
Importance
3
Easy to solve?
8
Priority
24
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
6539
Created
Wednesday 17 January, 2018 02:24:37 UTC
by RandyH
LastModif
Sunday 07 October, 2018 14:39:18 UTC


Collapse/expand modules below
Show PHP error messages