[mythtv-users] alt lightweight web servers for MythTV?
George Nassas
gnassas at mac.com
Thu Apr 16 13:18:32 UTC 2015
On Apr 16, 2015, at 1:06 AM, James Miller <gajs-f0el at dea.spamcon.org> wrote:
>
> <b>Fatal error</b>: Call to a member function query_col() on a non-object in <b>/var/www/localhost/htdocs/mythweb/includes/utils.php</b> on line <b>59</b><br />
>
> Any ideas on what that might mean? Seems I'm getting closer to success, at any rate.
Argh! Back to square one, hopefully for a different reason. It’s not clear why the db connection still isn’t being made so lets try that test.php with:
<?php
mysql_connect('localhost', 'mythtv', 'mythtv') or die('Could not connect: ' . mysql_error());
mysql_select_db('mythconverg') or die('Could not select database');
?>
and curl http://localhost/test.php <http://localhost/test.php>. It could be the various versions aren’t matching up so you could create a info.php:
<?php
echo phpinfo();
?>
and curl that. You may be able to browse to it from a desktop machine too. The output is huge and html so I’d put it in pastebin.com <http://pastebin.com/> instead of attaching to an email.
I agree you’re close, it’s just this strange php/mysql part that’s failing, I think everything else has been tested and works.
- George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150416/afa2b612/attachment.html>
More information about the mythtv-users
mailing list