Okay, thanks Martin. I am beat. I'm going to turn in and pick this up after work tomorrow morning.
I appreciate your help, but it looks like we're at a dead end here too. I suspect php isn't working somehow, though on the same server phpmyadmin and dokuwiki work just fine. I don't know what is going on with mythweb and it's really eating at me. Mark On Wed, Aug 25, 2010 at 11:07 AM, Martin Hasicek <martin.hasi...@gmail.com>wrote: > Hi Mark, > > as fare as I know, php variables have $ sign on begin. So, if tmpl is > variable, row should like: > > > require 'modules/_shared/$tmpl/'.$tmpl.'/header.php'; > > you can very simple test it add this few rows before this require function: > > echo "<pre>"; > var_dum($tmpl); > var_dump(tmpl); > echo "</pre>"; > > if it is not variable or even in $tmpl is not any "default" string, well, > you have several options. > > a) go trought code and find out what and why it is broken. > b) simply exchange .'tmpl'. with default so it will look: > > require 'modules/_shared/tmpl/default/header.php'; > > c) ask developer of application for a help or recommendation what to do. > > > mh > > > > On Wed, Aug 25, 2010 at 6:56 PM, Mark Adams <mada...@gmail.com> wrote: > >> I do have that file tree Martin, but it's slightly different: >> >> /var/www/html/mythweb/modules/_shared/tmpl/default/header.php >> >> notice the last three subdirectories "tmpl/default/header.php" versus >> tmpl/tmpl/header.php >> >> The function in question is actually looking for >> tmpl/'.tmpl.'/header.php. I take that to mean that '.tmp.' is a variable >> that expands to the template name ("default" is a template name in this >> context). I have no idea how or why it is screwing this up. Here is the >> relevant code chunk from >> /var/www/html/mythweb/modules/_shared/tmpl/_errors/db_vars_error.php >> >> <?php >> /** >> * >> * >> * @url $URL: >> http://svn.mythtv.org/svn/tags/release-0-23-1/mythplugins/mythweb/modules/_shared/tmpl/_errors/db_vars_error.php$ >> * @date $Date: 2009-09-15 22:02:29 -0700 (Tue, 15 Sep 2009) $ >> * @version $Revision: 21884 $ >> * @author $Author: kormoc $ >> * @license GPL >> * >> * @package MythWeb >> * @subpackage >> * >> /**/ >> >> // Set the desired page title >> $page_title = 'MythWeb - Error - Database Setup Error'; >> >> // Custom headers >> $headers[] = '<link rel="stylesheet" type="text/css" >> href="skins/errors.css">'; >> >> // Print the page header >> require 'modules/_shared/tmpl/'.tmpl.'/header.php'; >> >> >> Mark >> >> >> On Wed, Aug 25, 2010 at 10:45 AM, Martin Hasicek < >> martin.hasi...@gmail.com> wrote: >> >>> Hi Mark, >>> >>> now the apache is serving your page and this is a PHP error. So apache is >>> working fine and we have to tune PHP now. >>> >>> on line 23 in file >>> /var/www/html/mythweb/modules/_shared/tmpl/_errors/db_vars_error.php you are >>> including some other file by function require. PHP is not able to find this >>> file, because it is looking into relative path >>> modules/_shared/tmpl/tmpl/header.php. Please, check if you have >>> /var/www/html/mythweb/modules/_shared/tmpl/tmpl/header.php file present on >>> system and if yes, try to change function >>> >>> require(modules/_shared/tmpl/tmpl/header.php); >>> >>> to >>> >>> require(/var/www/html/mythweb/modules/_shared/tmpl/tmpl/header.php); >>> >>> mh >>> >>> >>> On Wed, Aug 25, 2010 at 6:38 PM, Mark Adams <mada...@gmail.com> wrote: >>> >>>> Steve: These machines are all on my lan and they are on static IP's. >>>> I've ditched the "access it from the internet" idea. That will only work if >>>> I can get a second frontend running on my primary web server because my dls >>>> provider has all the ports locked down. >>>> >>>> Martin: I added mythweb to the DirectoryIndex and that is progress, I >>>> guess. I got a web page that said: >>>> >>>> *Warning* at >>>> /var/www/html/mythweb/modules/_shared/tmpl/_errors/db_vars_error.php, line >>>> 23: >>>> require(modules/_shared/tmpl/tmpl/header.php) >>>> [function.require<http://pvr/mythweb/function.require>]: >>>> failed to open stream: No such file or directory >>>> >>>> The error_log says nothing about it. I've looked as line 23 in >>>> db_vars_error.php and I have no idea what it wants regarding >>>> "modules/_shared/tmpl/tmpl/header.php". >>>> >>>> Am I a module short? >>>> >>>> Mar >>>> >>>> >>>> On Wed, Aug 25, 2010 at 10:26 AM, Martin Hasicek < >>>> martin.hasi...@gmail.com> wrote: >>>> >>>>> Hi Mark, >>>>> >>>>> my sorry. My english is not so good :-) Try to look here: >>>>> >>>>> http://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex >>>>> >>>>> and after that find in your configuration directive DirectoryIndex add >>>>> mythweb.php there. It should look like: >>>>> >>>>> DirectoryIndex mythweb.php index.html index.php >>>>> >>>>> mh >>>>> >>>>> >>>>> On Wed, Aug 25, 2010 at 6:21 PM, Mark Adams <mada...@gmail.com> wrote: >>>>> >>>>>> I'm sorry Martin, that makes little sense to me. This thing is setup >>>>>> by defaults to point to /var/www/html/mythweb and execute mythweb.php. It >>>>>> isn't supposed to display a file index, so disabling Autoindex seems the >>>>>> way >>>>>> to go. I don't think I need DirectoryIndex because I dont' want a >>>>>> directory >>>>>> -- I want it to execute the mythweb.php script. >>>>>> >>>>>> Mark >>>>>> >>>>>> >>>>>> On Wed, Aug 25, 2010 at 10:15 AM, Martin Hasicek < >>>>>> martin.hasi...@gmail.com> wrote: >>>>>> >>>>>>> Hi Mark, >>>>>>> >>>>>>> by directive DirectoryIndex you are enumerate files, which will be >>>>>>> listed in case, when client will point only to dorectory. So in case >>>>>>> that >>>>>>> client will call http://mythweb/ apache will check existence of >>>>>>> files enumerated by DirectoryIndex. If it is not able to find them, >>>>>>> apache >>>>>>> try to do autoindex - display directory in web form. >>>>>>> >>>>>>> Autoindex is disabled by Options in your configuration and >>>>>>> DirectoryIndex is not present in directory. Logical result of it is 403. >>>>>>> >>>>>>> I hope it will help you. >>>>>>> >>>>>>> mh >>>>>>> >>>>>>> >>>>>>> On Wed, Aug 25, 2010 at 6:10 PM, Mark Adams <mada...@gmail.com>wrote: >>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Aug 25, 2010 at 10:06 AM, Frank Gingras < >>>>>>>> francois.ging...@gmail.com> wrote: >>>>>>>> >>>>>>>>> On 25/08/2010 12:05 PM, Mark Adams wrote: >>>>>>>>> >>>>>>>>>> I really hate to bother the group with this issue because my >>>>>>>>>> ignorance about >>>>>>>>>> apache access is so profound. But here goes. >>>>>>>>>> >>>>>>>>>> I was attempting to get mythweb accessible from the Internet and >>>>>>>>>> just all of >>>>>>>>>> a sudden, it was not available (error 403). I have spent hours >>>>>>>>>> editing the >>>>>>>>>> hddpd.conf file, the mythweb.conf file, file permissions, >>>>>>>>>> implementing and >>>>>>>>>> then deimplementing .htaccess files, and everything else I can >>>>>>>>>> find. >>>>>>>>>> Unfortuanately, I can't get mythweb to show up on any browser on >>>>>>>>>> my lan. >>>>>>>>>> This after Mythweb ran spectacularly on this system for years. The >>>>>>>>>> only >>>>>>>>>> thing I can find that seems amiss is that my web server doesn't >>>>>>>>>> seem to >>>>>>>>>> support php_value or php_flag. >>>>>>>>>> >>>>>>>>>> Apache >>>>>>>>>> Server version: Apache/2.2.14 (Mandriva >>>>>>>>>> Linux/PREFORK-1.5mdv2010.0) >>>>>>>>>> Server built: Aug 16 2010 06:19:58 >>>>>>>>>> >>>>>>>>>> PHP 5.16 >>>>>>>>>> >>>>>>>>>> Mythweb 0.23.1 >>>>>>>>>> >>>>>>>>>> I will be more than happy to point helpers toward httpd.conf , or >>>>>>>>>> any other >>>>>>>>>> files, at pastbin if it would help. >>>>>>>>>> >>>>>>>>>> Can anybody tell me anything? >>>>>>>>>> >>>>>>>>>> Mark, >>>>>>>>> >>>>>>>>> What does the error log say, exactly? >>>>>>>>> >>>>>>>>> Frank >>>>>>>>> >>>>>>>>> >>>>>>>> Thanks for asking Frank. I've got logging turned up to debugging and >>>>>>>> all it gives me is this: >>>>>>>> >>>>>>>> [Wed Aug 25 10:04:06 2010] [error] [client 192.168.1.106] Directory >>>>>>>> index forbidden by Options directive: /var/www/html/mythweb/ >>>>>>>> >>>>>>>> I believe this confirms that it's just a misconfig somewhere on my >>>>>>>> part. >>>>>>>> -- >>>>>>>> Mark Adams >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Mark Adams >>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> >>>> -- >>>> Mark Adams >>>> >>>> >>>> >>> >> >> >> -- >> Mark Adams >> >> >> > -- Mark Adams