Mailing List Archive

MythWEB issues
Using the lastest CVS'd MythWEB, I still have the following two issues:

- In MythWEB->Recorded_Programs, all of the lengths are "0 mins" and "Total
recording time: 0 mins" at the bottom.

- In MythWEB->Fix_Conflicts, picking a program to "Record" doesn't fix the
conflict, just refreshes the screen.

Anyone else seeing these or is it something I'm doing wrong?

Thanks,
Steve
Re: MythWEB issues [ In reply to ]
> Anyone else seeing these or is it something I'm doing wrong?

I haven't had any trouble with it.

-Chris
Re: MythWEB issues [ In reply to ]
On Sun, Jun 08, 2003 at 06:38:28PM -0500, Steve wrote:
> Using the lastest CVS'd MythWEB, I still have the following two issues:
>
> - In MythWEB->Recorded_Programs, all of the lengths are "0 mins" and "Total
> recording time: 0 mins" at the bottom.

i'm experiencing this right now. haven't had a chance to look at the code
as to why.

--

Kirby Vandivort Theoretical and Computational Biophysics
Email: kvandivo@ks.uiuc.edu 3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/ University of Illinois
Phone: (217) 244-5711 405 N. Mathews Ave
Fax : (217) 244-6078 Urbana, IL 61801, USA
Re: MythWEB issues [ In reply to ]
> i'm experiencing this right now. haven't had a chance to look at the code
> as to why.

like I said, it works fine for me. I'll make sure to be extra careful
to check the code during my rewrite. Let me know if you find anything.

-Chris
Re: MythWEB issues [ In reply to ]
functions.php.

Line 962..

return strtotime("$dom $mon $year $time");

needs to read

return strtotime("$dow $mon $year $time");



I've made this change and everything started working great on my web.


On Sun, Jun 08, 2003 at 06:15:17PM -0700, Chris Petersen wrote:
> > i'm experiencing this right now. haven't had a chance to look at the code
> > as to why.
>
> like I said, it works fine for me. I'll make sure to be extra careful
> to check the code during my rewrite. Let me know if you find anything.
>
> -Chris
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users

--

Kirby Vandivort Theoretical and Computational Biophysics
Email: kvandivo@ks.uiuc.edu 3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/ University of Illinois
Phone: (217) 244-5711 405 N. Mathews Ave
Fax : (217) 244-6078 Urbana, IL 61801, USA
Re: MythWEB issues [ In reply to ]
Works for me as well. Thanks!

Steve


On Sun, Jun 08, 2003 at 09:54:18PM -0500, Kirby Vandivort wrote:
> functions.php.
>
> Line 962..
>
> return strtotime("$dom $mon $year $time");
>
> needs to read
>
> return strtotime("$dow $mon $year $time");
>
>
>
> I've made this change and everything started working great on my web.
>
>
> On Sun, Jun 08, 2003 at 06:15:17PM -0700, Chris Petersen wrote:
> > > i'm experiencing this right now. haven't had a chance to look at the code
> > > as to why.
> >
> > like I said, it works fine for me. I'll make sure to be extra careful
> > to check the code during my rewrite. Let me know if you find anything.
> >
> > -Chris
Re: MythWEB issues [ In reply to ]
* Chris Petersen <lists@forevermore.net> [gmane.comp.tv.mythtv.user]:
>> Anyone else seeing these or is it something I'm doing wrong?
>
> I haven't had any trouble with it.

I started seeing this about a week or so ago, but it wasn't a change in
mythweb, it was right after an update of the mythtv cvs.
Re: MythWEB issues [ In reply to ]
----- Original Message -----
From: "Chris Petersen" <lists@forevermore.net>
To: "Discussion about mythtv" <mythtv-users@snowman.net>
Sent: Monday, June 09, 2003 11:15 AM
Subject: Re: [mythtv-users] MythWEB issues


> > i'm experiencing this right now. haven't had a chance to look at the
code
> > as to why.
>
> like I said, it works fine for me. I'll make sure to be extra careful
> to check the code during my rewrite. Let me know if you find anything.
>

I'm seeing this too, but since I don't understand the code that well, it's
kinda hard to fix.

Basically in recorded.php:

$recs[$t][11] and $recs[$t][12] return the start and endtimes. Somehow on my
system, the strings are coming back as 2003-06-09T14:00:00. I don't know
where the T comes from but it seems to be the root of the problem.

When this code executes:

$prog_end = getUnixTime($recs[$t][12]); // Get program end time
$prog_begin = getUnixTime($recs[$t][11]); // Get program begin time

It gets dodgy numbers (but all the same) back from getUnixTime and thats
where the length becomes 0 always.

MythWeb did originally work fine. It stopped with a CVS update about 2-3
weeks ago I think.

HTH
Christian
RE: MythWEB issues [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> $recs[$t][11] and $recs[$t][12] return the start and
> endtimes. Somehow on my
> system, the strings are coming back as 2003-06-09T14:00:00. I
> don't know
> where the T comes from but it seems to be the root of the problem.

That looks like an ISO-8601 formatted date / time string.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPuS4lvc1NpCTlP0JEQL0KgCfWK3bA3BT7vlJNXQp/D2L2E8JnOsAn0cM
dKI/2vXXhJBkjMGny6dRl/As
=dSxw
-----END PGP SIGNATURE-----
Re: MythWEB issues [ In reply to ]
This patch seems to fix the fix conflicts page. I took this information
from the PHP webpage on date. I know nearly no PHP, but worksforme.

James

Index: functions.php
===================================================================
RCS file: /var/lib/mythcvs/mythweb/functions.php,v
retrieving revision 1.16
diff -u -r1.16 functions.php
--- functions.php 10 Jun 2003 15:40:10 -0000 1.16
+++ functions.php 17 Jun 2003 00:19:44 -0000
@@ -998,7 +998,11 @@
}

function getUnixTime($mythtime) {
- return strtotime("$mythtime");
+ list($year,$month,$day,$hour,$minute,$second) =
split("[-:T\.]",$mythtime);
+ // TODO: if(($year < 100) and (strlen($year) == 4))
+ // then I shouldn't get the current century.
+ // Don't know how to pass this to strtotime.
+ return strtotime("$year-$month-$day $hour:$minute:$second");
}

function makeActive($chanid,$starttime,$endtime) {
@@ -1030,8 +1034,7 @@
}

function formatConflictTime($theTime) {
- $theTime = explode(" ",$theTime);
- $theTime = date("YmdHis",strtotime("$theTime[0], $theTime[1]
$theTime[2] $theTime[4] $theTime[3]","\n"));
+ $theTime = date("Y-m-d\TH:i:s",getUnixTime($theTime));
return $theTime;
}


On Monday, June 9, 2003, at 12:40 PM, Robert Kulagowski wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>> $recs[$t][11] and $recs[$t][12] return the start and
>> endtimes. Somehow on my
>> system, the strings are coming back as 2003-06-09T14:00:00. I
>> don't know
>> where the T comes from but it seems to be the root of the problem.
>
> That looks like an ISO-8601 formatted date / time string.
Re: MythWEB issues [ In reply to ]
On Monday 16 June 2003 08:21 pm, James Knight wrote:
> This patch seems to fix the fix conflicts page. I took this information
> from the PHP webpage on date. I know nearly no PHP, but worksforme.

see below..

> Index: functions.php
> ===================================================================
> RCS file: /var/lib/mythcvs/mythweb/functions.php,v
> retrieving revision 1.16
> diff -u -r1.16 functions.php
> --- functions.php 10 Jun 2003 15:40:10 -0000 1.16
> +++ functions.php 17 Jun 2003 00:19:44 -0000
> @@ -998,7 +998,11 @@
> }
>
> function getUnixTime($mythtime) {
> - return strtotime("$mythtime");
> + list($year,$month,$day,$hour,$minute,$second) =
> split("[-:T\.]",$mythtime);
> + // TODO: if(($year < 100) and (strlen($year) == 4))
> + // then I shouldn't get the current century.
> + // Don't know how to pass this to strtotime.
> + return strtotime("$year-$month-$day $hour:$minute:$second");
> }

Is this bit necessary? At least here, strtotime seems to understand the ISO
date format.. Not that I know anything about php, but =)

Isaac
Re: MythWEB issues [ In reply to ]
> Is this bit necessary? At least here, strtotime seems to understand the ISO
> date format.. Not that I know anything about php, but =)

my (the new) copy of mythweb gets rid of pretty much all of these
routines, replacing everything with php-friendly time variables
(unixtime/seconds since epoch). It cleans up a bunch of the code, and
allows theme makers to just use php's date() function to display the
time/date however they want. MySQL has FROM_UNIXTIME() routines for
handling queries.

anyway, just an fyi.

-Chris

ps. doubt I'll get much work done on mythweb this week. working 11-12
hour days at work to catch up on things (sucky that contractors don't
get time and a half, but at least I get extra hours)..
Re: MythWEB issues [ In reply to ]
On Mon, Jun 16, 2003 at 08:21:20PM -0400, James Knight wrote:
> This patch seems to fix the fix conflicts page. I took this information
> from the PHP webpage on date. I know nearly no PHP, but worksforme.
>
> James
[..]

Works for me -- thank you!

Steve
Re: MythWEB issues [ In reply to ]
On Monday, June 16, 2003, at 08:43 PM, Isaac Richards wrote:

> On Monday 16 June 2003 08:21 pm, James Knight wrote:
>> This patch seems to fix the fix conflicts page. I took this
>> information
>> from the PHP webpage on date. I know nearly no PHP, but worksforme.
>
> Is this bit necessary? At least here, strtotime seems to understand
> the ISO
> date format.. Not that I know anything about php, but =)

Here it seemed to work on first glance but looking closer it doesn't.

See test program:
<?PHP

$orig = "2003-10-02T11:30:45";
$unixtime = strtotime($orig);
$new = date("Y-m-d\TH:i:s", $unixtime);
print "$orig = $unixtime = $new\n";
?>
It outputs the following for me:
2003-10-02T11:30:45 = 1065069045 = 2003-10-02T00:30:45

Note the subtle difference of 00:30:45 vs. 11:30:45. Maybe it actually
does work for you, though..

James
Re: mythweb issues [ In reply to ]
On Sat, 2007-03-03 at 02:09 -0500, Jared Greenwald wrote:
> My recordings are placed in /myth/dvds:
>
> $ ls -ld /myth/dvds/
> drwxrwxr-x 3 mythtv www-data 4096 2007-02-25 08:40 /myth/dvds/
> $ ls -l /myth/dvds/
> total 36393288
> -rwxrwxrwx 1 mythtv www-data 6956677120 2007-02-23 12:56
> BABEL_DOMESTIC.vob
> -rwxrwxrwx 1 mythtv www-data 4491030528 2007-02-23 13:44
> CN30NNW1.vob
> drwxrwxrwx 3 mythtv www-data 16 2007-02-23 16:35
> MAN_OF_THE_YEAR
> -rwxrwxrwx 1 mythtv www-data 6741344256 2007-02-23 17:37
> MAN_OF_THE_YEAR.vob
> -rwxrwxrwx 1 mythtv www-data 30331 2007-02-26 10:02 mtd.log
> ...

Why are those all marked executable and write-able by "other"? I think
I would cd into that directory and run:

find -type f -exec chmod u=rw,go=r \{\} \;
find -type d -exec chmod u=rwx,go=rx \{\} \;

... and also perhaps:

chmod g+s .

... so that new files there are owned by group "www-data". You may also
need to set the 'umask' for the "mythtv" user such that the files
created are group readable... The 'umask' is probably already set that
way, but check it after ripping the next DVD to be sure.

> I put in a link from /usr/share/mythtv/mythweb/data/videos
> -> /myth/dvds
>
> I can see all of the video information in the mythweb video screen,
> but when I try click on one of the movies to play it in a browser, I
> get a permission denied error message.

Please post one of the failing URL's that MythWeb presents. (In
Firefox, you can right-click on the link and select copy location to put
the URL into the clipboard for pasting into email.)

>
> Has anyone else run into this previously? Am I missing something?

I think it is related to directory/file permissions and/or your Apache
configuration. Make sure that the URL points to a file system location
that Apache knows about and that the per directory and per location
configuration in Apache are right for that. Perhaps you need it to
"Options FollowSymlinks"?

--
Karl Hegbloom <karlheg@gmail.com>

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: mythweb issues [ In reply to ]
On 3/4/07, Karl Hegbloom <karlheg@gmail.com> wrote:
>
> On Sat, 2007-03-03 at 02:09 -0500, Jared Greenwald wrote:
> > My recordings are placed in /myth/dvds:
> >
> > $ ls -ld /myth/dvds/
> > drwxrwxr-x 3 mythtv www-data 4096 2007-02-25 08:40 /myth/dvds/
> > $ ls -l /myth/dvds/
> > total 36393288
> > -rwxrwxrwx 1 mythtv www-data 6956677120 2007-02-23 12:56
> > BABEL_DOMESTIC.vob
> > -rwxrwxrwx 1 mythtv www-data 4491030528 2007-02-23 13:44
> > CN30NNW1.vob
> > drwxrwxrwx 3 mythtv www-data 16 2007-02-23 16:35
> > MAN_OF_THE_YEAR
> > -rwxrwxrwx 1 mythtv www-data 6741344256 2007-02-23 17:37
> > MAN_OF_THE_YEAR.vob
> > -rwxrwxrwx 1 mythtv www-data 30331 2007-02-26 10:02 mtd.log
> > ...
>
> Why are those all marked executable and write-able by "other"? I think
> I would cd into that directory and run:
>
> find -type f -exec chmod u=rw,go=r \{\} \;
> find -type d -exec chmod u=rwx,go=rx \{\} \;
>
> ... and also perhaps:
>
> chmod g+s .
>
> ... so that new files there are owned by group "www-data". You may also
> need to set the 'umask' for the "mythtv" user such that the files
> created are group readable... The 'umask' is probably already set that
> way, but check it after ripping the next DVD to be sure.



Ok, tried but it didn't have much affect.

> I put in a link from /usr/share/mythtv/mythweb/data/videos
> > -> /myth/dvds
> >
> > I can see all of the video information in the mythweb video screen,
> > but when I try click on one of the movies to play it in a browser, I
> > get a permission denied error message.
>
> Please post one of the failing URL's that MythWeb presents. (In
> Firefox, you can right-click on the link and select copy location to put
> the URL into the clipboard for pasting into email.)


http://mythbackend/mythweb/data/video/SNOW_WHITE.vob

The error I get is: You don't have permission to access
/mythweb/data/video/SNOW_WHITE.vob on this server.


>
> > Has anyone else run into this previously? Am I missing something?
>
> I think it is related to directory/file permissions and/or your Apache
> configuration. Make sure that the URL points to a file system location
> that Apache knows about and that the per directory and per location
> configuration in Apache are right for that. Perhaps you need it to
> "Options FollowSymlinks"?



I tried adding this too, but it doesn't seem to have had any affect.

--
> Karl Hegbloom <karlheg@gmail.com>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Re: Mythweb issues [ In reply to ]
On 9/14/07, Daniel Westendorf <dwestendorf@scottusa.com> wrote:

> When I search for something like "boise state" I get a response without
> any errors. This made me think that PHP just didn't have enough memory,
> so I bumped up my php.ini memory limit to 512MB and I still get the
> error. Any ideas?

Did you make sure to restart your webserver after bumping the memory
limit value?

> Also, mythweather doesn't work through the Mythweb interface. It works
> fine through the Mythtv frontend. Is mythweather still broken when used
> with mythweb? Attached is a screen shot of what I get when I click on
> Mythweather through the browser.

I wrote a patch for MythWeb that fixes this. It works for me:
http://svn.mythtv.org/trac/ticket/3834

--
Joe Ripley
vitaminjoe@gmail.com
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Mythweb issues [ In reply to ]
Thanks for the patch Joe!

Yeah, I restarted Apache after making the change, but still no dice. Any
other ideas?


Daniel Westendorf



-----Original Message-----
From: Joe Ripley <vitaminjoe@gmail.com>
To: Daniel Westendorf <dwestendorf@scottusa.com>, Discussion about
mythtv <mythtv-users@mythtv.org>
Subject: Re: [mythtv-users] Mythweb issues
Date: Fri, 14 Sep 2007 11:53:23 -0600



On 9/14/07, Daniel Westendorf <dwestendorf@scottusa.com> wrote:

> When I search for something like "boise state" I get a response
without
> any errors. This made me think that PHP just didn't have enough
memory,
> so I bumped up my php.ini memory limit to 512MB and I still get the
> error. Any ideas?

Did you make sure to restart your webserver after bumping the memory
limit value?

> Also, mythweather doesn't work through the Mythweb interface. It works
> fine through the Mythtv frontend. Is mythweather still broken when
used
> with mythweb? Attached is a screen shot of what I get when I click on
> Mythweather through the browser.

I wrote a patch for MythWeb that fixes this. It works for me:
http://svn.mythtv.org/trac/ticket/3834

--
Joe Ripley
vitaminjoe@gmail.com


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Mythweb issues [ In reply to ]
On 9/14/07, Daniel Westendorf <dwestendorf@scottusa.com> wrote:
> Thanks for the patch Joe!
>
> Yeah, I restarted Apache after making the change, but still no dice. Any
> other ideas?

Hmm... did the error output change? Does it still reference the
'33554432' value as the memory limit?

I added a screenshot to the mythweather ticket to give you an idea as
to what it looks like when it's working.

--
Joe Ripley
vitaminjoe@gmail.com
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Mythweb issues [ In reply to ]
---- Original Message ----
> From: Daniel Westendorf <dwestendorf@scottusa.com>
> Thanks for the patch Joe!
>
> Yeah, I restarted Apache after making the change, but still no
> dice.
>
Any
> other ideas?
>
I had that same problem a few days ago, running a query that returned a
lot of results.
The php.ini change did not help because it was overwritten by a setting
in .htaccess

So I just edited the vaule in mythweb/.htaccess
And then restarted httpd. (not sure if it was required, but I thought
it could not hurt)

I tested it searching for "the" and it failed with 64M but worked with
512M.

Vincent
>
> Daniel Westendorf
>
> -----Original Message-----
> From: Joe Ripley
>
>
> On 9/14/07, Daniel Westendorf wrote:
>
> > When I search for something like "boise state" I get a response
> without
> > any errors. This made me think that PHP just didn't have enough
> memory,
> > so I bumped up my php.ini memory limit to 512MB and I still get the
> > error. Any ideas?
>
> Did you make sure to restart your webserver after bumping the memory
> limit value?
>
>
> --
> Joe Ripley


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Mythweb issues [ In reply to ]
I didn't play real close attention, so maybe. Still 512 MB for PHP is an
insane amount.... I will change it again and check to see if the number
changes....


Daniel Westendorf



-----Original Message-----
From: Joe Ripley <vitaminjoe@gmail.com>
To: Daniel Westendorf <dwestendorf@scottusa.com>, Discussion about
mythtv <mythtv-users@mythtv.org>
Subject: Re: [mythtv-users] Mythweb issues
Date: Fri, 14 Sep 2007 12:22:30 -0600



On 9/14/07, Daniel Westendorf <dwestendorf@scottusa.com> wrote:
> Thanks for the patch Joe!
>
> Yeah, I restarted Apache after making the change, but still no dice.
Any
> other ideas?

Hmm... did the error output change? Does it still reference the
'33554432' value as the memory limit?

I've attached a screenshot of the patched MythWeather on my mythweb
setup, just for fun. :)

--
Joe Ripley
vitaminjoe@gmail.com


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Mythweb issues [ In reply to ]
On 9/14/07, Vincent Jorrand <vjorrand@yahoo.com> wrote:

> I had that same problem a few days ago, running a query that returned a
> lot of results.
> The php.ini change did not help because it was overwritten by a setting
> in .htaccess
>
> So I just edited the vaule in mythweb/.htaccess
> And then restarted httpd. (not sure if it was required, but I thought
> it could not hurt)
>
> I tested it searching for "the" and it failed with 64M but worked with
> 512M.

Thanks for pointing that out Vincent! I didn't even realize. If
you're using the newer SVN release of Mythweb, the PHP directives are
in the Apache mythweb.conf.apache file. You will need to change the
line that reads:

php_value memory_limit 32M

Changing the web server's default 'php.ini' file will not affect
Mythweb if you have it configured this way.

--
Joe Ripley
vitaminjoe@gmail.com
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Mythweb issues [ In reply to ]
Cool, I will look into that. Thanks.


Daniel Westendorf



-----Original Message-----
From: Vincent Jorrand <vjorrand@yahoo.com>
To: Discussion about mythtv <mythtv-users@mythtv.org>
Subject: Re: [mythtv-users] Mythweb issues
Date: Fri, 14 Sep 2007 12:50:02 -0600



---- Original Message ----
> From: Daniel Westendorf <dwestendorf@scottusa.com>
> Thanks for the patch Joe!
>
> Yeah, I restarted Apache after making the change, but still no
> dice.
>
Any
> other ideas?
>
I had that same problem a few days ago, running a query that returned a
lot of results.
The php.ini change did not help because it was overwritten by a setting
in .htaccess

So I just edited the vaule in mythweb/.htaccess
And then restarted httpd. (not sure if it was required, but I thought
it could not hurt)

I tested it searching for "the" and it failed with 64M but worked with
512M.

Vincent
>
> Daniel Westendorf
>
> -----Original Message-----
> From: Joe Ripley
>
>
> On 9/14/07, Daniel Westendorf wrote:
>
> > When I search for something like "boise state" I get a response
> without
> > any errors. This made me think that PHP just didn't have enough
> memory,
> > so I bumped up my php.ini memory limit to 512MB and I still get the
> > error. Any ideas?
>
> Did you make sure to restart your webserver after bumping the memory
> limit value?
>
>
> --
> Joe Ripley


_______________________________________________
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: Mythweb issues [ In reply to ]
This was it! Thanks for the help guys!


-----Original Message-----
From: mythtv-users-bounces@mythtv.org on behalf of Vincent Jorrand
Sent: Fri 9/14/2007 12:50 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] Mythweb issues

---- Original Message ----
> From: Daniel Westendorf <dwestendorf@scottusa.com>
> Thanks for the patch Joe!
>
> Yeah, I restarted Apache after making the change, but still no
> dice.
>
Any
> other ideas?
>
I had that same problem a few days ago, running a query that returned a
lot of results.
The php.ini change did not help because it was overwritten by a setting
in .htaccess

So I just edited the vaule in mythweb/.htaccess
And then restarted httpd. (not sure if it was required, but I thought
it could not hurt)

I tested it searching for "the" and it failed with 64M but worked with
512M.

Vincent
>
> Daniel Westendorf
>
> -----Original Message-----
> From: Joe Ripley
>
>
> On 9/14/07, Daniel Westendorf wrote:
>
> > When I search for something like "boise state" I get a response
> without
> > any errors. This made me think that PHP just didn't have enough
> memory,
> > so I bumped up my php.ini memory limit to 512MB and I still get the
> > error. Any ideas?
>
> Did you make sure to restart your webserver after bumping the memory
> limit value?
>
>
> --
> Joe Ripley


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: Mythweb issues [ In reply to ]
On Jan 24, 2008 11:17 AM, Mitch Gore <mitchell.gore@gmail.com> wrote:
> Hi,
>
> I just rebuilt my system on a new drive. I backed-up up my database and put
> it back in mysql. I installed atrpms-bleeding packages. When i start
> mythbackend I can see it working just fine. But when hitting mythweb i get
> this:
>
> The database environment variables are not correctly set in the
> webserver conf or .htaccess file. Please read through the comments
> included in the file and set up the db_* environment variables correctly.
>
> Some possible solutions are to make sure that mod_env is enabled
> in httpd.conf, as well as having followed the instructions in the
> README and INSTALL files.

Make sure that you have the following lines in your Apache's virtual
host configuration for mythweb:

setenv db_server "localhost"
setenv db_name "mythconverg"
setenv db_login "mythtv"
setenv db_password "mythtv"

( http://svn.mythtv.org/trac/browser/trunk/mythplugins/mythweb/mythweb.conf.apache#L60
)

> Also when i got to my local IP/mythweb i get a directory listing instead of
> viewing mythweb.php . Is php not enabled somehow?

You have to make sure that the '.php' extension has a handler set up.
(i.e. AddType application/x-httpd-php .php)

--
Joe Ripley
vitaminjoe@gmail.com
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

1 2  View All