Re: [tvdinner] Playing problem.
On Fri, 11 Mar 2005, Pablo Martinez wrote:
> What I think is happening is perl related. Back when I was attempting
> Apache 2, I had to upgrade, well, install the latest version of perl,
> 5.8. So now I have two versions of perl installed, 5.6 and 5.8. From
> what I have read this isnt a problem. If I do a perl -v 5.8 comes back.
> However when I compile TVDinner's config and install it, they get pushed
> to the 5.6 side of things, and i have to copy the *.pm's to the proper
> location in 5.8.
Hmmm...this I'm not sure of. There's probably a setting somewhere, not
sure. I'll see what I can dig up.
> Symptoms are as follows: Everything seems to navigate without
> incident. When I try to play something, I get a page cannot be
> displayed error message. The apache will freeze until i restart it.
> Thats all the info I can think to give, feel free to ask for more.
I think this is a bug I accidentally introduced in 0.5. The problem is
with the Mason $m->redirect -- I used to have my own. Well, when I made
the change to the new way of doing things, it stopped working. The
work-around: go back to the old way. Here's what you need to change:
In tools/play
Change the following:
# now do the redirect
$m->redirect($url);
to
$m->comp("$gConf->{interfaceroot}/tools/redirect", url=>$url);
There may be another place where the new redirect is used, I'll look or
you can grep for it.
HTH,
Sean
--
Sean Keplinger / Visit my Hiking/Backpacking and Projects
skeplin AT gmail DOT com / blog at:
http://spookyworld.dnsalias.com/