Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > 3rd Party Projects > Projects > Mythbuntu
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Mythbuntu
Discussions for the Mythbuntu project.

 
Thread Tools Display Modes
Old February 12th, 2009   #1
Nikas
Gee! These Aren't Roasted!
 
Join Date: Oct 2007
Location: Sweden
Beans: 175
Ubuntu 9.10 Karmic Koala
Blank mythweb after apt-get upgrade

Hello.

I cant use mythweb anymore.
The page is blank..white.. nothing.

This is the packages that got updated. It's in swedish but you can see the names.
Code:
Följande paket kommer att uppgraderas:
  libapache2-mod-php5 php5 php5-cli php5-common php5-curl php5-dev php5-mysql
  php5-snmp
8 uppgraderade, 0 nyinstallerade, 0 att ta bort och 4 ej uppgraderade.
Behöver hämta 5730kB arkiv.
After this operation, 12,3kB of additional disk space will be used.
Vill du fortsätta [J/n]? J
Läs:1 http://archive.ubuntu.com hardy-security/main php5-cli 5.2.4-2ubuntu5.5 [2                                                                             478kB]
Läs:2 http://archive.ubuntu.com hardy-security/main php5-snmp 5.2.4-2ubuntu5.5 [                                                                             11,7kB]
Läs:3 http://archive.ubuntu.com hardy-security/main php5-mysql 5.2.4-2ubuntu5.5                                                                              [65,2kB]
Läs:4 http://archive.ubuntu.com hardy-security/main php5-curl 5.2.4-2ubuntu5.5 [                                                                             23,7kB]
Läs:5 http://archive.ubuntu.com hardy-security/main libapache2-mod-php5 5.2.4-2u                                                                             buntu5.5 [2471kB]
Läs:6 http://archive.ubuntu.com hardy-security/main php5-common 5.2.4-2ubuntu5.5                                                                              [316kB]
Läs:7 http://archive.ubuntu.com hardy-security/main php5 5.2.4-2ubuntu5.5 [1082B                                                                             ]
Läs:8 http://archive.ubuntu.com hardy-security/main php5-dev 5.2.4-2ubuntu5.5 [3                                                                             64kB]
Hämtade 5730kB på 22s (252kB/s)
(Läser databasen ... 168092 filer och kataloger installerade.)
Förbereder att ersätta php5-cli 5.2.4-2ubuntu5.4 (med .../php5-cli_5.2.4-2ubuntu5.5_i386.deb) ...
Packar upp ersättande php5-cli ...
Förbereder att ersätta php5-snmp 5.2.4-2ubuntu5.4 (med .../php5-snmp_5.2.4-2ubuntu5.5_i386.deb) ...
Packar upp ersättande php5-snmp ...
Förbereder att ersätta php5-mysql 5.2.4-2ubuntu5.4 (med .../php5-mysql_5.2.4-2ubuntu5.5_i386.deb) ...
Packar upp ersättande php5-mysql ...
Förbereder att ersätta php5-curl 5.2.4-2ubuntu5.4 (med .../php5-curl_5.2.4-2ubuntu5.5_i386.deb) ...
Packar upp ersättande php5-curl ...
Förbereder att ersätta libapache2-mod-php5 5.2.4-2ubuntu5.4 (med .../libapache2-mod-php5_5.2.4-2ubuntu5.5_i386.deb) ...
Packar upp ersättande libapache2-mod-php5 ...
Förbereder att ersätta php5-common 5.2.4-2ubuntu5.4 (med .../php5-common_5.2.4-2ubuntu5.5_i386.deb) ...
Packar upp ersättande php5-common ...
Förbereder att ersätta php5 5.2.4-2ubuntu5.4 (med .../php5_5.2.4-2ubuntu5.5_all.deb) ...
Packar upp ersättande php5 ...
Förbereder att ersätta php5-dev 5.2.4-2ubuntu5.4 (med .../php5-dev_5.2.4-2ubuntu5.5_i386.deb) ...
Packar upp ersättande php5-dev ...
Ställer in php5-common (5.2.4-2ubuntu5.5) ...
Ställer in php5-cli (5.2.4-2ubuntu5.5) ...

Ställer in libapache2-mod-php5 (5.2.4-2ubuntu5.5) ...
 * Reloading web server config apache2                                                                                                                [ OK ]

Ställer in php5-snmp (5.2.4-2ubuntu5.5) ...

Ställer in php5-mysql (5.2.4-2ubuntu5.5) ...

Ställer in php5-curl (5.2.4-2ubuntu5.5) ...

Ställer in php5 (5.2.4-2ubuntu5.5) ...
Ställer in php5-dev (5.2.4-2ubuntu5.5) ...

root@mythtv:/#
Where do i start looking?

I REALLY need help with this. We use mythweb several times everyday!

Last edited by Nikas; February 12th, 2009 at 07:27 PM..
Nikas is offline   Reply With Quote
Old February 12th, 2009   #2
Mr. J007K4
First Cup of Ubuntu
 
Join Date: Aug 2006
My beans are hidden!
Re: Blank mythweb after apt-get upgrade

I got the same problem. Fixed it by downgrading.

Code:
sudo aptitude install php5-mysql=5.2.4-2ubuntu5.4
I chose the option to downgrade packages: libapache2-mod-php5, php-pear, php5-cli, php5-common and php5-gd. And restarted apache.

Code:
sudo /etc/init.d/apache2 restart
Mr. J007K4 is offline   Reply With Quote
Old February 12th, 2009   #3
Nikas
Gee! These Aren't Roasted!
 
Join Date: Oct 2007
Location: Sweden
Beans: 175
Ubuntu 9.10 Karmic Koala
Re: Blank mythweb after apt-get upgrade

Quote:
Originally Posted by Mr. J007K4 View Post
I got the same problem. Fixed it by downgrading.

Code:
sudo aptitude install php5-mysql=5.2.4-2ubuntu5.4
I chose the option to downgrade packages: libapache2-mod-php5, php-pear, php5-cli, php5-common and php5-gd. And restarted apache.

Code:
sudo /etc/init.d/apache2 restart
Thanks. Made mythweb work again but i need the php5-snmp and php5-curl-package and when i try to install them the system wants to upgrade again...

Need to see some fast solution to this.

Last edited by Nikas; February 12th, 2009 at 08:01 PM..
Nikas is offline   Reply With Quote
Old February 13th, 2009   #4
buntunub
Quad Shot of Ubuntu
 
buntunub's Avatar
 
Join Date: Jun 2007
Location: USA
Beans: 503
Ubuntu 8.04 Hardy Heron
Send a message via MSN to buntunub
Re: Blank mythweb after apt-get upgrade

Same problem here. Any suggestions to fix this without downgrade?
buntunub is offline   Reply With Quote
Old February 13th, 2009   #5
ianhaycox
Gee! These Aren't Roasted!
 
Join Date: Jul 2006
Location: Brittany, France
Beans: 179
Ubuntu 9.04 Jaunty Jackalope
Re: Blank mythweb after apt-get upgrade

It might be worth editing /etc/php5/apache2/php.ini to change error logging and then start mythweb to see what is going wrong.

Hopefully it might be a simple edit to the mythweb php scripts.
__________________
Ian Brittany Cottage
ianhaycox is offline   Reply With Quote
Old February 13th, 2009   #6
buntunub
Quad Shot of Ubuntu
 
buntunub's Avatar
 
Join Date: Jun 2007
Location: USA
Beans: 503
Ubuntu 8.04 Hardy Heron
Send a message via MSN to buntunub
Re: Blank mythweb after apt-get upgrade

Quote:
Originally Posted by ianhaycox View Post
It might be worth editing /etc/php5/apache2/php.ini to change error logging and then start mythweb to see what is going wrong.

Hopefully it might be a simple edit to the mythweb php scripts.
How do you do that and how would you know what scripts to edit?
buntunub is offline   Reply With Quote
Old February 13th, 2009   #7
khartojo
First Cup of Ubuntu
 
Join Date: Aug 2007
Beans: 3
Re: Blank mythweb after apt-get upgrade

Saw this in my /var/log/apache2/error.log:
<b>Fatal error</b>: Unknown: Cannot use both zlib.output_compression and output_handler together!! in <b>Unknown</b> on line <b>0</b><br />

Seems to be an old php bug that got reintroduced with latest update.
http://bugs.php.net/bug.php?id=14241

I don't have a solution right now.
khartojo is offline   Reply With Quote
Old February 13th, 2009   #8
buntunub
Quad Shot of Ubuntu
 
buntunub's Avatar
 
Join Date: Jun 2007
Location: USA
Beans: 503
Ubuntu 8.04 Hardy Heron
Send a message via MSN to buntunub
Re: Blank mythweb after apt-get upgrade

Quote:
Originally Posted by khartojo View Post
Saw this in my /var/log/apache2/error.log:
<b>Fatal error</b>: Unknown: Cannot use both zlib.output_compression and output_handler together!! in <b>Unknown</b> on line <b>0</b><br />

Seems to be an old php bug that got reintroduced with latest update.
http://bugs.php.net/bug.php?id=14241

I don't have a solution right now.
I am getting these same errors in that log file.
buntunub is offline   Reply With Quote
Old February 13th, 2009   #9
mpp
Spilled the Beans
 
Join Date: Oct 2005
Location: Melbourne, Australia
Beans: 14
Re: Blank mythweb after apt-get upgrade

I've added some comments to the bug report on launchpad:
https://bugs.launchpad.net/ubuntu/+s...p5/+bug/329053

You can get mythweb working if you edit the apache config (file: /etc/apache2/sites-available/mythweb.conf ) and comment out the following lines:

php_value zlib.output_handler Off
php_value output_handler NULL
php_flag output_handler "NULL"

I'm not sure why that makes a difference, or if it breaks something else. But it at least gets the main mythweb webpage loading.

have fun()
mike
mpp is offline   Reply With Quote
Old February 13th, 2009   #10
Nikas
Gee! These Aren't Roasted!
 
Join Date: Oct 2007
Location: Sweden
Beans: 175
Ubuntu 9.10 Karmic Koala
Re: Blank mythweb after apt-get upgrade

Quote:
Originally Posted by mpp View Post
I've added some comments to the bug report on launchpad:
https://bugs.launchpad.net/ubuntu/+s...p5/+bug/329053

You can get mythweb working if you edit the apache config (file: /etc/apache2/sites-available/mythweb.conf ) and comment out the following lines:

php_value zlib.output_handler Off
php_value output_handler NULL
php_flag output_handler "NULL"

I'm not sure why that makes a difference, or if it breaks something else. But it at least gets the main mythweb webpage loading.

have fun()
mike
Thanks!

Seems to be working!

Just have to wait for the "real" solution now.

Last edited by Nikas; February 13th, 2009 at 10:09 PM..
Nikas is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:36 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry