[mythtv] MythWeb problems

Ken VanDine ken at bizrace.com
Wed Jan 29 20:53:05 EST 2003


You need to enable short tags in your php.ini file. Look for the line like this:

short_open_tag = Off

Change that to On and restart apache.  Actually, it would be cleaner to change
all "<?" to "<?php".

--Ken

Quoting Jonathan Roberts <mythtv at brycheiniog.com>:

> Hi,
> I have just got mythweb 0.7 up and running, and the main webpage works 
> fine displaying listings, but when I click on a program to try and 
> record it, I get a load of code dumped out in the browser.
> 
> eg
> 
> "); print("
> "); print(""); print(""); // // If it's a movie, add an IMDB button // 
> if(smellsLikeMovie($aRow[7], $aRow[6])) { print(""); } 
> if(strlen($aRow[6]) > 0) print(""); if(strlen($aRow[4]) > 0) print(""); 
> print(""); if(strlen($aRow[5]) > 0) print(""); if($aRow[8] > 12) { 
> $aRow[8] -= 12; $ampm = pm; } else $ampm = am; if($aRow[9] < 10) // i'm 
> not doing to modify this, but is this desired behavior? -- Russ { 
> $aRow[9] = "0" . $aRow[9]; } print(""); print(""); // // Need to check 
> if this is being recorded // and display a form to toggle it on and // 
> off // $isBeingSingleRecorded = FALSE; $isBeingTimeslotRecorded = 
> isInTimeslotRecord($aRow[0], $aRow[1], $aRow[2], $aRow[3]); 
> $isBeingChannelAlwaysRecorded = isInChannelAlwaysRecord($aRow[0], 
> $aRow[3]); $isBeingAlwaysRecorded = isInAlwaysRecord($aRow[3]); 
> $recordArrayIndex = 0; while($aRecord = $recordArray[$recordArrayIndex]) 
> { if($aRecord->chanid == $aRow[0] && $aRecord->starttime == $aRow[1]) { 
> $isBeingSingleRecorded = TRUE; } $recordArrayIndex += 1; } print(""); // 
> // Add a form to go back to the listings // preserving the last offset 
> we were // using // print(""); print("
> Program: $aRow[3] (Click for Google Search)
> "); print("
> "); print(""); print(""); print(""); print("
> "); print("
> 
> Has anyone got any ideas? I have tried several different browsers, all 
> with the same result.
> 
> Jonathan
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev
> 
> 


-- 
Ken VanDine
biZrace Inc.
http://www.biZrace.com
kvandine at biZrace.com


More information about the mythtv-dev mailing list