[mythtv-users] Re: Please help me get sorting working properly in Mythweb

Nick knowledgejunkie at gmail.com
Fri Dec 16 03:47:37 EST 2005


On 16/12/05, Nick <knowledgejunkie at gmail.com> wrote:
> At a loss as to what else I need to configure to get sorting working
> on _all_ mythweb pages that support it. Sorting works correctly on the
> Recording Schedules, Scheduled Recordings, and Recorded Programs pages
> (although there appears to be no option for ascending/descending
> sorting) but DOES NOT work on either the canned searches (e.g. movies)
> or program searching  (I've seen several posts on this configuration
> issue on Gossamer, the closed ticket on TRAC, and I've read the
> mythweb README.)
>
> My config (hostname is pvr, using hosts until I get a local DNS sorted):
>
> Apache:
>
> ServerName pvr:80
> UseCanonicalName On

* for the archives *

I seem to have gotten to the bottom of this problem overnight - and it
revolves around using a non-DNS name for my server - one that is only
specified in my hosts file (it is still accessible over my network by
hostname and Apache still seemed to run properly...)

I'd figured using an accessible hostname was enough for this to work,
but it wasn't (even though phpMyAdmin had no trouble setting cookies
when setup this way) As soon as I set Apache to use the IP of the box,
mythweb started setting cookies normally and searches were sortable
<grin>

Confusingly, the Apache config file states "If your host doesn't have
a registered DNS name, enter its IP address here. You will have to
access it by its address anyway" I was happily accessing the server by
hostname without issue until I noticed the issue sorting in mythweb,
but at least now I understand why it was failing. (Better get that DNS
sorted over Christmas...)

The mythweb config.php comments states "set this to the name or IP you
use to access this server" when defining server_domain, but I imagine
this should explicitly state DNS name, as using my hosts name still
failed, even though I use this to access the server without issue.

If anyone out there reads this - why does mythweb have an issue whilst
phpMyAdmin didn't? In my limited understanding of the server setup,
both are using Apache and PHP to operate - I'd have thought either
both would work, or both would fail.

Nick


More information about the mythtv-users mailing list