Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277272 - mail-client/roundcube gives blank page with php 5.2.10
Summary: mail-client/roundcube gives blank page with php 5.2.10
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: PHP Bugs
URL: http://bugs.php.net/bug.php?id=48775
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-10 02:03 UTC by Kilburn Abrahams
Modified: 2020-07-09 18:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kilburn Abrahams 2009-07-10 02:03:42 UTC
I upgraded from PHP 5.2.9-r2 to 5.2.10, restarted apache and accessed roundcube (which was working). It give a blank page. No apache or php errors.

Reproducible: Always




I reloaded PHP 5.2.9-r2 and it works again.

These are the use flags:
apache2 bcmath berkdb bzip2 cgi cli crypt ctype curl curlwrappers exif force-cgi-redirect ftp gd gdbm iconv imap ipv6 json mysql ncurses nls pcre postgres readline reflection session simplexml sockets spl ssl tidy unicode wddx xml zip zlib
Comment 1 Jan Mikus 2009-07-11 20:11:12 UTC
There are some logs from rouncube error log file.

----------------------

[11-Jul-2009 18:44:29] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Couldn't resolve host name in /var/www/localhost/htdocs/roundcube-dev/program/include/iniset.php on line 100
[11-Jul-2009 18:44:29] PHP Warning:  include(rcube_user.php) [<a href='function.include'>function.include</a>]: failed to open stream: operation failed in /var/www/localhost/htdocs/roundcube-dev/program/include/iniset.php on line 100
[11-Jul-2009 18:44:29] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening 'rcube_user.php' for inclusion (include_path='/var/www/localhost/htdocs/roundcube-dev/:/var/www/localhost/htdocs/roundcube-dev/program:/var/www/localhost/htdocs/roundcube-dev/program/lib:/var/www/localhost/htdocs/roundcube-dev/program/include:.:/usr/share/php5:/usr/share/php') in /var/www/localhost/htdocs/roundcube-dev/program/include/iniset.php on line 100
[11-Jul-2009 18:44:29] PHP Fatal error:  Class 'rcube_user' not found in /var/www/localhost/htdocs/roundcube-dev/program/include/rcmail.php on line 123
Comment 2 Dominik Dorn 2009-07-13 00:12:06 UTC
I have the same problem with lighttpd.

the first problem is, that rc/php has problems when your www-root is actually a symlink, as it does a define("INSTALL_DIR", ..) in ./program/includes/iniset.php
which in fact leads to non-findable files here, as php does not resolve symlinks (it seems?). 

after fixing that with manually setting the constant in index.php i still get a empty page :(
Comment 3 Dominik Dorn 2009-07-13 00:12:33 UTC
I have the same problem with lighttpd.

the first problem is, that rc/php has problems when your www-root is actually a symlink, as it does a define("INSTALL_DIR", ..) in ./program/includes/iniset.php
which in fact leads to non-findable files here, as php does not resolve symlinks (it seems?). 

after fixing that with manually setting the constant in index.php i still get a empty page :(
Comment 4 Christian Hoffmann (RETIRED) gentoo-dev 2009-07-14 15:35:01 UTC
I thought we already had a bug for that, but apparently I confused it with the upstream bug.

References:
http://bugs.php.net/bug.php?id=48775
http://bugs.php.net/bug.php?id=48603

And there's no fix yet. IMO this has to be fixed in PHP as it is obviously a regression, but I'm not sure if upstream agrees. Let's see.
Comment 5 Robert R. Richter 2009-07-18 16:58:22 UTC
why fix it ?? - runs here fine with php 5.2.10 - tested with roundcube-0.2 and roundcube 0.22 !!

Maybe you should compile php with my USEFLAGS: apache2 berkdb bzip2 cgi cli crypt ctype curl exif force-cgi-redirect ftp gd gdbm iconv imap mhash mysql ncurses nls odbc pcre pic posix readline reflection session sockets spell spl sqlite ssl tokenizer truetype unicode xml xsl zlib

HTH,
Robert.
Comment 6 Francesco Riosa 2009-07-23 18:02:14 UTC
workaround in short:
USE="-curlwrappers" emerge php
Comment 7 Matti Bickel (RETIRED) gentoo-dev 2010-04-12 18:48:40 UTC
Can you verify upstreams assertion that this is fixed in the new version of php?

If the bug persists, please reopen it.