From mail@patrick-nagel.net Thu Jul 2 20:59:37 2009 From: Patrick Nagel To: dev@lists.roundcube.net Subject: [RCD] Incompatibility with PHP 5.2.10? Date: Fri, 03 Jul 2009 11:59:24 +0800 Message-ID: <4A4D821C.402@patrick-nagel.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1208902779176840178==" --===============1208902779176840178== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable -----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() [function.include]: Couldn't resolve host na= me 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) [function.include]: 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() [function.include]: Failed opening 'rcube_user.php' for inclusion (include_path=3D'/www/host/htdocs/roundcube/:/www/host/htdocs/roundcube/progr= am:/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 =3DMUhL -----END PGP SIGNATURE----- _______________________________________________ List info: http://lists.roundcube.net/dev/ --===============1208902779176840178==-- From pavol.cvengros@primeinteractive.net Fri Jul 3 09:40:34 2009 From: Pavol Cvengros To: dev@lists.roundcube.net Subject: Re: [RCD] Incompatibility with PHP 5.2.10? Date: Fri, 03 Jul 2009 18:40:06 +0200 Message-ID: <4A4E3466.5010706@primeinteractive.net> In-Reply-To: <4A4D821C.402@patrick-nagel.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7505499139429865404==" --===============7505499139429865404== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all, I've got the same problem. Website will show just blank page and the=20 same error in logs will appear. There was no change in configuration=20 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 si= nce > 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() > [function.include]: 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) [function.include]: > 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() > [function.include]: Failed opening > 'rcube_user.php' for inclusion > (include_path=3D'/www/host/htdocs/roundcube/:/www/host/htdocs/roundcube/pro= gram:/www/host/htdocs/roundcube/program/lib:/www/host/htdocs/roundcube/progra= m/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 > =3DMUhL > -----END PGP SIGNATURE----- > _______________________________________________ > List info: http://lists.roundcube.net/dev/ > =20 _______________________________________________ List info: http://lists.roundcube.net/dev/ --===============7505499139429865404==-- From alec@alec.pl Fri Jul 3 11:22:20 2009 From: "A.L.E.C" To: dev@lists.roundcube.net Subject: Re: [RCD] Incompatibility with PHP 5.2.10? Date: Fri, 03 Jul 2009 20:22:07 +0200 Message-ID: <4A4E4C4F.8030906@alec.pl> In-Reply-To: <4A4E3466.5010706@primeinteractive.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4670002399047676395==" --===============4670002399047676395== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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/ --===============4670002399047676395==-- From alec@alec.pl Fri Jul 3 11:25:51 2009 From: "A.L.E.C" To: dev@lists.roundcube.net Subject: Re: [RCD] Incompatibility with PHP 5.2.10? Date: Fri, 03 Jul 2009 20:25:41 +0200 Message-ID: <4A4E4D25.1050800@alec.pl> In-Reply-To: <4A4E4C4F.8030906@alec.pl> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7370323674214784170==" --===============7370323674214784170== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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/ --===============7370323674214784170==-- From klimpong@gmail.com Fri Jul 3 11:42:58 2009 From: till To: dev@lists.roundcube.net Subject: Re: [RCD] Incompatibility with PHP 5.2.10? Date: Fri, 03 Jul 2009 20:42:45 +0200 Message-ID: <234b196e0907031142i4e78b679xd2b16f4dbabab10d@mail.gmail.com> In-Reply-To: <4A4E4D25.1050800@alec.pl> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6337145383015894487==" --===============6337145383015894487== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 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/ --===============6337145383015894487==-- From klimpong@gmail.com Sat Jul 4 18:30:56 2009 From: till To: dev@lists.roundcube.net Subject: Re: [RCD] Incompatibility with PHP 5.2.10? Date: Sun, 05 Jul 2009 03:30:46 +0200 Message-ID: <234b196e0907041830o28e19fdfk6bb4baf15a4bab77@mail.gmail.com> In-Reply-To: <234b196e0907031142i4e78b679xd2b16f4dbabab10d@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7928845633625613384==" --===============7928845633625613384== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 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 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/ --===============7928845633625613384==-- From mail@patrick-nagel.net Sat Jul 4 20:38:32 2009 From: Patrick Nagel To: dev@lists.roundcube.net Subject: Re: [RCD] Incompatibility with PHP 5.2.10? Date: Sun, 05 Jul 2009 11:38:19 +0800 Message-ID: <4A50202B.6010802@patrick-nagel.net> In-Reply-To: <234b196e0907041830o28e19fdfk6bb4baf15a4bab77@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0414040055068180241==" --===============0414040055068180241== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit -----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/ --===============0414040055068180241==-- From alec@alec.pl Sat Jul 4 23:34:15 2009 From: "A.L.E.C" To: dev@lists.roundcube.net Subject: Re: [RCD] Incompatibility with PHP 5.2.10? Date: Sun, 05 Jul 2009 08:34:04 +0200 Message-ID: <4A50495C.4010203@alec.pl> In-Reply-To: <4A50202B.6010802@patrick-nagel.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2534361197803452813==" --===============2534361197803452813== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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/ --===============2534361197803452813==-- From roy@haematic.org Sun Jul 5 00:43:45 2009 From: Roy Thompson To: dev@lists.roundcube.net Subject: Re: [RCD] Incompatibility with PHP 5.2.10? Date: Sun, 05 Jul 2009 08:43:33 +0100 Message-ID: <4A5059A5.2090202@haematic.org> In-Reply-To: <4A50495C.4010203@alec.pl> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7432926847890090687==" --===============7432926847890090687== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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/ --===============7432926847890090687==-- From klimpong@gmail.com Sun Jul 5 05:01:51 2009 From: till To: dev@lists.roundcube.net Subject: Re: [RCD] Incompatibility with PHP 5.2.10? Date: Sun, 05 Jul 2009 14:01:41 +0200 Message-ID: <234b196e0907050501q5f4999n8766a13a17fc2ba@mail.gmail.com> In-Reply-To: <4A50495C.4010203@alec.pl> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5232123918187954948==" --===============5232123918187954948== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Sun, Jul 5, 2009 at 8:34 AM, 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. > No, if you can compile PHP from source and it works it's not a PHP bug. ;-) _______________________________________________ List info: http://lists.roundcube.net/dev/ --===============5232123918187954948==-- From mail@patrick-nagel.net Sun Jul 12 19:07:15 2009 From: Patrick Nagel To: dev@lists.roundcube.net Subject: Re: [RCD] Incompatibility with PHP 5.2.10? Date: Mon, 13 Jul 2009 10:06:57 +0800 Message-ID: <4A5A96C1.7010500@patrick-nagel.net> In-Reply-To: <234b196e0907041830o28e19fdfk6bb4baf15a4bab77@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1071912857673670740==" --===============1071912857673670740== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, On 2009-07-05 09:30, till wrote: > To update this: > http://bugs.php.net/bug.php?id=3D48775&thanks=3D6 >=20 > 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 fl= ag "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 --=20 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/ --===============1071912857673670740==-- From klimpong@gmail.com Mon Jul 13 01:49:50 2009 From: till To: dev@lists.roundcube.net Subject: Re: [RCD] Incompatibility with PHP 5.2.10? Date: Mon, 13 Jul 2009 10:49:41 +0200 Message-ID: <234b196e0907130149t604e4415le994797e630020ae@mail.gmail.com> In-Reply-To: <4A5A96C1.7010500@patrick-nagel.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4932793445346681499==" --===============4932793445346681499== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Mon, Jul 13, 2009 at 4:06 AM, Patrick Nagel wrot= e: > Hi, > > On 2009-07-05 09:30, till wrote: >> To update this: >> http://bugs.php.net/bug.php?id=3D48775&thanks=3D6 >> >> 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 defaul= t 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-rcu= be_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/ --===============4932793445346681499==--