HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Help and support with third-party TV software.
Windows Media Center, J River Media Center, Next PVR, MythTV, InstaTV, etc.
Lunar
Posts: 14
Joined: Sun Mar 11, 2018 7:02 pm

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Postby Lunar » Sun Feb 03, 2019 8:29 pm

you need to make sure the http service can write the .css
i.e. make sure .../themes/default is writable by the http user on your system
Ok, so I've gotten some success by doing that, but still not 100% yet. Now the page is formatted correctly, but I'm still receiving the invalid status error as soon as the page loads. I'm not sure what I'm doing different this time from the last time I was running the UI. :cry:

This is what I'm seeing now.
https://i.imgur.com/jSNydfR.png

EDIT: Also, I've tried going back a couple of versions with the same results.

handyd
Posts: 210
Joined: Mon Mar 22, 2010 5:38 am
Device ID: 131092F3, 13122223, 13136631

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Postby handyd » Thu Feb 14, 2019 6:35 am

I ended up moving HDHR-DVRUI to a new computer. I was using a version of XAMPP with 514 and it worked. With the new computer, I couldn't get it work so I tried different versions of XAMPP with different version of HDHR-DVRUI and finally got XAMPP ver 7.1.26-0-VC14 working with HDHR-DVRUI Ver 063. I still have one issue. When I schedule a show to record, I get a pop up error:

192.168.0.75 says
Missing behavior or php-error:<br />
<b> Notice</b>: Undefined index: Version in <b>C:
\)(ampp\htdocs\HDHR63\includes\dvrui_hdhrjson.php</b> on line
<b>69</b br />
<br />
<b>Fatal error</b>: Uncaught ArgumentCountError: Too few
arguments to function DVRUI_Upcoming::DVRUI .UpcomingQ, 1
passed in C:\xampp\htdocs\HDHR63\search.php on line 70 and
exactly 2 expected in C:
\)(ampp\htdocs\HDHR63\includes\dvrui_upcoming.php:38
Stack trace:
#0 C:\)(ampp\htdocs\HDHR63\search.php(70): DVRUI_Upcoming&
gt;DVRUI_Upcoming(Object(DVRUI_HDHRjson))
lf1 C:\)(ampp\htdocs\HDHR63\TinyAjax.php(233):
createRuleFromSearchCJudge Judy', 'C184382ENVN01', ·o·. '30', '120',
",'null', 'nuW)
#2 C:\xampp\htdocs\HDHR63\index.php(S4): TinyAjax-&gt;processO
#3 {main)
thrown in <b>C:
\)(ampp\htdocs\HDHR63\includes\dvrui_upcoming.php </b > on line
<b>38</b><br />


If I try to use the latest version, I get this error when starting:
Fatal error: Uncaught Error: Undefined class constant 'DVRUI_DEBUG' in C:\xampp\htdocs\HDHR65\includes\dvrui_debug.php:8 Stack trace: #0 C:\xampp\htdocs\HDHR65\index.php(4): require_once() #1 {main} thrown in C:\xampp\htdocs\HDHR65\includes\dvrui_debug.php on line 8

Let me know if I can do anything.

Thanks.

Online
demonrik
Posts: 1033
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Postby demonrik » Sat Mar 09, 2019 8:30 am

First,
Apologies to @handyd and @lunar
I've been really busy at work, and all my free time that I dedicate to these has been focused on major updates to the DVR managers. Now done, so I get to focus on this for a little while.
192.168.0.75 says
Missing behavior or php-error:<br />
<b> Notice</b>: Undefined index: Version in <b>C:
\)(ampp\htdocs\HDHR63\includes\dvrui_hdhrjson.php</b> on line
<b>69</b br />
<br />
<b>Fatal error</b>: Uncaught ArgumentCountError: Too few
arguments to function DVRUI_Upcoming::DVRUI .UpcomingQ, 1
passed in C:\xampp\htdocs\HDHR63\search.php on line 70 and
exactly 2 expected in C:
\)(ampp\htdocs\HDHR63\includes\dvrui_upcoming.php:38
Stack trace:
#0 C:\)(ampp\htdocs\HDHR63\search.php(70): DVRUI_Upcoming&
gt;DVRUI_Upcoming(Object(DVRUI_HDHRjson))
lf1 C:\)(ampp\htdocs\HDHR63\TinyAjax.php(233):
createRuleFromSearchCJudge Judy', 'C184382ENVN01', ·o·. '30', '120',
",'null', 'nuW)
#2 C:\xampp\htdocs\HDHR63\index.php(S4): TinyAjax-&gt;processO
#3 {main)
thrown in <b>C:
\)(ampp\htdocs\HDHR63\includes\dvrui_upcoming.php </b > on line
<b>38</b><br />
This is the issues found by @airdrummer
Is fixed in the github, and will be in the next release
If I try to use the latest version, I get this error when starting:
Fatal error: Uncaught Error: Undefined class constant 'DVRUI_DEBUG' in C:\xampp\htdocs\HDHR65\includes\dvrui_debug.php:8 Stack trace: #0 C:\xampp\htdocs\HDHR65\index.php(4): require_once() #1 {main} thrown in C:\xampp\htdocs\HDHR65\includes\dvrui_debug.php on line 8
This is a strange one.
Can you check the vars.php file in your installed folder. It should have a line similar to

Code: Select all

const DVRUI_DEBUG = false;
If not - then something went wrong when it should have created that file :(
you need to make sure the http service can write the .css
i.e. make sure .../themes/default is writable by the http user on your system
Ok, so I've gotten some success by doing that, but still not 100% yet. Now the page is formatted correctly, but I'm still receiving the invalid status error as soon as the page loads. I'm not sure what I'm doing different this time from the last time I was running the UI. :cry:

This is what I'm seeing now.
https://i.imgur.com/jSNydfR.png

EDIT: Also, I've tried going back a couple of versions with the same results.
500 is basically the web server can't serve the requested resource (file or URL) to your browser.
So something is up with either permissions or bad install.
Make sure your webserver has read access to everything in the install folder
AND has write access to the themes folder
AND has ownership/write access of the themes/default/style.css

there are other possibilities such as external URLs being blocked..
try opening the diagnostics page directly
http://192.168.1.6/hdhr/diagnostics.php

FWIW - will be focusing on this for next few days to get all known fixes in, add container recipe, add list/tiles option on recordings, etc.

Ken.F
Posts: 2026
Joined: Fri Apr 05, 2013 9:20 am
Device ID: 1041A706, 1043EB32, 104BAD9E, 13168DC5, 1322A7AC
Location: West Rockhill, PA

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Postby Ken.F » Mon Mar 18, 2019 8:51 am

I noticed on version 0.6.4 the times in the recent recordings section of the dashboard are UTC instead of local. Local time is displayed in all other sections of the DVRUI.

Online
demonrik
Posts: 1033
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Postby demonrik » Wed Mar 20, 2019 1:52 pm

I noticed on version 0.6.4 the times in the recent recordings section of the dashboard are UTC instead of local. Local time is displayed in all other sections of the DVRUI.
strange - uses effectively same code..
Will look in to it.

handyd
Posts: 210
Joined: Mon Mar 22, 2010 5:38 am
Device ID: 131092F3, 13122223, 13136631

Re: HDHR-DVRUI - A PHP/Web Interface to your HDHR DVR Setup

Postby handyd » Fri Mar 22, 2019 7:44 am

"Can you check the vars.php file in your installed folder. It should have a line similar to
CODE: SELECT ALL

const DVRUI_DEBUG = false;
If not - then something went wrong when it should have created that file
"

Thank you.

I didn't have that line in my VARs file. I added it in and now 65 is working fine. I have been copying the vars file from previous installs since it included the correct time zone. I'll check the new VAR files from now on to make sure nothing else was added.


Return to “Third Party Software”

Who is online

Users browsing this forum: No registered users and 1 guest