Re: [mythtv-users] mythweb error in program_listing.php

2005-07-06 Thread Johan Reinalda

Well,
do I feel pretty stupid. Turn out in /mythweb/settings_mythweb.php, there is 
a checkbox for 'only display favorites'. Unchecking this fixed the issue.


However, this should probably be fixed in the code...

Johan

- Original Message - 
From: "Johan Reinalda" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, July 06, 2005 4:06 PM
Subject: [mythtv-users] mythweb error in program_listing.php



All,
after I used mythweb to delete a channel, I now get the following error 
when starting to browse at /mythweb/ :


Fatal Error at /var/www/html/mythweb/includes/programs.php, line 107:
load_all_program_data() attempted with an empty $Channels array


I've gotten as far as figuring out that this is related to loading the 
channel list in load_all_channels() in line 42 of program_listings.php. 
This function is defined in channels.php, and is returning an empty set.


What I don't understand is why this is happening. This function does one 
of two things, either it loads  the I have list of favorite channels, or 
all channels from the database. As I have never set favorites, this is 
empty, but the second case should return a set.


When I hit other pages directly (by typing the url in, eg 
/mythweb/recording_schedules.php), this still works fine.


Any suggestions on how to fix this?

Thanks,

Johan

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users 


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] MythWeb Error

2005-01-26 Thread Tom E. Craddock, Jr.
Stephen Tait wrote:
At 04:33 26/01/2005 -0500, you wrote:
So...I know im some kinda idiot, just not sure which kind.  I just 
cannot get any tbn to show up in MythWeb when I go to the Recorded 
Programs page.  I get the following

*Warning* at /var/www/html/includes/mythbackend.php, line 269:
copy(image_cache/1007_2005012522_2005012523.nuv.png): failed 
to open stream: Permission denied

Ive searched thru the mailing list and made sure that any errors 
others have had with this arent what Im getting.  Ive made sure that 
apache/apache is the one running the web server.  Ive made a symlink 
in the www/html dir to the dir that holds my recorded shows, but 
still no go.  Anyone have any tips, hints, or old posts that I missed 
that would be helpful?

Remember apache will need write access to the *true* path the images 
live in. So if the symlink goes /var/www/mythweb/tvstore -> /mnt/tv 
you'll need to ensure it has write permissions to /mnt/tv as well as 
to the symlink.


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
 

Yeah, it was the r/w access for apache to the sym link.  Thanks all, 
appreciate the time. 

Tom
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] MythWeb Error

2005-01-26 Thread Andy Whitworth
Have you tried allowing full access to your video directory ?

chmod a+rwx 

The error reported is a permissions one i.e. the file being referenced
exists but the permissions are not set correctly.

Andy.


On Wed, 26 Jan 2005 04:33:42 -0500, Tom E. Craddock, Jr.
<[EMAIL PROTECTED]> wrote:
> So...I know im some kinda idiot, just not sure which kind.  I just
> cannot get any tbn to show up in MythWeb when I go to the Recorded
> Programs page.  I get the following
> 
> *Warning* at /var/www/html/includes/mythbackend.php, line 269:
> copy(image_cache/1007_2005012522_2005012523.nuv.png): failed to
> open stream: Permission denied
> 
> Ive searched thru the mailing list and made sure that any errors others
> have had with this arent what Im getting.  Ive made sure that
> apache/apache is the one running the web server.  Ive made a symlink in
> the www/html dir to the dir that holds my recorded shows, but still no
> go.  Anyone have any tips, hints, or old posts that I missed that would
> be helpful?
> 
> Tom
> ___
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] MythWeb Error

2005-01-26 Thread Stephen Tait
At 04:33 26/01/2005 -0500, you wrote:
So...I know im some kinda idiot, just not sure which kind.  I just cannot 
get any tbn to show up in MythWeb when I go to the Recorded Programs 
page.  I get the following

*Warning* at /var/www/html/includes/mythbackend.php, line 269:
copy(image_cache/1007_2005012522_2005012523.nuv.png): failed to 
open stream: Permission denied

Ive searched thru the mailing list and made sure that any errors others 
have had with this arent what Im getting.  Ive made sure that 
apache/apache is the one running the web server.  Ive made a symlink in 
the www/html dir to the dir that holds my recorded shows, but still no 
go.  Anyone have any tips, hints, or old posts that I missed that would be 
helpful?
Remember apache will need write access to the *true* path the images live 
in. So if the symlink goes /var/www/mythweb/tvstore -> /mnt/tv you'll need 
to ensure it has write permissions to /mnt/tv as well as to the symlink. 

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] MythWeb Error

2005-01-26 Thread Tom Hughes
In message <[EMAIL PROTECTED]>
Tom E. Craddock, Jr. <[EMAIL PROTECTED]> wrote:

> So...I know im some kinda idiot, just not sure which kind.  I just
> cannot get any tbn to show up in MythWeb when I go to the Recorded
> Programs page.  I get the following
>
> *Warning* at /var/www/html/includes/mythbackend.php, line 269:
> copy(image_cache/1007_2005012522_2005012523.nuv.png): failed
> to open stream: Permission denied
>
> Ive searched thru the mailing list and made sure that any errors
> others have had with this arent what Im getting.  Ive made sure that
> apache/apache is the one running the web server.  Ive made a symlink
> in the www/html dir to the dir that holds my recorded shows, but still
> no go.  Anyone have any tips, hints, or old posts that I missed that
> would be helpful?

First question - does apache/apache have search permission to that
directory and read permission to that file.

Second question - are you running FC3 or something else that has
selinux enabled. If so then try turning it off.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] mythweb error

2004-12-01 Thread Craig Tinson
Chris Petersen wrote:
Just checked into this further.. the sql is wrong.. 'record' is not 
in the "from" part of the sql clause..

I have a patch to fix this.  Looks like whoever sent the recording 
group patch put his mods into the wrong part of teh query.  Will try 
to apply it tonight after finishing up with some translation-related 
stuff.

ok.. thanks :)
Craig
___
mythtv-users mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] mythweb error

2004-11-30 Thread Chris Petersen
Just checked into this further.. the sql is wrong.. 'record' is not in 
the "from" part of the sql clause..
I have a patch to fix this.  Looks like whoever sent the recording group 
patch put his mods into the wrong part of teh query.  Will try to apply 
it tonight after finishing up with some translation-related stuff.

-Chris
___
mythtv-users mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] mythweb error

2004-11-30 Thread Craig Tinson
Craig Tinson wrote:
-
*Fatal Error* at /var/www/html/mythweb/includes/programs.php, line 183:
SQL Error: Unknown table 'record' in field list
-
Just checked into this further.. the sql is wrong.. 'record' is not in 
the "from" part of the sql clause..

HTH someone :)
Craig
___
mythtv-users mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users