Opened 15 years ago

Closed 15 years ago

#6914 closed defect (fixed)

Mythweb: Header sorting links are broken

Reported by: owen <manicmoose@…> Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

Using latest trunk (SVN: 21521) The sort header fields resolve to the wrong url, dropping the 'mythweb' prefix.

eg. If I use Mythweb to view my current recordings, the link is: http://servername/mythweb/tv/recorded

If I click on the "airdate" header to sort by that field, the link is now: http://servername/tv/recorded?sortby=airdate

...which leads to a 404.

It should be (and until about a month ago used to be): http://servername/mythweb/tv/recorded?sortby=airdate

The same occurs on the other mythweb pages (eg. upcoming recordings)

Change History (4)

comment:1 Changed 15 years ago by Nick Morrott <knowledgejunkie (at) gmail (dot) com>

comment:2 Changed 15 years ago by anonymous

I can confirm this for streaming as well.

If mythweb is installed to $DOCROOT/mythweb you'll get errors like this File does not exist: /srv/httpd/htdocs/pl/stream/1027/1251270000.flv

If mythweb is installed to $DOCROOT/ everything works as expected.

comment:3 in reply to:  1 Changed 15 years ago by anonymous

Replying to Nick Morrott <knowledgejunkie (at) gmail (dot) com>:

Is it related to this change?

http://svn.mythtv.org/trac/changeset/21099/trunk/mythplugins/mythweb/includes/sorting.php

I believe that it is....thanks, Nick.

Now I just need to figure out the best way to work around it, given that ReWriteBase? doesn't seem to be working...

comment:4 Changed 15 years ago by Rob Smith

Resolution: fixed
Status: newclosed

(In [21529]) Fixes #6914, this fixes the sort headers to honor the base href. This has nothing to do with rewrite base being broken.

Note: See TracTickets for help on using tickets.