tranlm / mythtv-for-iphone

Automatically exported from code.google.com/p/mythtv-for-iphone
0 stars 0 forks source link

Undefined variable #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Play button never maifests
2.
3.

What is the expected output? What do you see instead?
Play button appears

What version of the product are you using? On what operating system?
v0.04

Please provide any additional information below.

I have plenty of files converted.

Not sure what to check next.

# file /storage/recordings/*.mp4
/storage/recordings/1002_20080728203000.mpg.mp4: ISO Media, MPEG v4 system,
version 1
/storage/recordings/1055_20080724220100.mpg.mp4: ISO Media, MPEG v4 system,
version 1
/storage/recordings/1055_20080730190000.mpg.mp4: ISO Media, MPEG v4 system,
version 1
/storage/recordings/1055_20080731190000.mpg.mp4: ISO Media, MPEG v4 system,
version 1
/storage/recordings/1055_20080731200000.mpg.mp4: ISO Media, MPEG v4 system,
version 1
/storage/recordings/1055_20080731210000.mpg.mp4: ISO Media, MPEG v4 system,
version 1
/storage/recordings/1055_20080731220000.mpg.mp4: ISO Media, MPEG v4 system,
version 1
/storage/recordings/1059_20080320190000.mpg.mp4: ISO Media, MPEG v4 system,
version 1

Original issue reported on code.google.com by pod...@gmail.com on 1 Aug 2008 at 11:46

GoogleCodeExporter commented 8 years ago
Just wanted to add a note.
apache logs are clean, no errors.

[Fri Aug 01 19:37:42 2008] [error] [client 70.181.54.132] PHP Notice:  Undefined
variable: p_version in /var/www/html/mythiphone/index.php on line 71
[Fri Aug 01 19:37:42 2008] [error] [client 70.181.54.132] PHP Notice:  Undefined
variable: defined_vars in /var/www/html/mythiphone/i_functions.php on line 159

I did have an error in the apache log, but after changing "$g_check_for_updates 
=
true;" to "$g_check_for_updates = false;" in file i_settings.php the error 
disappeared.

Original comment by pod...@gmail.com on 1 Aug 2008 at 11:56

GoogleCodeExporter commented 8 years ago
So I think I figured out my problem, although i don't know how to fix it.

My site is password secured, and that doesn't work with this.

<Directory />
    Options FollowSymLinks
    AllowOverride None
    AuthType Basic
    AuthName "MythWeb"
    AuthUserFile /etc/httpd/mythweb-passwords
    require user mythtv 
    Order allow,deny
</Directory>

Original comment by pod...@gmail.com on 2 Aug 2008 at 4:18

GoogleCodeExporter commented 8 years ago
I think the issue is with these lines in index.php

        // Check for updates
        if ($g_check_for_updates != false) { $current_version =
doCheckVersion($p_version);

I don't think p_version is set

Original comment by lucius%a...@gtempaccount.com on 4 Aug 2009 at 10:24