Incompatibility with PHP 5.2.10?

View: New views
12 Messages — Rating Filter:   Alert me  

Incompatibility with PHP 5.2.10?

by Patrick Nagel :: Rate this Message:

| View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Roundcube devs,

I updated four virtual servers to PHP 5.2.10 (from 5.2.9) yesterday, and since
then the Roundcube instances on all of them are non-functional. Just a blank
page, and the following error message in apache's error_log:

[Fri Jul 03 03:42:50 2009] [error] [client 1.2.3.4] PHP Warning:  include()
[<a href='function.include'>function.include</a>]: Couldn't resolve host name
in /www/host/htdocs/roundcube/program/include/iniset.php on line 98

[Fri Jul 03 03:42:50 2009] [error] [client 1.2.3.4] PHP Warning:
include(rcube_user.php) [<a href='function.include'>function.include</a>]:
failed to open stream: operation failed in
/www/host/htdocs/roundcube/program/include/iniset.php on line 98
[Fri Jul 03 03:42:50 2009] [error] [client 1.2.3.4] PHP Warning:  include()
[<a href='function.include'>function.include</a>]: Failed opening
'rcube_user.php' for inclusion
(include_path='/www/host/htdocs/roundcube/:/www/host/htdocs/roundcube/program:/www/host/htdocs/roundcube/program/lib:/www/host/htdocs/roundcube/program/include:.:/usr/share/php5:/usr/share/php')
in /www/host/htdocs/roundcube/program/include/iniset.php on line 98

[Fri Jul 03 03:42:50 2009] [error] [client 1.2.3.4] PHP Fatal error:  Class
'rcube_user' not found in
/www/host/htdocs/roundcube/program/include/rcmail.php on line 122

Any hints?

Patrick.

- --
Key ID: 0x86E346D4            http://patrick-nagel.net/key.asc
Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpNghwACgkQyYHmhobjRtS/3gCfSiyEwkQk1TbMY82UM/AjqQGr
wf4An2Erw9tcxIlAtmjUlx3GiOkGiXu8
=MUhL
-----END PGP SIGNATURE-----
_______________________________________________
List info: http://lists.roundcube.net/dev/

Re: Incompatibility with PHP 5.2.10?

by Pavol Cvengros-3 :: Rate this Message:

| View Threaded | Show Only this Message

Hi all,

I've got the same problem. Website will show just blank page and the
same error in logs will appear. There was no change in configuration
between 5.2.9 and 5.2.10.
Any idea? Anybody?

Thanks,

Pavol

On 3. 7. 2009 5:59, Patrick Nagel wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Roundcube devs,
>
> I updated four virtual servers to PHP 5.2.10 (from 5.2.9) yesterday, and since
> then the Roundcube instances on all of them are non-functional. Just a blank
> page, and the following error message in apache's error_log:
>
> [Fri Jul 03 03:42:50 2009] [error] [client 1.2.3.4] PHP Warning:  include()
> [<a href='function.include'>function.include</a>]: Couldn't resolve host name
> in /www/host/htdocs/roundcube/program/include/iniset.php on line 98
>
> [Fri Jul 03 03:42:50 2009] [error] [client 1.2.3.4] PHP Warning:
> include(rcube_user.php) [<a href='function.include'>function.include</a>]:
> failed to open stream: operation failed in
> /www/host/htdocs/roundcube/program/include/iniset.php on line 98
> [Fri Jul 03 03:42:50 2009] [error] [client 1.2.3.4] PHP Warning:  include()
> [<a href='function.include'>function.include</a>]: Failed opening
> 'rcube_user.php' for inclusion
> (include_path='/www/host/htdocs/roundcube/:/www/host/htdocs/roundcube/program:/www/host/htdocs/roundcube/program/lib:/www/host/htdocs/roundcube/program/include:.:/usr/share/php5:/usr/share/php')
> in /www/host/htdocs/roundcube/program/include/iniset.php on line 98
>
> [Fri Jul 03 03:42:50 2009] [error] [client 1.2.3.4] PHP Fatal error:  Class
> 'rcube_user' not found in
> /www/host/htdocs/roundcube/program/include/rcmail.php on line 122
>
> Any hints?
>
> Patrick.
>
> - --
> Key ID: 0x86E346D4            http://patrick-nagel.net/key.asc
> Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkpNghwACgkQyYHmhobjRtS/3gCfSiyEwkQk1TbMY82UM/AjqQGr
> wf4An2Erw9tcxIlAtmjUlx3GiOkGiXu8
> =MUhL
> -----END PGP SIGNATURE-----
> _______________________________________________
> List info: http://lists.roundcube.net/dev/
>    

_______________________________________________
List info: http://lists.roundcube.net/dev/

Re: Incompatibility with PHP 5.2.10?

by A.L.E.C :: Rate this Message:

| View Threaded | Show Only this Message

Pavol Cvengros wrote:
> Hi all,
>
> I've got the same problem. Website will show just blank page and the
> same error in logs will appear. There was no change in configuration
> between 5.2.9 and 5.2.10.
> Any idea? Anybody?

I have no idea, but just want to say that it works for me with PHP
5.2.10 on gentoo.

--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/

Re: Incompatibility with PHP 5.2.10?

by A.L.E.C :: Rate this Message:

| View Threaded | Show Only this Message

A.L.E.C wrote:

> I have no idea, but just want to say that it works for me with PHP
> 5.2.10 on gentoo.

And here is a bug request http://bugs.php.net/bug.php?id=48775&edit=1

--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net

_______________________________________________
List info: http://lists.roundcube.net/dev/

Re: Incompatibility with PHP 5.2.10?

by tfk :: Rate this Message:

| View Threaded | Show Only this Message

Make sure to add a script there which has reproducible code. Saying
"it happens in X" generally doesn't appeal to the php folks. ;-)

Till

On Fri, Jul 3, 2009 at 8:25 PM, A.L.E.C<alec@...> wrote:

> A.L.E.C wrote:
>
>> I have no idea, but just want to say that it works for me with PHP
>> 5.2.10 on gentoo.
>
> And here is a bug request http://bugs.php.net/bug.php?id=48775&edit=1
>
> --
> Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
> LAN Management System Developer http://lms.org.pl
> Roundcube Webmail Developer http://roundcube.net
>
> _______________________________________________
> List info: http://lists.roundcube.net/dev/
>
_______________________________________________
List info: http://lists.roundcube.net/dev/

Re: Incompatibility with PHP 5.2.10?

by tfk :: Rate this Message:

| View Threaded | Show Only this Message

To update this:
http://bugs.php.net/bug.php?id=48775&thanks=6

In a nutshell, I compiled PHP from source and had zero issues with
RoundCube and PHP 5.2.10. I think the Gentoo port has a bug, I
wouldn't know what it is otherwise. Maybe an arch is broken? So
generally there is NO incompatibility issue with PHP 5.2.10.

Till

On Fri, Jul 3, 2009 at 8:42 PM, till<klimpong@...> wrote:

> Make sure to add a script there which has reproducible code. Saying
> "it happens in X" generally doesn't appeal to the php folks. ;-)
>
> Till
>
> On Fri, Jul 3, 2009 at 8:25 PM, A.L.E.C<alec@...> wrote:
>> A.L.E.C wrote:
>>
>>> I have no idea, but just want to say that it works for me with PHP
>>> 5.2.10 on gentoo.
>>
>> And here is a bug request http://bugs.php.net/bug.php?id=48775&edit=1
>>
_______________________________________________
List info: http://lists.roundcube.net/dev/

Re: Incompatibility with PHP 5.2.10?

by Patrick Nagel :: Rate this Message:

| View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Till,

On 2009-07-05 09:30, till wrote:
> To update this:
> http://bugs.php.net/bug.php?id=48775&thanks=6
>
> In a nutshell, I compiled PHP from source and had zero issues with
> RoundCube and PHP 5.2.10. I think the Gentoo port has a bug, I
> wouldn't know what it is otherwise. Maybe an arch is broken? So
> generally there is NO incompatibility issue with PHP 5.2.10.

Thanks for this clear statement. I'll take this to the Gentoo PHP team.

Patrick.

- --
Key ID: 0x86E346D4            http://patrick-nagel.net/key.asc
Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpQICsACgkQyYHmhobjRtQ4VwCgskzKOUT5TfVjMajt2uTtKUAA
vnIAoLLDD9zjXIa8IiRiOdXMskylvJHt
=SQcb
-----END PGP SIGNATURE-----
_______________________________________________
List info: http://lists.roundcube.net/dev/

Re: Incompatibility with PHP 5.2.10?

by A.L.E.C :: Rate this Message:

| View Threaded | Show Only this Message

Patrick Nagel wrote:

>> In a nutshell, I compiled PHP from source and had zero issues with
>> RoundCube and PHP 5.2.10. I think the Gentoo port has a bug, I
>> wouldn't know what it is otherwise. Maybe an arch is broken? So
>> generally there is NO incompatibility issue with PHP 5.2.10.
>
> Thanks for this clear statement. I'll take this to the Gentoo PHP team.

I've said that I have no problem on Gentoo with 5.2.10 ebuild and
Roundcube. So, it could be a PHP bug.

--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net

_______________________________________________
List info: http://lists.roundcube.net/dev/

Re: Incompatibility with PHP 5.2.10?

by roy-66 :: Rate this Message:

| View Threaded | Show Only this Message

A.L.E.C wrote:

> Patrick Nagel wrote:
>
>  
>>> In a nutshell, I compiled PHP from source and had zero issues with
>>> RoundCube and PHP 5.2.10. I think the Gentoo port has a bug, I
>>> wouldn't know what it is otherwise. Maybe an arch is broken? So
>>> generally there is NO incompatibility issue with PHP 5.2.10.
>>>      
>> Thanks for this clear statement. I'll take this to the Gentoo PHP team.
>>    
>
> I've said that I have no problem on Gentoo with 5.2.10 ebuild and
> Roundcube. So, it could be a PHP bug.
>
>  
I'm also on php 5.2.10 on Gentoo with no problems.  This is with
roundcube 0.3 beta btw.

_______________________________________________
List info: http://lists.roundcube.net/dev/

Re: Incompatibility with PHP 5.2.10?

by tfk :: Rate this Message:

| View Threaded | Show Only this Message

On Sun, Jul 5, 2009 at 8:34 AM, A.L.E.C<alec@...> wrote:

> Patrick Nagel wrote:
>
>>> In a nutshell, I compiled PHP from source and had zero issues with
>>> RoundCube and PHP 5.2.10. I think the Gentoo port has a bug, I
>>> wouldn't know what it is otherwise. Maybe an arch is broken? So
>>> generally there is NO incompatibility issue with PHP 5.2.10.
>>
>> Thanks for this clear statement. I'll take this to the Gentoo PHP team.
>
> I've said that I have no problem on Gentoo with 5.2.10 ebuild and
> Roundcube. So, it could be a PHP bug.
>

No, if you can compile PHP from source and it works it's not a PHP bug. ;-)
_______________________________________________
List info: http://lists.roundcube.net/dev/

Re: Incompatibility with PHP 5.2.10?

by Patrick Nagel :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

On 2009-07-05 09:30, till wrote:
> To update this:
> http://bugs.php.net/bug.php?id=48775&thanks=6
>
> In a nutshell, I compiled PHP from source and had zero issues with
> RoundCube and PHP 5.2.10. I think the Gentoo port has a bug, I
> wouldn't know what it is otherwise. Maybe an arch is broken? So
> generally there is NO incompatibility issue with PHP 5.2.10.

I have news regarding this issue: It has been determined, that the configure
option "--with-curlwrappers" for PHP (which seems to be activated by default in
my and others' Gentoo profile) is causing the issue [1]. Disabling the USE flag
"curlwrappers" in Gentoo and rebuilding PHP brings RoundCube back to life.

How should we proceed now?

Patrick.

[1]:
http://www.roundcubeforum.net/pending-issues/4969-php-fatal-error-class-rcube_user-not-found-web-mail-xxx-program-include-rcmai.html#post20037

--
Key ID: 0x86E346D4            http://patrick-nagel.net/key.asc
Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4
_______________________________________________
List info: http://lists.roundcube.net/dev/

Re: Incompatibility with PHP 5.2.10?

by tfk :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Jul 13, 2009 at 4:06 AM, Patrick Nagel<mail@...> wrote:

> Hi,
>
> On 2009-07-05 09:30, till wrote:
>> To update this:
>> http://bugs.php.net/bug.php?id=48775&thanks=6
>>
>> In a nutshell, I compiled PHP from source and had zero issues with
>> RoundCube and PHP 5.2.10. I think the Gentoo port has a bug, I
>> wouldn't know what it is otherwise. Maybe an arch is broken? So
>> generally there is NO incompatibility issue with PHP 5.2.10.
>
> I have news regarding this issue: It has been determined, that the configure
> option "--with-curlwrappers" for PHP (which seems to be activated by default in
> my and others' Gentoo profile) is causing the issue [1]. Disabling the USE flag
> "curlwrappers" in Gentoo and rebuilding PHP brings RoundCube back to life.
>
> How should we proceed now?
>
> Patrick.
>
> [1]:
> http://www.roundcubeforum.net/pending-issues/4969-php-fatal-error-class-rcube_user-not-found-web-mail-xxx-program-include-rcmai.html#post20037
>

I'll re-compile the source later today with curlwrappers enabled to
figure out if it breaks as well. Wouldn't mind if anyone beat me to
it. :-) If I can find a small case to reproduce, I'll update the bug
report too.

Till
_______________________________________________
List info: http://lists.roundcube.net/dev/