LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-20-2010, 09:34 PM   #1
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Rep: Reputation: 31
Problem getting mythweb to work in debian/squeeze


Mythweb has been installed in Debian/testing
It was installed from the "Squeeze" repo using the
Synaptic package manager. Mythtv was was also installed using the squeeze repo and synaptic package manager.

Mythtv works; Mythweb does not. It looks like both packages took care of the configuration.

If I type the URL "http://localhost/index" into a browser, it works.
However "http://localhost/mythweb" does not.

here is the apache2 error log:
Quote:
[Fri Aug 20 22:05:50 2010] [error] [client 127.0.0.1] PHP Warning: require(modules/_shared/tmpl/tmpl/header.php): failed to open stream: No such file or directory in /usr/share/mythtv/mythweb/modules/_shared/tmpl/_errors/fatal.php on line 23
[Fri Aug 20 22:05:50 2010] [error] [client 127.0.0.1] PHP Fatal error: require(): Failed opening required 'modules/_shared/tmpl/tmpl/header.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/mythtv/mythweb/modules/_shared/tmpl/_errors/fatal.php on line 23

Can anyone help?

Gary
 
Old 08-21-2010, 01:39 AM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,279

Rep: Reputation: 61
Sounds like apache isn't configured properly, it may have downloaded the packages for it, but not configured apaches http.conf file. Could you post it so we can see how it's configured, most likely be /etc/http/http.conf
 
Old 08-22-2010, 12:26 PM   #3
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by fotoguy View Post
Sounds like apache isn't configured properly, it may have downloaded the packages for it, but not configured apaches http.conf file. Could you post it so we can see how it's configured, most likely be /etc/http/http.conf
Thank you for the response.
No http.conf, what I found was "httpd.conf" --- and it is empty.

Apache2 is the one that is installed. It looks like some of the file names have changes and that Apache2 is placing some things in different locations. If thatís true, I need to find a reference that shows the correspondence.

Perhaps I should check the mythweb irc;

Before that though a little more research is in order.

I'll post to this thread again if I get nowhere.

Thanks again,
Gary
 
Old 08-23-2010, 02:58 AM   #4
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,279

Rep: Reputation: 61
Quote:
No http.conf, what I found was "httpd.conf" --- and it is empty.
Oops, sorry that was an error on my part, I meant httpd.conf file. Most likely the developers of you distro has placed files in different places, if you compile from source it will go in the default locations that apache developers have set, unless you choose a different location. See how you go, if you still have trouble i would be glad to post my httpd.conf file i use for my myhtbox, it's uses apache2, so it will work for yours.
 
1 members found this post helpful.
Old 08-25-2010, 11:20 AM   #5
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Original Poster
Rep: Reputation: 31
There are (were) two problems.

First one is that there is a bug in the version of mythweb that is in the debian repository. I retrieved the latest mythweb from subversion, and the php error went away.

Second problem is my interpretation of the install document.
I went thru it three times from scratch and each time received the same results.

After entering "http://<local ip address>" on the browser address line, this is displayed:
Quote:
It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.
If I enter "http://<local ip address>/mythweb", I get: Oops! This link appears to be broken." what I really get is the mythweb index listing

I believe that means I'm missing something in one of the config files -
but I know next to nothing about apache and network/server configuration.

Gary

Last edited by garyg007; 08-25-2010 at 08:18 PM. Reason: Corrected error - which is marked with strike-out
 
Old 08-26-2010, 11:03 AM   #6
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Original Poster
Rep: Reputation: 31
I had placed the folder "mythweb" as a sub directory in /etc/apache2"; with a symbolic link to it in "/var/www" and that affected the way I had modified the "mythweb.conf.apache" file. (I gotta remember the kiss principle - keep it simple)

I moved "mythweb" to /var/www and re-did the changes to "mythweb.conf.apache". almost works.

The version of mythweb in the debian repository, contains a bug that prevents it from working.
So I got a copy of mythweb from subversion trunk; and that is causing compatability problems.

ONE OF MANY MESSAGES
" Notice at /var/www/mythweb/classes/MythBackend.php, line 100:!!NoTrans: Incompatible protocol version (mythweb=58, backend=56)!! "

now what --- really not looking forward to installing mythtv from source
 
Old 08-26-2010, 03:06 PM   #7
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Took problem to mythtv mailing list and was directed to
svn.mythtv.org/trac/browser/tags/release-0-23/mythplugins/mythweb

That copy of mythweb corrected the problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mythweb and/or apache configuratiom garyg007 Linux - Software 2 08-17-2010 03:29 PM
Unicode on debian Squeeze nima0102 Linux - Software 4 12-06-2009 08:16 AM
[SOLVED] Radeon Xpress 200 problem on Debian squeeze (kernel 2.6.30) kaz2100 Debian 7 11-24-2009 06:16 AM
Why we have no jscalibrator for Squeeze debian? frenchn00b Debian 4 11-16-2009 11:46 AM


All times are GMT -5. The time now is 07:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration