Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to setup for mythtv v0.28 #20

Closed
bennettpeter opened this issue Jul 16, 2016 · 3 comments
Closed

Unable to setup for mythtv v0.28 #20

bennettpeter opened this issue Jul 16, 2016 · 3 comments

Comments

@bennettpeter
Copy link

I am running Ubuntu xenial and mythtv v0.28, Following your installation instructions.

Packages php-5 do not exist, so I had to use php-7.0

sudo apt-get install git php7.0-cli php7.0-mysql php7.0-curl curl

Running ./sd-utility.php for the first time fails trying to read .mythtv/config.xml (the file does exist)

./sd-utility.php

Using production server.
Using timezone UTC
sd-utility.php utility program API:20141201 v0.28/2015-12-04
Using database information from ~/.mythtv/config.xml
PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_file() in /srv/storage/homexenial/peter/proj/github.com/SchedulesDirect/mfdb-json/functions.php:537
Stack trace:
#0 /srv/storage/homexenial/peter/proj/github.com/SchedulesDirect/mfdb-json/sd-utility.php(220): getLoginFromFiles()
#1 {main}

thrown in /srv/storage/homexenial/peter/proj/github.com/SchedulesDirect/mfdb-json/functions.php on line 537

If I put the actual database info into the command line I get another error.

./sd-utility.php --dbname=mythdbp28 --dbuser=mythp28 --dbpassword=mythtv

Using production server.
Using timezone UTC
sd-utility.php utility program API:20141201 v0.28/2015-12-04
Connecting to Schedules Direct database.
Got error connecting to database.
Code: 42S02
Message: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'schedulesdirect.settings' doesn't exist

I checked that the sd@localhost user id with password is able to connect to mysql, as was set up in the sd.sql

@MikeB2013
Copy link

For Mythbuntu/Ubuntu 16.04 the PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_file() error is resolved by sudo apt-get install php7.0-xml

Still getting the second error
Got error connecting to database.
Code: 42S02
Message: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'schedulesdirect.settings' doesn't exist

@bennettpeter
Copy link
Author

I recommend the Schedules Direct XMLTV grabbers instead. That is what I am using now. See https://www.mythtv.org/wiki/XMLTV#Schedules_Direct_Setup

@MikeB2013
Copy link

On 02/09/16 15:26, Peter Bennett wrote:

I recommend the Schedules Direct XMLTV grabbers instead. That is what
I am using now. See
https://www.mythtv.org/wiki/XMLTV#Schedules_Direct_Setup


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#20 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFSaJj1n-GY72tKNaOvwdB-HRpD1Q6YHks5qmDIVgaJpZM4JOFMY.

I have a test system setup, so I thought I would just give the mfdb-json
grabber a try.

Have been using tv_grab_sd_json since May 2016 on my "production" mythtv
system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants