Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Nethub Online
To all,

I tested on version 1.2.7/1.2.8/1.2.9 /w PHP4 that have below problems:

=================================
Symptoms:
=================================
- If I set imp/config/servers.php to use POP3, after click login button
in the login page, it shows a blank page on the URL
xxx.com/horde/imp/redirect.php, and then I refresh the browser and click
"resend" button to submit again, then I can login the webmail,
NO ERROR IS SHOWN.

- If I set imp/config/servers.php to use IMAP, after click login button
in the login page, it shows a blank page on the URL
xxx.com/horde/imp/redirect.php, and then I refresh the browser and click
"resend" button to submit again, then I can login the webmail,
ERROR IS SHOWN AS BELOW:

[error in main frame]
Warning: reset() [function.reset]: Passed variable is not an array or
object in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
 on line 249

Warning: Invalid argument supplied for foreach() in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
 on line 496

Fatal error: Unsupported operand types in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
 on line 333

[error in left frame]
Warning: reset() [function.reset]: Passed variable is not an array
 or object in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
 on line 249

Warning: Invalid argument supplied for foreach() in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
 on line 496

Fatal error: Unsupported operand types in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
 on line 333


=================================
Environments:
=================================
- Problem occurs on Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9
 with PHP4.4.9

- No problem on Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9
 with PHP5.2.14

- No problem on Horde Groupware Webmail Edition 1.2.6 with PHP4.4.9

- No problem on Horde Groupware Webmail Edition 1.2.6 with PHP5.2.14

- testing server is CentOS 4.5, Apache 2.2.6, MySQL 4.0.27


=================================
More information:
=================================
- If I go to URL xxx.com/horde/test.php, it is blank page as well,
after I deleted the line
"$pear_output = $horde_test->PEARModuleCheck($pear_list);"
then it can show up the testing info.

- No problem to run xxx.com/horde/imp/test.php:
PEAR: Yes, Recent PEAR: Yes, Auth_SASL: Yes, HTTP_Request: Yes

- did execute "(4) Update PEAR for a new or changed location"

- no error log or login log in /tmp/horde.log,
only has Logout log in /tmp/horde.log



Although PHP4.4.9 is very old version, but Horde requires PHP4.3+ so
I think this problem should not be resolved by upgrading PHP version.

Thank you for any assistance you can provide.
Please let me know if further information is needed.



--
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Jan Schneider
Zitat von Nethub Online - Tommy <[hidden email]>:

> To all,
>
> I tested on version 1.2.7/1.2.8/1.2.9 /w PHP4 that have below problems:
>
> =================================
> Symptoms:
> =================================
> - If I set imp/config/servers.php to use POP3, after click login button
> in the login page, it shows a blank page on the URL
> xxx.com/horde/imp/redirect.php, and then I refresh the browser and click
> "resend" button to submit again, then I can login the webmail,
> NO ERROR IS SHOWN.
>
> - If I set imp/config/servers.php to use IMAP, after click login button
> in the login page, it shows a blank page on the URL
> xxx.com/horde/imp/redirect.php, and then I refresh the browser and click
> "resend" button to submit again, then I can login the webmail,
> ERROR IS SHOWN AS BELOW:
>
> [error in main frame]
> Warning: reset() [function.reset]: Passed variable is not an array or
> object in
> /usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>  on line 249
>
> Warning: Invalid argument supplied for foreach() in
> /usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>  on line 496
>
> Fatal error: Unsupported operand types in
> /usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>  on line 333
>
> [error in left frame]
> Warning: reset() [function.reset]: Passed variable is not an array
>  or object in
> /usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>  on line 249
>
> Warning: Invalid argument supplied for foreach() in
> /usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>  on line 496
>
> Fatal error: Unsupported operand types in
> /usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>  on line 333
>
>
> =================================
> Environments:
> =================================
> - Problem occurs on Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9
>  with PHP4.4.9
>
> - No problem on Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9
>  with PHP5.2.14
>
> - No problem on Horde Groupware Webmail Edition 1.2.6 with PHP4.4.9
>
> - No problem on Horde Groupware Webmail Edition 1.2.6 with PHP5.2.14
>
> - testing server is CentOS 4.5, Apache 2.2.6, MySQL 4.0.27
>
>
> =================================
> More information:
> =================================
> - If I go to URL xxx.com/horde/test.php, it is blank page as well,
> after I deleted the line
> "$pear_output = $horde_test->PEARModuleCheck($pear_list);"
> then it can show up the testing info.
>
> - No problem to run xxx.com/horde/imp/test.php:
> PEAR: Yes, Recent PEAR: Yes, Auth_SASL: Yes, HTTP_Request: Yes
>
> - did execute "(4) Update PEAR for a new or changed location"
>
> - no error log or login log in /tmp/horde.log,
> only has Logout log in /tmp/horde.log
>
>
>
> Although PHP4.4.9 is very old version, but Horde requires PHP4.3+ so
> I think this problem should not be resolved by upgrading PHP version.
>
> Thank you for any assistance you can provide.
> Please let me know if further information is needed.

Do you get anything in the php/web server error logs when you get the  
white page?

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Nethub Online
Jan Schneider <jan <at> horde.org> writes:

>
> Do you get anything in the php/web server error logs when you get the  
> white page?
>
> Jan.
>

Jan, Thank you for your attention. I checked there is no error in the Apache log
during login the Horde.

The only errors I got is shown in my previous post:

[error in main frame]
[error in left frame]

PS: Please note during the first login, it is blank page, and then I click F5 to
reload and submit the data again, then above error will be shown.

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Jan Schneider
Zitat von Nethub Online - Tommy <[hidden email]>:

> Jan Schneider <jan <at> horde.org> writes:
>
>>
>> Do you get anything in the php/web server error logs when you get the
>> white page?
>>
>> Jan.
>>
>
> Jan, Thank you for your attention. I checked there is no error in  
> the Apache log
> during login the Horde.
>
> The only errors I got is shown in my previous post:
>
> [error in main frame]
> [error in left frame]
>
> PS: Please note during the first login, it is blank page, and then I  
> click F5 to
> reload and submit the data again, then above error will be shown.

If you don't get an error and made sure you checked  
http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod you might want try  
installing scream (http://pecl.php.net/package/scream) to find any  
hidden PHP errors.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Nethub Online
Jan Schneider <jan <at> horde.org> writes:

>
> If you don't get an error and made sure you checked  
> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod you might want try  
> installing scream (http://pecl.php.net/package/scream) to find any  
> hidden PHP errors.
>
> Jan.
>

Thank you for your help.

Since scream requires PHP5.1, but the problem only occurs in PHP4.


So I just forced the php.ini to log down the error and change the
config/conf.php to "$conf['debug_level'] = E_ALL;" in order to display all
error, it shows below errors.

PS: Please note the Horde is fresh installed by ./scripts/setup.php, no any
customization. Secondly, there is no problem if it is version 1.2.6 , so I don't
think the problem is related to PHP installation.



[Tue Dec 14 14:33:40 2010] [error] [client 123.123.123.123] PHP Warning:
reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an
array or object in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
referer:
http://202.67.138.64/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.64%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3D0IwH1q55iwuijj4MqVPL6dRYaHg%26no_newmail_popup%3D1
[Tue Dec 14 14:33:40 2010] [error] [client 123.123.123.123] PHP Warning:
Invalid argument supplied for foreach() in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 496,
referer:
http://202.67.138.64/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.64%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3D0IwH1q55iwuijj4MqVPL6dRYaHg%26no_newmail_popup%3D1
[Tue Dec 14 14:33:40 2010] [error] [client 123.123.123.123] PHP Notice:
Undefined variable:  names in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 333,
referer:
http://202.67.138.64/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.64%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3D0IwH1q55iwuijj4MqVPL6dRYaHg%26no_newmail_popup%3D1
[Tue Dec 14 14:33:40 2010] [error] [client 123.123.123.123] PHP Fatal error:
Unsupported operand types in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 333,
referer:
http://202.67.138.64/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.64%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3D0IwH1q55iwuijj4MqVPL6dRYaHg%26no_newmail_popup%3D1
[Tue Dec 14 14:33:40 2010] [error] [client 123.123.123.123] PHP Notice:
Undefined index:  filteravail in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/mailbox.php on line 205,
referer:
http://202.67.138.64/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.64%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3D0IwH1q55iwuijj4MqVPL6dRYaHg%26no_newmail_popup%3D1
[Tue Dec 14 14:33:40 2010] [error] [client 123.123.123.123] PHP Warning:
reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an
array or object in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
referer:
http://202.67.138.64/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.64%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3D0IwH1q55iwuijj4MqVPL6dRYaHg%26no_newmail_popup%3D1
[Tue Dec 14 14:33:40 2010] [error] [client 123.123.123.123] PHP Warning:
Invalid argument supplied for foreach() in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 496,
referer:
http://202.67.138.64/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.64%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3D0IwH1q55iwuijj4MqVPL6dRYaHg%26no_newmail_popup%3D1
[Tue Dec 14 14:33:40 2010] [error] [client 123.123.123.123] PHP Notice:
Undefined variable:  names in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 333,
referer:
http://202.67.138.64/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.64%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3D0IwH1q55iwuijj4MqVPL6dRYaHg%26no_newmail_popup%3D1
[Tue Dec 14 14:33:40 2010] [error] [client 123.123.123.123] PHP Fatal error:
Unsupported operand types in
/usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 333,
referer:
http://202.67.138.64/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.64%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3D0IwH1q55iwuijj4MqVPL6dRYaHg%26no_newmail_popup%3D1

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Jan Schneider
Zitat von Nethub Online - Tommy <[hidden email]>:

> Jan Schneider <jan <at> horde.org> writes:
>
>>
>> If you don't get an error and made sure you checked
>> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod you might want try
>> installing scream (http://pecl.php.net/package/scream) to find any
>> hidden PHP errors.
>>
>> Jan.
>>
>
> Thank you for your help.
>
> Since scream requires PHP5.1, but the problem only occurs in PHP4.
>
>
> So I just forced the php.ini to log down the error and change the
> config/conf.php to "$conf['debug_level'] = E_ALL;" in order to display all
> error, it shows below errors.
>
> PS: Please note the Horde is fresh installed by ./scripts/setup.php, no any
> customization. Secondly, there is no problem if it is version 1.2.6  
> , so I don't
> think the problem is related to PHP installation.
>
>
>
> [Tue Dec 14 14:33:40 2010] [error] [client 123.123.123.123] PHP Warning:
> reset() [<a href='function.reset'>function.reset</a>]: Passed  
> variable is not an
> array or object in
> /usr/local/apache/htdocs/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php  
> on line 249,
> referer:
> http://202.67.138.64/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.64%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3D0IwH1q55iwuijj4MqVPL6dRYaHg%26no_newmail_popup%3D1

Try the IMAP tests in imp/test.php. This looks like a broken IMAP  
extension in your PHP 4 installation.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Nethub Online
Jan Schneider <jan <at> horde.org> writes:


>
> Try the IMAP tests in imp/test.php. This looks like a broken IMAP  
> extension in your PHP 4 installation.
>
> Jan.
>

It shows "IMAP Support: Yes" in both 1.2.6 and 1.2.7 .

Here are the testing page for your references:
http://202.67.138.64/horde-webmail-1.2.7/imp/test.php
http://202.67.138.64/horde-webmail-1.2.6/imp/test.php


In order to let you realize the problem, here I give you a demo account.
http://202.67.138.64/horde-webmail-1.2.7/
http://202.67.138.64/horde-webmail-1.2.6/
Username: [hidden email]
Password: 3g6FtaqH

PS: Since spammer may look at this post, so that above email server will not
send out any email.

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Jan Schneider
Zitat von Nethub Online - Tommy <[hidden email]>:

> Jan Schneider <jan <at> horde.org> writes:
>
>
>>
>> Try the IMAP tests in imp/test.php. This looks like a broken IMAP
>> extension in your PHP 4 installation.
>>
>> Jan.
>>
>
> It shows "IMAP Support: Yes" in both 1.2.6 and 1.2.7 .
>
> Here are the testing page for your references:
> http://202.67.138.64/horde-webmail-1.2.7/imp/test.php
> http://202.67.138.64/horde-webmail-1.2.6/imp/test.php

You should *run* the IMAP test, not just check that the IMAP extension  
is installed.

> In order to let you realize the problem, here I give you a demo account.
> http://202.67.138.64/horde-webmail-1.2.7/
> http://202.67.138.64/horde-webmail-1.2.6/
> Username: [hidden email]
> Password: 3g6FtaqH
>
> PS: Since spammer may look at this post, so that above email server will not
> send out any email.
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: [hidden email]
>



Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Nethub Online
Jan Schneider <jan <at> horde.org> writes:


>
> You should *run* the IMAP test, not just check that the IMAP extension  
> is installed.
>
> Jan.
>

Sorry for my mistake, I entered "202.67.138.64", "[hidden email]" and "3g6FtaqH",
it shows the "imap/notls, Port 143" is "SUCCESS - INBOX has 0 messages (0 new 0
recent)", and both 1.2.6 and 1.2.7 shows the same output (you may try the
testing with above URL as well).

So, does it mean the IMAP extension in my PHP 4 installation is ok?


--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Jan Schneider
Zitat von Nethub Online - Tommy <[hidden email]>:

> Jan Schneider <jan <at> horde.org> writes:
>
>
>>
>> You should *run* the IMAP test, not just check that the IMAP extension
>> is installed.
>>
>> Jan.
>>
>
> Sorry for my mistake, I entered "202.67.138.64", "[hidden email]" and  
> "3g6FtaqH",
> it shows the "imap/notls, Port 143" is "SUCCESS - INBOX has 0  
> messages (0 new 0
> recent)", and both 1.2.6 and 1.2.7 shows the same output (you may try the
> testing with above URL as well).
>
> So, does it mean the IMAP extension in my PHP 4 installation is ok?

If you remove the quotes when replying, we have no idea what the  
original problem was.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Nethub Online
In reply to this post by Jan Schneider
Jan Schneider <jan <at> horde.org> writes:

>
> Zitat von Nethub Online - Tommy <nethubonline <at> gmail.com>:
>
> > Jan Schneider <jan <at> horde.org> writes:
> >>
> >> Try the IMAP tests in imp/test.php. This looks like a broken IMAP
> >> extension in your PHP 4 installation.
> >>
> >> Jan.
> >
> > It shows "IMAP Support: Yes" in both 1.2.6 and 1.2.7 .
> >
> > Here are the testing page for your references:
> > http://202.67.138.64/horde-webmail-1.2.7/imp/test.php
> > http://202.67.138.64/horde-webmail-1.2.6/imp/test.php
>
> You should *run* the IMAP test, not just check that the IMAP extension  
> is installed.
>
> > In order to let you realize the problem, here I give you a demo account.
> > http://202.67.138.64/horde-webmail-1.2.7/
> > http://202.67.138.64/horde-webmail-1.2.6/
> > Username: test <at> test.com
> > Password: 3g6FtaqH
> >
> > PS: Since spammer may look at this post, so that above email server will not
> > send out any email.
> >
> > --
> > Horde mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: horde-unsubscribe <at> lists.horde.org
> >
>
> Jan.
>


Sorry for my mistake.

I entered "202.67.138.64", "[hidden email]" and "3g6FtaqH",
it shows the "imap/notls, Port 143" is "SUCCESS - INBOX has 0 messages (0 new 0
recent)", and both 1.2.6 and 1.2.7 shows the same output (you may try the
testing as well).
http://202.67.138.64/horde-webmail-1.2.7/
http://202.67.138.64/horde-webmail-1.2.6/
Username: test <at> test.com
Password: 3g6FtaqH

So, does it mean the IMAP extension in my PHP 4 installation is ok?












--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Jan Schneider
Zitat von Nethub Online - Tommy <[hidden email]>:

> Jan Schneider <jan <at> horde.org> writes:
>
>>
>> Zitat von Nethub Online - Tommy <nethubonline <at> gmail.com>:
>>
>> > Jan Schneider <jan <at> horde.org> writes:
>> >>
>> >> Try the IMAP tests in imp/test.php. This looks like a broken IMAP
>> >> extension in your PHP 4 installation.
>> >>
>> >> Jan.
>> >
>> > It shows "IMAP Support: Yes" in both 1.2.6 and 1.2.7 .
>> >
>> > Here are the testing page for your references:
>> > http://202.67.138.64/horde-webmail-1.2.7/imp/test.php
>> > http://202.67.138.64/horde-webmail-1.2.6/imp/test.php
>>
>> You should *run* the IMAP test, not just check that the IMAP extension
>> is installed.
>>
>> > In order to let you realize the problem, here I give you a demo account.
>> > http://202.67.138.64/horde-webmail-1.2.7/
>> > http://202.67.138.64/horde-webmail-1.2.6/
>> > Username: test <at> test.com
>> > Password: 3g6FtaqH
>> >
>> > PS: Since spammer may look at this post, so that above email  
>> server will not
>> > send out any email.
>> >
>> > --
>> > Horde mailing list
>> > Frequently Asked Questions: http://horde.org/faq/
>> > To unsubscribe, mail: horde-unsubscribe <at> lists.horde.org
>> >
>>
>> Jan.
>>
>
>
> Sorry for my mistake.
>
> I entered "202.67.138.64", "[hidden email]" and "3g6FtaqH",
> it shows the "imap/notls, Port 143" is "SUCCESS - INBOX has 0  
> messages (0 new 0
> recent)", and both 1.2.6 and 1.2.7 shows the same output (you may try the
> testing as well).
> http://202.67.138.64/horde-webmail-1.2.7/
> http://202.67.138.64/horde-webmail-1.2.6/
> Username: test <at> test.com
> Password: 3g6FtaqH
>
> So, does it mean the IMAP extension in my PHP 4 installation is ok?

It means that you can login with your IMAP extension.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Nethub Online
2010/12/27 Jan Schneider <[hidden email]>

> Zitat von Nethub Online - Tommy <[hidden email]>:
>
>
>  Jan Schneider <jan <at> horde.org> writes:
>>
>>
>>> Zitat von Nethub Online - Tommy <nethubonline <at> gmail.com>:
>>>
>>> > Jan Schneider <jan <at> horde.org> writes:
>>> >>
>>> >> Try the IMAP tests in imp/test.php. This looks like a broken IMAP
>>> >> extension in your PHP 4 installation.
>>> >>
>>> >> Jan.
>>> >
>>> > It shows "IMAP Support: Yes" in both 1.2.6 and 1.2.7 .
>>> >
>>> > Here are the testing page for your references:
>>> > http://202.67.138.64/horde-webmail-1.2.7/imp/test.php
>>> > http://202.67.138.64/horde-webmail-1.2.6/imp/test.php
>>>
>>> You should *run* the IMAP test, not just check that the IMAP extension
>>> is installed.
>>>
>>> > In order to let you realize the problem, here I give you a demo
>>> account.
>>> > http://202.67.138.64/horde-webmail-1.2.7/
>>> > http://202.67.138.64/horde-webmail-1.2.6/
>>> > Username: test <at> test.com
>>> > Password: 3g6FtaqH
>>> >
>>> > PS: Since spammer may look at this post, so that above email server
>>> will not
>>> > send out any email.
>>> >
>>> > --
>>> > Horde mailing list
>>> > Frequently Asked Questions: http://horde.org/faq/
>>> > To unsubscribe, mail: horde-unsubscribe <at> lists.horde.org
>>> >
>>>
>>> Jan.
>>>
>>>
>>
>> Sorry for my mistake.
>>
>> I entered "202.67.138.64", "[hidden email]" and "3g6FtaqH",
>> it shows the "imap/notls, Port 143" is "SUCCESS - INBOX has 0 messages (0
>> new 0
>> recent)", and both 1.2.6 and 1.2.7 shows the same output (you may try the
>> testing as well).
>> http://202.67.138.64/horde-webmail-1.2.7/
>> http://202.67.138.64/horde-webmail-1.2.6/
>> Username: test <at> test.com
>> Password: 3g6FtaqH
>>
>> So, does it mean the IMAP extension in my PHP 4 installation is ok?
>>
>
> It means that you can login with your IMAP extension.
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: [hidden email]
>

Yes, I can. So, do you have any idea on the  blank page problem with
1.2.7/1.2.8/1.2.9?
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Jan Schneider
Zitat von Nethub Online <[hidden email]>:

> 2010/12/27 Jan Schneider <[hidden email]>
>
>> Zitat von Nethub Online - Tommy <[hidden email]>:
>>
>>
>>  Jan Schneider <jan <at> horde.org> writes:
>>>
>>>
>>>> Zitat von Nethub Online - Tommy <nethubonline <at> gmail.com>:
>>>>
>>>> > Jan Schneider <jan <at> horde.org> writes:
>>>> >>
>>>> >> Try the IMAP tests in imp/test.php. This looks like a broken IMAP
>>>> >> extension in your PHP 4 installation.
>>>> >>
>>>> >> Jan.
>>>> >
>>>> > It shows "IMAP Support: Yes" in both 1.2.6 and 1.2.7 .
>>>> >
>>>> > Here are the testing page for your references:
>>>> > http://202.67.138.64/horde-webmail-1.2.7/imp/test.php
>>>> > http://202.67.138.64/horde-webmail-1.2.6/imp/test.php
>>>>
>>>> You should *run* the IMAP test, not just check that the IMAP extension
>>>> is installed.
>>>>
>>>> > In order to let you realize the problem, here I give you a demo
>>>> account.
>>>> > http://202.67.138.64/horde-webmail-1.2.7/
>>>> > http://202.67.138.64/horde-webmail-1.2.6/
>>>> > Username: test <at> test.com
>>>> > Password: 3g6FtaqH
>>>> >
>>>> > PS: Since spammer may look at this post, so that above email server
>>>> will not
>>>> > send out any email.
>>>> >
>>>> > --
>>>> > Horde mailing list
>>>> > Frequently Asked Questions: http://horde.org/faq/
>>>> > To unsubscribe, mail: horde-unsubscribe <at> lists.horde.org
>>>> >
>>>>
>>>> Jan.
>>>>
>>>>
>>>
>>> Sorry for my mistake.
>>>
>>> I entered "202.67.138.64", "[hidden email]" and "3g6FtaqH",
>>> it shows the "imap/notls, Port 143" is "SUCCESS - INBOX has 0 messages (0
>>> new 0
>>> recent)", and both 1.2.6 and 1.2.7 shows the same output (you may try the
>>> testing as well).
>>> http://202.67.138.64/horde-webmail-1.2.7/
>>> http://202.67.138.64/horde-webmail-1.2.6/
>>> Username: test <at> test.com
>>> Password: 3g6FtaqH
>>>
>>> So, does it mean the IMAP extension in my PHP 4 installation is ok?
>>>
>>
>> It means that you can login with your IMAP extension.
>>
>> Jan.
>>
>> --
>> Do you need professional PHP or Horde consulting?
>> http://horde.org/consulting/
>>
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: [hidden email]
>>
>
> Yes, I can. So, do you have any idea on the  blank page problem with
> 1.2.7/1.2.8/1.2.9?

Ah, that was the original problem. No. Did you check  
http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod?

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Nethub Online
2010/12/27 Jan Schneider <[hidden email]>

> Zitat von Nethub Online <[hidden email]>:
>
>
>  2010/12/27 Jan Schneider <[hidden email]>
>>
>>  Zitat von Nethub Online - Tommy <[hidden email]>:
>>>
>>>
>>>  Jan Schneider <jan <at> horde.org> writes:
>>>
>>>>
>>>>
>>>>  Zitat von Nethub Online - Tommy <nethubonline <at> gmail.com>:
>>>>>
>>>>> > Jan Schneider <jan <at> horde.org> writes:
>>>>> >>
>>>>> >> Try the IMAP tests in imp/test.php. This looks like a broken IMAP
>>>>> >> extension in your PHP 4 installation.
>>>>> >>
>>>>> >> Jan.
>>>>> >
>>>>> > It shows "IMAP Support: Yes" in both 1.2.6 and 1.2.7 .
>>>>> >
>>>>> > Here are the testing page for your references:
>>>>> > http://202.67.138.64/horde-webmail-1.2.7/imp/test.php
>>>>> > http://202.67.138.64/horde-webmail-1.2.6/imp/test.php
>>>>>
>>>>> You should *run* the IMAP test, not just check that the IMAP extension
>>>>> is installed.
>>>>>
>>>>> > In order to let you realize the problem, here I give you a demo
>>>>> account.
>>>>> > http://202.67.138.64/horde-webmail-1.2.7/
>>>>> > http://202.67.138.64/horde-webmail-1.2.6/
>>>>> > Username: test <at> test.com
>>>>> > Password: 3g6FtaqH
>>>>> >
>>>>> > PS: Since spammer may look at this post, so that above email server
>>>>> will not
>>>>> > send out any email.
>>>>> >
>>>>> > --
>>>>> > Horde mailing list
>>>>> > Frequently Asked Questions: http://horde.org/faq/
>>>>> > To unsubscribe, mail: horde-unsubscribe <at> lists.horde.org
>>>>> >
>>>>>
>>>>> Jan.
>>>>>
>>>>>
>>>>>
>>>> Sorry for my mistake.
>>>>
>>>> I entered "202.67.138.64", "[hidden email]" and "3g6FtaqH",
>>>> it shows the "imap/notls, Port 143" is "SUCCESS - INBOX has 0 messages
>>>> (0
>>>> new 0
>>>> recent)", and both 1.2.6 and 1.2.7 shows the same output (you may try
>>>> the
>>>> testing as well).
>>>> http://202.67.138.64/horde-webmail-1.2.7/
>>>> http://202.67.138.64/horde-webmail-1.2.6/
>>>> Username: test <at> test.com
>>>> Password: 3g6FtaqH
>>>>
>>>> So, does it mean the IMAP extension in my PHP 4 installation is ok?
>>>>
>>>>
>>> It means that you can login with your IMAP extension.
>>>
>>> Jan.
>>>
>>> --
>>> Do you need professional PHP or Horde consulting?
>>> http://horde.org/consulting/
>>>
>>>
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: [hidden email]
>>>
>>>
>> Yes, I can. So, do you have any idea on the  blank page problem with
>> 1.2.7/1.2.8/1.2.9?
>>
>
> Ah, that was the original problem. No. Did you check
> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod?
>
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: [hidden email]
>

Yes, sure. I have mentioned on 14 Dec that I checked
http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod and did forced the php.ini
to log down the error and change the config/conf.php to
"$conf['debug_level'] = E_ALL;" , I now tested in another PHP4 enviroment
it shows the similar errors as below:

*There is no problem if it is version 1.2.6 , so I don't think the problem
is related to PHP installation or IMAP extension problem.*

Ah.......would you simply test it in a PHP4 environment with version 1.2.7
or newer? You will encounter the problem immediately so that you can believe
me that I have told you all info regarding to the problem.

*==> error log <==*
[client 123.123.123.123] PHP Warning:  reset(): Passed variable is not
an array or object in
/var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
referer: http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
[client 123.123.123.123] PHP Warning:  Invalid argument supplied for
foreach() in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
on line 496, referer:
http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
[client 123.123.123.123] PHP Fatal error:  Unsupported operand types
in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line
333, referer: http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
[client 123.123.123.123] PHP Warning:  reset(): Passed variable is not
an array or object in
/var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
referer: http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
[client 123.123.123.123] PHP Warning:  Invalid argument supplied for
foreach() in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
on line 496, referer:
http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
[client 123.123.123.123] PHP Fatal error:  Unsupported operand types
in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line
333, referer: http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1

*==> access log <==*
123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
HTTP/1.1" 200 419
"http://202.67.138.65/horde-webmail-1.2.7/imp/login.php" "Mozilla/4.0
(compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR
2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC
6.0; .NET4.0C)"
123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
/horde-webmail-1.2.7/services/portal/sidebar.php HTTP/1.1" 200 26
"http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1"
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
Media Center PC 6.0; .NET4.0C)"
123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
/horde-webmail-1.2.7/imp/mailbox.php?mailbox=INBOX&mailbox_token=t3OBt9A5K6ieKVqWLi5yD-2J_fQ&no_newmail_popup=1&frameset_loaded=1
HTTP/1.1" 200 26
"http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1"
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
Media Center PC 6.0; .NET4.0C)"


Hm......there is one more hint:
If I install the horde in PHP4 environment by ./scripts/setup.php and
execute "(1) Configure database settings", it will show below error.
Hence, I run "(1) Configure database settings" again in PHP5, and then
move back to PHP4 server to run "(2) Create database or tables" and no
error any more.
I think Horde is supporting PHP4 so below error is not expected as
well, isn't it?

Writing main configuration file
PHP Fatal error:  Call to undefined function:  first_child() in
/var/www/html/horde-webmail-1.2.5/lib/Horde/Config.php on line 153

Fatal error: Call to undefined function:  first_child() in
/var/www/html/horde-webmail-1.2.5/lib/Horde/Config.php on line 153
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Jan Schneider
Zitat von Nethub Online <[hidden email]>:

> 2010/12/27 Jan Schneider <[hidden email]>
>
>> Zitat von Nethub Online <[hidden email]>:
>>
>>
>>  2010/12/27 Jan Schneider <[hidden email]>
>>>
>>>  Zitat von Nethub Online - Tommy <[hidden email]>:
>>>>
>>>>
>>>>  Jan Schneider <jan <at> horde.org> writes:
>>>>
>>>>>
>>>>>
>>>>>  Zitat von Nethub Online - Tommy <nethubonline <at> gmail.com>:
>>>>>>
>>>>>> > Jan Schneider <jan <at> horde.org> writes:
>>>>>> >>
>>>>>> >> Try the IMAP tests in imp/test.php. This looks like a broken IMAP
>>>>>> >> extension in your PHP 4 installation.
>>>>>> >>
>>>>>> >> Jan.
>>>>>> >
>>>>>> > It shows "IMAP Support: Yes" in both 1.2.6 and 1.2.7 .
>>>>>> >
>>>>>> > Here are the testing page for your references:
>>>>>> > http://202.67.138.64/horde-webmail-1.2.7/imp/test.php
>>>>>> > http://202.67.138.64/horde-webmail-1.2.6/imp/test.php
>>>>>>
>>>>>> You should *run* the IMAP test, not just check that the IMAP extension
>>>>>> is installed.
>>>>>>
>>>>>> > In order to let you realize the problem, here I give you a demo
>>>>>> account.
>>>>>> > http://202.67.138.64/horde-webmail-1.2.7/
>>>>>> > http://202.67.138.64/horde-webmail-1.2.6/
>>>>>> > Username: test <at> test.com
>>>>>> > Password: 3g6FtaqH
>>>>>> >
>>>>>> > PS: Since spammer may look at this post, so that above email server
>>>>>> will not
>>>>>> > send out any email.
>>>>>> >
>>>>>> > --
>>>>>> > Horde mailing list
>>>>>> > Frequently Asked Questions: http://horde.org/faq/
>>>>>> > To unsubscribe, mail: horde-unsubscribe <at> lists.horde.org
>>>>>> >
>>>>>>
>>>>>> Jan.
>>>>>>
>>>>>>
>>>>>>
>>>>> Sorry for my mistake.
>>>>>
>>>>> I entered "202.67.138.64", "[hidden email]" and "3g6FtaqH",
>>>>> it shows the "imap/notls, Port 143" is "SUCCESS - INBOX has 0 messages
>>>>> (0
>>>>> new 0
>>>>> recent)", and both 1.2.6 and 1.2.7 shows the same output (you may try
>>>>> the
>>>>> testing as well).
>>>>> http://202.67.138.64/horde-webmail-1.2.7/
>>>>> http://202.67.138.64/horde-webmail-1.2.6/
>>>>> Username: test <at> test.com
>>>>> Password: 3g6FtaqH
>>>>>
>>>>> So, does it mean the IMAP extension in my PHP 4 installation is ok?
>>>>>
>>>>>
>>>> It means that you can login with your IMAP extension.
>>>>
>>>> Jan.
>>>>
>>>> --
>>>> Do you need professional PHP or Horde consulting?
>>>> http://horde.org/consulting/
>>>>
>>>>
>>>> --
>>>> Horde mailing list
>>>> Frequently Asked Questions: http://horde.org/faq/
>>>> To unsubscribe, mail: [hidden email]
>>>>
>>>>
>>> Yes, I can. So, do you have any idea on the  blank page problem with
>>> 1.2.7/1.2.8/1.2.9?
>>>
>>
>> Ah, that was the original problem. No. Did you check
>> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod?
>>
>>
>> Jan.
>>
>> --
>> Do you need professional PHP or Horde consulting?
>> http://horde.org/consulting/
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: [hidden email]
>>
>
> Yes, sure. I have mentioned on 14 Dec that I checked
> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod and did forced the php.ini
> to log down the error and change the config/conf.php to
> "$conf['debug_level'] = E_ALL;" , I now tested in another PHP4 enviroment
> it shows the similar errors as below:
>
> *There is no problem if it is version 1.2.6 , so I don't think the problem
> is related to PHP installation or IMAP extension problem.*
>
> Ah.......would you simply test it in a PHP4 environment with version 1.2.7
> or newer? You will encounter the problem immediately so that you can believe
> me that I have told you all info regarding to the problem.
>
> *==> error log <==*
> [client 123.123.123.123] PHP Warning:  reset(): Passed variable is not
> an array or object in
> /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
> referer:  
> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
> [client 123.123.123.123] PHP Warning:  Invalid argument supplied for
> foreach() in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
> on line 496, referer:
> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
> [client 123.123.123.123] PHP Fatal error:  Unsupported operand types
> in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line
> 333, referer:  
> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
> [client 123.123.123.123] PHP Warning:  reset(): Passed variable is not
> an array or object in
> /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
> referer:  
> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
> [client 123.123.123.123] PHP Warning:  Invalid argument supplied for
> foreach() in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
> on line 496, referer:
> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
> [client 123.123.123.123] PHP Fatal error:  Unsupported operand types
> in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line
> 333, referer:  
> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>
> *==> access log <==*
> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
> /horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
> HTTP/1.1" 200 419
> "http://202.67.138.65/horde-webmail-1.2.7/imp/login.php" "Mozilla/4.0
> (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR
> 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC
> 6.0; .NET4.0C)"
> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
> /horde-webmail-1.2.7/services/portal/sidebar.php HTTP/1.1" 200 26
> "http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1"
> "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
> Media Center PC 6.0; .NET4.0C)"
> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
> /horde-webmail-1.2.7/imp/mailbox.php?mailbox=INBOX&mailbox_token=t3OBt9A5K6ieKVqWLi5yD-2J_fQ&no_newmail_popup=1&frameset_loaded=1
> HTTP/1.1" 200 26
> "http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1"
> "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
> Media Center PC 6.0; .NET4.0C)"
>
>
> Hm......there is one more hint:
> If I install the horde in PHP4 environment by ./scripts/setup.php and
> execute "(1) Configure database settings", it will show below error.
> Hence, I run "(1) Configure database settings" again in PHP5, and then
> move back to PHP4 server to run "(2) Create database or tables" and no
> error any more.
> I think Horde is supporting PHP4 so below error is not expected as
> well, isn't it?
>
> Writing main configuration file
> PHP Fatal error:  Call to undefined function:  first_child() in
> /var/www/html/horde-webmail-1.2.5/lib/Horde/Config.php on line 153

This means that you have a broken PHP installation, mixing old PHP  
versions with newer XML extensions or vice versa.

> Fatal error: Call to undefined function:  first_child() in
> /var/www/html/horde-webmail-1.2.5/lib/Horde/Config.php on line 153
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: [hidden email]
>

Also, what's up with  
http://202.67.138.64/horde-webmail-1.2.7/test.php? It shows a blank  
screen too. Why?

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Nethub Online
2010/12/28 Jan Schneider <[hidden email]>

> Zitat von Nethub Online <[hidden email]>:
>
>  2010/12/27 Jan Schneider <[hidden email]>
>>
>>  Zitat von Nethub Online <[hidden email]>:
>>>
>>>
>>>  2010/12/27 Jan Schneider <[hidden email]>
>>>
>>>>
>>>>  Zitat von Nethub Online - Tommy <[hidden email]>:
>>>>
>>>>>
>>>>>
>>>>>  Jan Schneider <jan <at> horde.org> writes:
>>>>>
>>>>>
>>>>>>
>>>>>>  Zitat von Nethub Online - Tommy <nethubonline <at> gmail.com>:
>>>>>>
>>>>>>>
>>>>>>> > Jan Schneider <jan <at> horde.org> writes:
>>>>>>> >>
>>>>>>> >> Try the IMAP tests in imp/test.php. This looks like a broken IMAP
>>>>>>> >> extension in your PHP 4 installation.
>>>>>>> >>
>>>>>>> >> Jan.
>>>>>>> >
>>>>>>> > It shows "IMAP Support: Yes" in both 1.2.6 and 1.2.7 .
>>>>>>> >
>>>>>>> > Here are the testing page for your references:
>>>>>>> > http://202.67.138.64/horde-webmail-1.2.7/imp/test.php
>>>>>>> > http://202.67.138.64/horde-webmail-1.2.6/imp/test.php
>>>>>>>
>>>>>>> You should *run* the IMAP test, not just check that the IMAP
>>>>>>> extension
>>>>>>> is installed.
>>>>>>>
>>>>>>> > In order to let you realize the problem, here I give you a demo
>>>>>>> account.
>>>>>>> > http://202.67.138.64/horde-webmail-1.2.7/
>>>>>>> > http://202.67.138.64/horde-webmail-1.2.6/
>>>>>>> > Username: test <at> test.com
>>>>>>> > Password: 3g6FtaqH
>>>>>>> >
>>>>>>> > PS: Since spammer may look at this post, so that above email server
>>>>>>> will not
>>>>>>> > send out any email.
>>>>>>> >
>>>>>>> > --
>>>>>>> > Horde mailing list
>>>>>>> > Frequently Asked Questions: http://horde.org/faq/
>>>>>>> > To unsubscribe, mail: horde-unsubscribe <at> lists.horde.org
>>>>>>> >
>>>>>>>
>>>>>>> Jan.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>  Sorry for my mistake.
>>>>>>
>>>>>> I entered "202.67.138.64", "[hidden email]" and "3g6FtaqH",
>>>>>> it shows the "imap/notls, Port 143" is "SUCCESS - INBOX has 0 messages
>>>>>> (0
>>>>>> new 0
>>>>>> recent)", and both 1.2.6 and 1.2.7 shows the same output (you may try
>>>>>> the
>>>>>> testing as well).
>>>>>> http://202.67.138.64/horde-webmail-1.2.7/
>>>>>> http://202.67.138.64/horde-webmail-1.2.6/
>>>>>> Username: test <at> test.com
>>>>>> Password: 3g6FtaqH
>>>>>>
>>>>>> So, does it mean the IMAP extension in my PHP 4 installation is ok?
>>>>>>
>>>>>>
>>>>>>  It means that you can login with your IMAP extension.
>>>>>
>>>>> Jan.
>>>>>
>>>>> --
>>>>> Do you need professional PHP or Horde consulting?
>>>>> http://horde.org/consulting/
>>>>>
>>>>>
>>>>> --
>>>>> Horde mailing list
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: [hidden email]
>>>>>
>>>>>
>>>>>  Yes, I can. So, do you have any idea on the  blank page problem with
>>>> 1.2.7/1.2.8/1.2.9?
>>>>
>>>>
>>> Ah, that was the original problem. No. Did you check
>>> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod?
>>>
>>>
>>> Jan.
>>>
>>> --
>>> Do you need professional PHP or Horde consulting?
>>> http://horde.org/consulting/
>>>
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: [hidden email]
>>>
>>>
>> Yes, sure. I have mentioned on 14 Dec that I checked
>> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod and did forced the
>> php.ini
>> to log down the error and change the config/conf.php to
>> "$conf['debug_level'] = E_ALL;" , I now tested in another PHP4 enviroment
>> it shows the similar errors as below:
>>
>> *There is no problem if it is version 1.2.6 , so I don't think the problem
>> is related to PHP installation or IMAP extension problem.*
>>
>> Ah.......would you simply test it in a PHP4 environment with version 1.2.7
>> or newer? You will encounter the problem immediately so that you can
>> believe
>> me that I have told you all info regarding to the problem.
>>
>> *==> error log <==*
>> [client 123.123.123.123] PHP Warning:  reset(): Passed variable is not
>> an array or object in
>> /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
>> referer:
>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>> [client 123.123.123.123] PHP Warning:  Invalid argument supplied for
>> foreach() in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>> on line 496, referer:
>>
>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>> [client 123.123.123.123] PHP Fatal error:  Unsupported operand types
>> in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line
>> 333, referer:
>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>> [client 123.123.123.123] PHP Warning:  reset(): Passed variable is not
>> an array or object in
>> /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
>> referer:
>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>> [client 123.123.123.123] PHP Warning:  Invalid argument supplied for
>> foreach() in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>> on line 496, referer:
>>
>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>> [client 123.123.123.123] PHP Fatal error:  Unsupported operand types
>> in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line
>> 333, referer:
>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>
>> *==> access log <==*
>> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
>>
>> /horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>> HTTP/1.1" 200 419
>> "http://202.67.138.65/horde-webmail-1.2.7/imp/login.php" "Mozilla/4.0
>> (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR
>> 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC
>> 6.0; .NET4.0C)"
>> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
>> /horde-webmail-1.2.7/services/portal/sidebar.php HTTP/1.1" 200 26
>> "
>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>> "
>> "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
>> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
>> Media Center PC 6.0; .NET4.0C)"
>> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
>>
>> /horde-webmail-1.2.7/imp/mailbox.php?mailbox=INBOX&mailbox_token=t3OBt9A5K6ieKVqWLi5yD-2J_fQ&no_newmail_popup=1&frameset_loaded=1
>> HTTP/1.1" 200 26
>> "
>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>> "
>> "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
>> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
>> Media Center PC 6.0; .NET4.0C)"
>>
>>
>> Hm......there is one more hint:
>> If I install the horde in PHP4 environment by ./scripts/setup.php and
>> execute "(1) Configure database settings", it will show below error.
>> Hence, I run "(1) Configure database settings" again in PHP5, and then
>> move back to PHP4 server to run "(2) Create database or tables" and no
>> error any more.
>> I think Horde is supporting PHP4 so below error is not expected as
>> well, isn't it?
>>
>> Writing main configuration file
>> PHP Fatal error:  Call to undefined function:  first_child() in
>> /var/www/html/horde-webmail-1.2.5/lib/Horde/Config.php on line 153
>>
>
> This means that you have a broken PHP installation, mixing old PHP versions
> with newer XML extensions or vice versa.
>
>  Fatal error: Call to undefined function:  first_child() in
>> /var/www/html/horde-webmail-1.2.5/lib/Horde/Config.php on line 153
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: [hidden email]
>>
>>
> Also, what's up with http://202.67.138.64/horde-webmail-1.2.7/test.php? It
> shows a blank screen too. Why?
>
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: [hidden email]
>

Hi Jan,

Yeah! I got what is the reason to cause such problem, here is the result:

1. "lib/Test.php" line 330 of 698, there is "@" which hides all error so
that the test.php is blank, and that is why I cannot get any error from
server log
$result = @include_once $val['path'];

2. after I removed the "@" sign, it shows error :
*Parse error*: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION
or T_FUNCTION or T_VAR or '}' in *
/home/httpd/html/htdocs/horde-webmail-1.2.7/pear/php/Net/DNS/Resolver.php*on
line
*241

*3. "pear/php/Net/DNS/Resolver.php" line 241 of 1428, I think this line is
the main problem to cause the error, after I removed this line (yes, whole
line), test.php becomes not blank, and I can login without getting blank
page problem as well. But I don't know whether deleting the line will raise
another problem or not......So, can it be fixed in new release?*
*    static $parsedfiles = array();*

*4. Besides the blank page problem, while I use ./scripts/setup.php to write
the configuration file (Also PHP4 environment), it shows error below, can it
be fixed as well? Should I submit a new post for this?

**Writing main configuration file
PHP Fatal error:  Call to undefined function:  first_child() in
/home/httpd/html/htdocs/horde-webmail-1.2.9/lib/Horde/Config.php on line 153

Fatal error: Call to undefined function:  first_child() in
/home/httpd/html/htdocs/horde-webmail-1.2.9/lib/Horde/Config.php on line 153
*
*
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Jan Schneider
Zitat von Nethub Online <[hidden email]>:

> 2010/12/28 Jan Schneider <[hidden email]>
>
>> Zitat von Nethub Online <[hidden email]>:
>>
>>  2010/12/27 Jan Schneider <[hidden email]>
>>>
>>>  Zitat von Nethub Online <[hidden email]>:
>>>>
>>>>
>>>>  2010/12/27 Jan Schneider <[hidden email]>
>>>>
>>>>>
>>>>>  Zitat von Nethub Online - Tommy <[hidden email]>:
>>>>>
>>>>>>
>>>>>>
>>>>>>  Jan Schneider <jan <at> horde.org> writes:
>>>>>>
>>>>>>
>>>>>>>
>>>>>>>  Zitat von Nethub Online - Tommy <nethubonline <at> gmail.com>:
>>>>>>>
>>>>>>>>
>>>>>>>> > Jan Schneider <jan <at> horde.org> writes:
>>>>>>>> >>
>>>>>>>> >> Try the IMAP tests in imp/test.php. This looks like a broken IMAP
>>>>>>>> >> extension in your PHP 4 installation.
>>>>>>>> >>
>>>>>>>> >> Jan.
>>>>>>>> >
>>>>>>>> > It shows "IMAP Support: Yes" in both 1.2.6 and 1.2.7 .
>>>>>>>> >
>>>>>>>> > Here are the testing page for your references:
>>>>>>>> > http://202.67.138.64/horde-webmail-1.2.7/imp/test.php
>>>>>>>> > http://202.67.138.64/horde-webmail-1.2.6/imp/test.php
>>>>>>>>
>>>>>>>> You should *run* the IMAP test, not just check that the IMAP
>>>>>>>> extension
>>>>>>>> is installed.
>>>>>>>>
>>>>>>>> > In order to let you realize the problem, here I give you a demo
>>>>>>>> account.
>>>>>>>> > http://202.67.138.64/horde-webmail-1.2.7/
>>>>>>>> > http://202.67.138.64/horde-webmail-1.2.6/
>>>>>>>> > Username: test <at> test.com
>>>>>>>> > Password: 3g6FtaqH
>>>>>>>> >
>>>>>>>> > PS: Since spammer may look at this post, so that above email server
>>>>>>>> will not
>>>>>>>> > send out any email.
>>>>>>>> >
>>>>>>>> > --
>>>>>>>> > Horde mailing list
>>>>>>>> > Frequently Asked Questions: http://horde.org/faq/
>>>>>>>> > To unsubscribe, mail: horde-unsubscribe <at> lists.horde.org
>>>>>>>> >
>>>>>>>>
>>>>>>>> Jan.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Sorry for my mistake.
>>>>>>>
>>>>>>> I entered "202.67.138.64", "[hidden email]" and "3g6FtaqH",
>>>>>>> it shows the "imap/notls, Port 143" is "SUCCESS - INBOX has 0 messages
>>>>>>> (0
>>>>>>> new 0
>>>>>>> recent)", and both 1.2.6 and 1.2.7 shows the same output (you may try
>>>>>>> the
>>>>>>> testing as well).
>>>>>>> http://202.67.138.64/horde-webmail-1.2.7/
>>>>>>> http://202.67.138.64/horde-webmail-1.2.6/
>>>>>>> Username: test <at> test.com
>>>>>>> Password: 3g6FtaqH
>>>>>>>
>>>>>>> So, does it mean the IMAP extension in my PHP 4 installation is ok?
>>>>>>>
>>>>>>>
>>>>>>>  It means that you can login with your IMAP extension.
>>>>>>
>>>>>> Jan.
>>>>>>
>>>>>> --
>>>>>> Do you need professional PHP or Horde consulting?
>>>>>> http://horde.org/consulting/
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Horde mailing list
>>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>>> To unsubscribe, mail: [hidden email]
>>>>>>
>>>>>>
>>>>>>  Yes, I can. So, do you have any idea on the  blank page problem with
>>>>> 1.2.7/1.2.8/1.2.9?
>>>>>
>>>>>
>>>> Ah, that was the original problem. No. Did you check
>>>> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod?
>>>>
>>>>
>>>> Jan.
>>>>
>>>> --
>>>> Do you need professional PHP or Horde consulting?
>>>> http://horde.org/consulting/
>>>>
>>>> --
>>>> Horde mailing list
>>>> Frequently Asked Questions: http://horde.org/faq/
>>>> To unsubscribe, mail: [hidden email]
>>>>
>>>>
>>> Yes, sure. I have mentioned on 14 Dec that I checked
>>> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod and did forced the
>>> php.ini
>>> to log down the error and change the config/conf.php to
>>> "$conf['debug_level'] = E_ALL;" , I now tested in another PHP4 enviroment
>>> it shows the similar errors as below:
>>>
>>> *There is no problem if it is version 1.2.6 , so I don't think the problem
>>> is related to PHP installation or IMAP extension problem.*
>>>
>>> Ah.......would you simply test it in a PHP4 environment with version 1.2.7
>>> or newer? You will encounter the problem immediately so that you can
>>> believe
>>> me that I have told you all info regarding to the problem.
>>>
>>> *==> error log <==*
>>> [client 123.123.123.123] PHP Warning:  reset(): Passed variable is not
>>> an array or object in
>>> /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
>>> referer:
>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>> [client 123.123.123.123] PHP Warning:  Invalid argument supplied for
>>> foreach() in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>>> on line 496, referer:
>>>
>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>> [client 123.123.123.123] PHP Fatal error:  Unsupported operand types
>>> in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line
>>> 333, referer:
>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>> [client 123.123.123.123] PHP Warning:  reset(): Passed variable is not
>>> an array or object in
>>> /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
>>> referer:
>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>> [client 123.123.123.123] PHP Warning:  Invalid argument supplied for
>>> foreach() in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>>> on line 496, referer:
>>>
>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>> [client 123.123.123.123] PHP Fatal error:  Unsupported operand types
>>> in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line
>>> 333, referer:
>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>
>>> *==> access log <==*
>>> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
>>>
>>> /horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>> HTTP/1.1" 200 419
>>> "http://202.67.138.65/horde-webmail-1.2.7/imp/login.php" "Mozilla/4.0
>>> (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR
>>> 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC
>>> 6.0; .NET4.0C)"
>>> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
>>> /horde-webmail-1.2.7/services/portal/sidebar.php HTTP/1.1" 200 26
>>> "
>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>> "
>>> "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
>>> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
>>> Media Center PC 6.0; .NET4.0C)"
>>> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
>>>
>>> /horde-webmail-1.2.7/imp/mailbox.php?mailbox=INBOX&mailbox_token=t3OBt9A5K6ieKVqWLi5yD-2J_fQ&no_newmail_popup=1&frameset_loaded=1
>>> HTTP/1.1" 200 26
>>> "
>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>> "
>>> "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
>>> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
>>> Media Center PC 6.0; .NET4.0C)"
>>>
>>>
>>> Hm......there is one more hint:
>>> If I install the horde in PHP4 environment by ./scripts/setup.php and
>>> execute "(1) Configure database settings", it will show below error.
>>> Hence, I run "(1) Configure database settings" again in PHP5, and then
>>> move back to PHP4 server to run "(2) Create database or tables" and no
>>> error any more.
>>> I think Horde is supporting PHP4 so below error is not expected as
>>> well, isn't it?
>>>
>>> Writing main configuration file
>>> PHP Fatal error:  Call to undefined function:  first_child() in
>>> /var/www/html/horde-webmail-1.2.5/lib/Horde/Config.php on line 153
>>>
>>
>> This means that you have a broken PHP installation, mixing old PHP versions
>> with newer XML extensions or vice versa.
>>
>>  Fatal error: Call to undefined function:  first_child() in
>>> /var/www/html/horde-webmail-1.2.5/lib/Horde/Config.php on line 153
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: [hidden email]
>>>
>>>
>> Also, what's up with http://202.67.138.64/horde-webmail-1.2.7/test.php? It
>> shows a blank screen too. Why?
>
> Hi Jan,
>
> Yeah! I got what is the reason to cause such problem, here is the result:
>
> 1. "lib/Test.php" line 330 of 698, there is "@" which hides all error so
> that the test.php is blank, and that is why I cannot get any error from
> server log
> $result = @include_once $val['path'];
>
> 2. after I removed the "@" sign, it shows error :
> *Parse error*: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION
> or T_FUNCTION or T_VAR or '}' in *
> /home/httpd/html/htdocs/horde-webmail-1.2.7/pear/php/Net/DNS/Resolver.php*on
> line
> *241
>
> *3. "pear/php/Net/DNS/Resolver.php" line 241 of 1428, I think this line is
> the main problem to cause the error, after I removed this line (yes, whole
> line), test.php becomes not blank, and I can login without getting blank
> page problem as well. But I don't know whether deleting the line will raise
> another problem or not......So, can it be fixed in new release?*
> *    static $parsedfiles = array();*

Looks like this was a bug in the version of Net_DNS that we bundle  
with Horde Groupware: http://pear.php.net/bugs/bug.php?id=17988
You can upgrade that package yourself though:  
http://wiki.horde.org/GroupwarePEAR

> *4. Besides the blank page problem, while I use ./scripts/setup.php to write
> the configuration file (Also PHP4 environment), it shows error below, can it
> be fixed as well? Should I submit a new post for this?
>
> **Writing main configuration file
> PHP Fatal error:  Call to undefined function:  first_child() in
> /home/httpd/html/htdocs/horde-webmail-1.2.9/lib/Horde/Config.php on line 153
>
> Fatal error: Call to undefined function:  first_child() in
> /home/httpd/html/htdocs/horde-webmail-1.2.9/lib/Horde/Config.php on line 153

See my answer to your last message.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Nethub Online
2010/12/29 Jan Schneider <[hidden email]>

> Zitat von Nethub Online <[hidden email]>:
>
>  2010/12/28 Jan Schneider <[hidden email]>
>>
>>  Zitat von Nethub Online <[hidden email]>:
>>>
>>>  2010/12/27 Jan Schneider <[hidden email]>
>>>
>>>>
>>>>  Zitat von Nethub Online <[hidden email]>:
>>>>
>>>>>
>>>>>
>>>>>  2010/12/27 Jan Schneider <[hidden email]>
>>>>>
>>>>>
>>>>>>  Zitat von Nethub Online - Tommy <[hidden email]>:
>>>>>>
>>>>>>
>>>>>>>
>>>>>>>  Jan Schneider <jan <at> horde.org> writes:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>  Zitat von Nethub Online - Tommy <nethubonline <at> gmail.com>:
>>>>>>>>
>>>>>>>>
>>>>>>>>> > Jan Schneider <jan <at> horde.org> writes:
>>>>>>>>> >>
>>>>>>>>> >> Try the IMAP tests in imp/test.php. This looks like a broken
>>>>>>>>> IMAP
>>>>>>>>> >> extension in your PHP 4 installation.
>>>>>>>>> >>
>>>>>>>>> >> Jan.
>>>>>>>>> >
>>>>>>>>> > It shows "IMAP Support: Yes" in both 1.2.6 and 1.2.7 .
>>>>>>>>> >
>>>>>>>>> > Here are the testing page for your references:
>>>>>>>>> > http://202.67.138.64/horde-webmail-1.2.7/imp/test.php
>>>>>>>>> > http://202.67.138.64/horde-webmail-1.2.6/imp/test.php
>>>>>>>>>
>>>>>>>>> You should *run* the IMAP test, not just check that the IMAP
>>>>>>>>> extension
>>>>>>>>> is installed.
>>>>>>>>>
>>>>>>>>> > In order to let you realize the problem, here I give you a demo
>>>>>>>>> account.
>>>>>>>>> > http://202.67.138.64/horde-webmail-1.2.7/
>>>>>>>>> > http://202.67.138.64/horde-webmail-1.2.6/
>>>>>>>>> > Username: test <at> test.com
>>>>>>>>> > Password: 3g6FtaqH
>>>>>>>>> >
>>>>>>>>> > PS: Since spammer may look at this post, so that above email
>>>>>>>>> server
>>>>>>>>> will not
>>>>>>>>> > send out any email.
>>>>>>>>> >
>>>>>>>>> > --
>>>>>>>>> > Horde mailing list
>>>>>>>>> > Frequently Asked Questions: http://horde.org/faq/
>>>>>>>>> > To unsubscribe, mail: horde-unsubscribe <at> lists.horde.org
>>>>>>>>> >
>>>>>>>>>
>>>>>>>>> Jan.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  Sorry for my mistake.
>>>>>>>>>
>>>>>>>>
>>>>>>>> I entered "202.67.138.64", "[hidden email]" and "3g6FtaqH",
>>>>>>>> it shows the "imap/notls, Port 143" is "SUCCESS - INBOX has 0
>>>>>>>> messages
>>>>>>>> (0
>>>>>>>> new 0
>>>>>>>> recent)", and both 1.2.6 and 1.2.7 shows the same output (you may
>>>>>>>> try
>>>>>>>> the
>>>>>>>> testing as well).
>>>>>>>> http://202.67.138.64/horde-webmail-1.2.7/
>>>>>>>> http://202.67.138.64/horde-webmail-1.2.6/
>>>>>>>> Username: test <at> test.com
>>>>>>>> Password: 3g6FtaqH
>>>>>>>>
>>>>>>>> So, does it mean the IMAP extension in my PHP 4 installation is ok?
>>>>>>>>
>>>>>>>>
>>>>>>>>  It means that you can login with your IMAP extension.
>>>>>>>>
>>>>>>>
>>>>>>> Jan.
>>>>>>>
>>>>>>> --
>>>>>>> Do you need professional PHP or Horde consulting?
>>>>>>> http://horde.org/consulting/
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Horde mailing list
>>>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>>>> To unsubscribe, mail: [hidden email]
>>>>>>>
>>>>>>>
>>>>>>>  Yes, I can. So, do you have any idea on the  blank page problem with
>>>>>>>
>>>>>> 1.2.7/1.2.8/1.2.9?
>>>>>>
>>>>>>
>>>>>>  Ah, that was the original problem. No. Did you check
>>>>> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod?
>>>>>
>>>>>
>>>>> Jan.
>>>>>
>>>>> --
>>>>> Do you need professional PHP or Horde consulting?
>>>>> http://horde.org/consulting/
>>>>>
>>>>> --
>>>>> Horde mailing list
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: [hidden email]
>>>>>
>>>>>
>>>>>  Yes, sure. I have mentioned on 14 Dec that I checked
>>>> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod and did forced the
>>>> php.ini
>>>> to log down the error and change the config/conf.php to
>>>> "$conf['debug_level'] = E_ALL;" , I now tested in another PHP4
>>>> enviroment
>>>> it shows the similar errors as below:
>>>>
>>>> *There is no problem if it is version 1.2.6 , so I don't think the
>>>> problem
>>>> is related to PHP installation or IMAP extension problem.*
>>>>
>>>> Ah.......would you simply test it in a PHP4 environment with version
>>>> 1.2.7
>>>> or newer? You will encounter the problem immediately so that you can
>>>> believe
>>>> me that I have told you all info regarding to the problem.
>>>>
>>>> *==> error log <==*
>>>> [client 123.123.123.123] PHP Warning:  reset(): Passed variable is not
>>>> an array or object in
>>>> /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
>>>> referer:
>>>>
>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>> [client 123.123.123.123] PHP Warning:  Invalid argument supplied for
>>>> foreach() in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>>>> on line 496, referer:
>>>>
>>>>
>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>> [client 123.123.123.123] PHP Fatal error:  Unsupported operand types
>>>> in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line
>>>> 333, referer:
>>>>
>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>> [client 123.123.123.123] PHP Warning:  reset(): Passed variable is not
>>>> an array or object in
>>>> /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
>>>> referer:
>>>>
>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>> [client 123.123.123.123] PHP Warning:  Invalid argument supplied for
>>>> foreach() in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>>>> on line 496, referer:
>>>>
>>>>
>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>> [client 123.123.123.123] PHP Fatal error:  Unsupported operand types
>>>> in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line
>>>> 333, referer:
>>>>
>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>>
>>>> *==> access log <==*
>>>> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
>>>>
>>>>
>>>> /horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>> HTTP/1.1" 200 419
>>>> "http://202.67.138.65/horde-webmail-1.2.7/imp/login.php" "Mozilla/4.0
>>>> (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR
>>>> 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC
>>>> 6.0; .NET4.0C)"
>>>> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
>>>> /horde-webmail-1.2.7/services/portal/sidebar.php HTTP/1.1" 200 26
>>>> "
>>>>
>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>> "
>>>> "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
>>>> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
>>>> Media Center PC 6.0; .NET4.0C)"
>>>> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
>>>>
>>>>
>>>> /horde-webmail-1.2.7/imp/mailbox.php?mailbox=INBOX&mailbox_token=t3OBt9A5K6ieKVqWLi5yD-2J_fQ&no_newmail_popup=1&frameset_loaded=1
>>>> HTTP/1.1" 200 26
>>>> "
>>>>
>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>> "
>>>> "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
>>>> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
>>>> Media Center PC 6.0; .NET4.0C)"
>>>>
>>>>
>>>> Hm......there is one more hint:
>>>> If I install the horde in PHP4 environment by ./scripts/setup.php and
>>>> execute "(1) Configure database settings", it will show below error.
>>>> Hence, I run "(1) Configure database settings" again in PHP5, and then
>>>> move back to PHP4 server to run "(2) Create database or tables" and no
>>>> error any more.
>>>> I think Horde is supporting PHP4 so below error is not expected as
>>>> well, isn't it?
>>>>
>>>> Writing main configuration file
>>>> PHP Fatal error:  Call to undefined function:  first_child() in
>>>> /var/www/html/horde-webmail-1.2.5/lib/Horde/Config.php on line 153
>>>>
>>>>
>>> This means that you have a broken PHP installation, mixing old PHP
>>> versions
>>> with newer XML extensions or vice versa.
>>>
>>>  Fatal error: Call to undefined function:  first_child() in
>>>
>>>> /var/www/html/horde-webmail-1.2.5/lib/Horde/Config.php on line 153
>>>> --
>>>> Horde mailing list
>>>> Frequently Asked Questions: http://horde.org/faq/
>>>> To unsubscribe, mail: [hidden email]
>>>>
>>>>
>>>>  Also, what's up with http://202.67.138.64/horde-webmail-1.2.7/test.php?
>>> It
>>> shows a blank screen too. Why?
>>>
>>
>> Hi Jan,
>>
>> Yeah! I got what is the reason to cause such problem, here is the result:
>>
>> 1. "lib/Test.php" line 330 of 698, there is "@" which hides all error so
>> that the test.php is blank, and that is why I cannot get any error from
>> server log
>> $result = @include_once $val['path'];
>>
>> 2. after I removed the "@" sign, it shows error :
>> *Parse error*: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION
>> or T_FUNCTION or T_VAR or '}' in *
>>
>> /home/httpd/html/htdocs/horde-webmail-1.2.7/pear/php/Net/DNS/Resolver.php*on
>> line
>> *241
>>
>> *3. "pear/php/Net/DNS/Resolver.php" line 241 of 1428, I think this line is
>> the main problem to cause the error, after I removed this line (yes, whole
>> line), test.php becomes not blank, and I can login without getting blank
>> page problem as well. But I don't know whether deleting the line will
>> raise
>> another problem or not......So, can it be fixed in new release?*
>> *    static $parsedfiles = array();*
>>
>
> Looks like this was a bug in the version of Net_DNS that we bundle with
> Horde Groupware: http://pear.php.net/bugs/bug.php?id=17988
> You can upgrade that package yourself though:
> http://wiki.horde.org/GroupwarePEAR
>
>  *4. Besides the blank page problem, while I use ./scripts/setup.php to
>> write
>>
>> the configuration file (Also PHP4 environment), it shows error below, can
>> it
>> be fixed as well? Should I submit a new post for this?
>>
>> **Writing main configuration file
>> PHP Fatal error:  Call to undefined function:  first_child() in
>> /home/httpd/html/htdocs/horde-webmail-1.2.9/lib/Horde/Config.php on line
>> 153
>>
>> Fatal error: Call to undefined function:  first_child() in
>> /home/httpd/html/htdocs/horde-webmail-1.2.9/lib/Horde/Config.php on line
>> 153
>>
>
> See my answer to your last message.
>
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: [hidden email]
>

Thanks Jan,

I have upgraded the pear package already, and successful log is here:
# pear -c horde.ini upgrade Net_DNS
downloading Net_DNS-1.0.7.tgz ...
Starting to download Net_DNS-1.0.7.tgz (32,647 bytes)
.........done: 32,647 bytes
upgrade ok: channel://pear.php.net/Net_DNS-1.0.7


But the problem cannot be solved, still blank screen, and found problem as
below, is it a known bug or ?

# php -l pear/php/Net/DNS/Packet.php
<br />
<b>Parse error</b>:  parse error, unexpected T_CONST, expecting
T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in
<b>/var/www/html/horde-webmail-1.2.7/pear/php/Net/DNS/Packet.php</b> on line
<b>125</b><br />
Errors parsing pear/php/Net/DNS/Packet.php
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Horde Groupware Webmail Edition 1.2.7/1.2.8/1.2.9 with PHP4 shows blank page after login

Jan Schneider
Zitat von Nethub Online <[hidden email]>:

> 2010/12/29 Jan Schneider <[hidden email]>
>
>> Zitat von Nethub Online <[hidden email]>:
>>
>>  2010/12/28 Jan Schneider <[hidden email]>
>>>
>>>  Zitat von Nethub Online <[hidden email]>:
>>>>
>>>>  2010/12/27 Jan Schneider <[hidden email]>
>>>>
>>>>>
>>>>>  Zitat von Nethub Online <[hidden email]>:
>>>>>
>>>>>>
>>>>>>
>>>>>>  2010/12/27 Jan Schneider <[hidden email]>
>>>>>>
>>>>>>
>>>>>>>  Zitat von Nethub Online - Tommy <[hidden email]>:
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>>  Jan Schneider <jan <at> horde.org> writes:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>  Zitat von Nethub Online - Tommy <nethubonline <at> gmail.com>:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> > Jan Schneider <jan <at> horde.org> writes:
>>>>>>>>>> >>
>>>>>>>>>> >> Try the IMAP tests in imp/test.php. This looks like a broken
>>>>>>>>>> IMAP
>>>>>>>>>> >> extension in your PHP 4 installation.
>>>>>>>>>> >>
>>>>>>>>>> >> Jan.
>>>>>>>>>> >
>>>>>>>>>> > It shows "IMAP Support: Yes" in both 1.2.6 and 1.2.7 .
>>>>>>>>>> >
>>>>>>>>>> > Here are the testing page for your references:
>>>>>>>>>> > http://202.67.138.64/horde-webmail-1.2.7/imp/test.php
>>>>>>>>>> > http://202.67.138.64/horde-webmail-1.2.6/imp/test.php
>>>>>>>>>>
>>>>>>>>>> You should *run* the IMAP test, not just check that the IMAP
>>>>>>>>>> extension
>>>>>>>>>> is installed.
>>>>>>>>>>
>>>>>>>>>> > In order to let you realize the problem, here I give you a demo
>>>>>>>>>> account.
>>>>>>>>>> > http://202.67.138.64/horde-webmail-1.2.7/
>>>>>>>>>> > http://202.67.138.64/horde-webmail-1.2.6/
>>>>>>>>>> > Username: test <at> test.com
>>>>>>>>>> > Password: 3g6FtaqH
>>>>>>>>>> >
>>>>>>>>>> > PS: Since spammer may look at this post, so that above email
>>>>>>>>>> server
>>>>>>>>>> will not
>>>>>>>>>> > send out any email.
>>>>>>>>>> >
>>>>>>>>>> > --
>>>>>>>>>> > Horde mailing list
>>>>>>>>>> > Frequently Asked Questions: http://horde.org/faq/
>>>>>>>>>> > To unsubscribe, mail: horde-unsubscribe <at> lists.horde.org
>>>>>>>>>> >
>>>>>>>>>>
>>>>>>>>>> Jan.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>  Sorry for my mistake.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> I entered "202.67.138.64", "[hidden email]" and "3g6FtaqH",
>>>>>>>>> it shows the "imap/notls, Port 143" is "SUCCESS - INBOX has 0
>>>>>>>>> messages
>>>>>>>>> (0
>>>>>>>>> new 0
>>>>>>>>> recent)", and both 1.2.6 and 1.2.7 shows the same output (you may
>>>>>>>>> try
>>>>>>>>> the
>>>>>>>>> testing as well).
>>>>>>>>> http://202.67.138.64/horde-webmail-1.2.7/
>>>>>>>>> http://202.67.138.64/horde-webmail-1.2.6/
>>>>>>>>> Username: test <at> test.com
>>>>>>>>> Password: 3g6FtaqH
>>>>>>>>>
>>>>>>>>> So, does it mean the IMAP extension in my PHP 4 installation is ok?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  It means that you can login with your IMAP extension.
>>>>>>>>>
>>>>>>>>
>>>>>>>> Jan.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Do you need professional PHP or Horde consulting?
>>>>>>>> http://horde.org/consulting/
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Horde mailing list
>>>>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>>>>> To unsubscribe, mail: [hidden email]
>>>>>>>>
>>>>>>>>
>>>>>>>>  Yes, I can. So, do you have any idea on the  blank page problem with
>>>>>>>>
>>>>>>> 1.2.7/1.2.8/1.2.9?
>>>>>>>
>>>>>>>
>>>>>>>  Ah, that was the original problem. No. Did you check
>>>>>> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod?
>>>>>>
>>>>>>
>>>>>> Jan.
>>>>>>
>>>>>> --
>>>>>> Do you need professional PHP or Horde consulting?
>>>>>> http://horde.org/consulting/
>>>>>>
>>>>>> --
>>>>>> Horde mailing list
>>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>>> To unsubscribe, mail: [hidden email]
>>>>>>
>>>>>>
>>>>>>  Yes, sure. I have mentioned on 14 Dec that I checked
>>>>> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod and did forced the
>>>>> php.ini
>>>>> to log down the error and change the config/conf.php to
>>>>> "$conf['debug_level'] = E_ALL;" , I now tested in another PHP4
>>>>> enviroment
>>>>> it shows the similar errors as below:
>>>>>
>>>>> *There is no problem if it is version 1.2.6 , so I don't think the
>>>>> problem
>>>>> is related to PHP installation or IMAP extension problem.*
>>>>>
>>>>> Ah.......would you simply test it in a PHP4 environment with version
>>>>> 1.2.7
>>>>> or newer? You will encounter the problem immediately so that you can
>>>>> believe
>>>>> me that I have told you all info regarding to the problem.
>>>>>
>>>>> *==> error log <==*
>>>>> [client 123.123.123.123] PHP Warning:  reset(): Passed variable is not
>>>>> an array or object in
>>>>> /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
>>>>> referer:
>>>>>
>>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>>> [client 123.123.123.123] PHP Warning:  Invalid argument supplied for
>>>>> foreach() in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>>>>> on line 496, referer:
>>>>>
>>>>>
>>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>>> [client 123.123.123.123] PHP Fatal error:  Unsupported operand types
>>>>> in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line
>>>>> 333, referer:
>>>>>
>>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>>> [client 123.123.123.123] PHP Warning:  reset(): Passed variable is not
>>>>> an array or object in
>>>>> /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line 249,
>>>>> referer:
>>>>>
>>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>>> [client 123.123.123.123] PHP Warning:  Invalid argument supplied for
>>>>> foreach() in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php
>>>>> on line 496, referer:
>>>>>
>>>>>
>>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>>> [client 123.123.123.123] PHP Fatal error:  Unsupported operand types
>>>>> in /var/www/html/horde-webmail-1.2.7/imp/lib/IMAP/Tree.php on line
>>>>> 333, referer:
>>>>>
>>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>>>
>>>>> *==> access log <==*
>>>>> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
>>>>>
>>>>>
>>>>> /horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>>> HTTP/1.1" 200 419
>>>>> "http://202.67.138.65/horde-webmail-1.2.7/imp/login.php" "Mozilla/4.0
>>>>> (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR
>>>>> 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC
>>>>> 6.0; .NET4.0C)"
>>>>> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
>>>>> /horde-webmail-1.2.7/services/portal/sidebar.php HTTP/1.1" 200 26
>>>>> "
>>>>>
>>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>>> "
>>>>> "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
>>>>> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
>>>>> Media Center PC 6.0; .NET4.0C)"
>>>>> 123.123.123.123 - - [28/Dec/2010:07:30:15 +0300] "GET
>>>>>
>>>>>
>>>>> /horde-webmail-1.2.7/imp/mailbox.php?mailbox=INBOX&mailbox_token=t3OBt9A5K6ieKVqWLi5yD-2J_fQ&no_newmail_popup=1&frameset_loaded=1
>>>>> HTTP/1.1" 200 26
>>>>> "
>>>>>
>>>>> http://202.67.138.65/horde-webmail-1.2.7/index.php?url=http%3A%2F%2F202.67.138.65%2Fhorde-webmail-1.2.7%2Fimp%2Fmailbox.php%3Fmailbox%3DINBOX%26mailbox_token%3Dt3OBt9A5K6ieKVqWLi5yD-2J_fQ%26no_newmail_popup%3D1
>>>>> "
>>>>> "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
>>>>> SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
>>>>> Media Center PC 6.0; .NET4.0C)"
>>>>>
>>>>>
>>>>> Hm......there is one more hint:
>>>>> If I install the horde in PHP4 environment by ./scripts/setup.php and
>>>>> execute "(1) Configure database settings", it will show below error.
>>>>> Hence, I run "(1) Configure database settings" again in PHP5, and then
>>>>> move back to PHP4 server to run "(2) Create database or tables" and no
>>>>> error any more.
>>>>> I think Horde is supporting PHP4 so below error is not expected as
>>>>> well, isn't it?
>>>>>
>>>>> Writing main configuration file
>>>>> PHP Fatal error:  Call to undefined function:  first_child() in
>>>>> /var/www/html/horde-webmail-1.2.5/lib/Horde/Config.php on line 153
>>>>>
>>>>>
>>>> This means that you have a broken PHP installation, mixing old PHP
>>>> versions
>>>> with newer XML extensions or vice versa.
>>>>
>>>>  Fatal error: Call to undefined function:  first_child() in
>>>>
>>>>> /var/www/html/horde-webmail-1.2.5/lib/Horde/Config.php on line 153
>>>>> --
>>>>> Horde mailing list
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: [hidden email]
>>>>>
>>>>>
>>>>>  Also, what's up with http://202.67.138.64/horde-webmail-1.2.7/test.php?
>>>> It
>>>> shows a blank screen too. Why?
>>>>
>>>
>>> Hi Jan,
>>>
>>> Yeah! I got what is the reason to cause such problem, here is the result:
>>>
>>> 1. "lib/Test.php" line 330 of 698, there is "@" which hides all error so
>>> that the test.php is blank, and that is why I cannot get any error from
>>> server log
>>> $result = @include_once $val['path'];
>>>
>>> 2. after I removed the "@" sign, it shows error :
>>> *Parse error*: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION
>>> or T_FUNCTION or T_VAR or '}' in *
>>>
>>> /home/httpd/html/htdocs/horde-webmail-1.2.7/pear/php/Net/DNS/Resolver.php*on
>>> line
>>> *241
>>>
>>> *3. "pear/php/Net/DNS/Resolver.php" line 241 of 1428, I think this line is
>>> the main problem to cause the error, after I removed this line (yes, whole
>>> line), test.php becomes not blank, and I can login without getting blank
>>> page problem as well. But I don't know whether deleting the line will
>>> raise
>>> another problem or not......So, can it be fixed in new release?*
>>> *    static $parsedfiles = array();*
>>>
>>
>> Looks like this was a bug in the version of Net_DNS that we bundle with
>> Horde Groupware: http://pear.php.net/bugs/bug.php?id=17988
>> You can upgrade that package yourself though:
>> http://wiki.horde.org/GroupwarePEAR
>>
>>  *4. Besides the blank page problem, while I use ./scripts/setup.php to
>>> write
>>>
>>> the configuration file (Also PHP4 environment), it shows error below, can
>>> it
>>> be fixed as well? Should I submit a new post for this?
>>>
>>> **Writing main configuration file
>>> PHP Fatal error:  Call to undefined function:  first_child() in
>>> /home/httpd/html/htdocs/horde-webmail-1.2.9/lib/Horde/Config.php on line
>>> 153
>>>
>>> Fatal error: Call to undefined function:  first_child() in
>>> /home/httpd/html/htdocs/horde-webmail-1.2.9/lib/Horde/Config.php on line
>>> 153
>>>
>>
>> See my answer to your last message.
>>
>>
>> Jan.
>>
>> --
>> Do you need professional PHP or Horde consulting?
>> http://horde.org/consulting/
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: [hidden email]
>>
>
> Thanks Jan,
>
> I have upgraded the pear package already, and successful log is here:
> # pear -c horde.ini upgrade Net_DNS
> downloading Net_DNS-1.0.7.tgz ...
> Starting to download Net_DNS-1.0.7.tgz (32,647 bytes)
> .........done: 32,647 bytes
> upgrade ok: channel://pear.php.net/Net_DNS-1.0.7
>
>
> But the problem cannot be solved, still blank screen, and found problem as
> below, is it a known bug or ?
>
> # php -l pear/php/Net/DNS/Packet.php
> <br />
> <b>Parse error</b>:  parse error, unexpected T_CONST, expecting
> T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in
> <b>/var/www/html/horde-webmail-1.2.7/pear/php/Net/DNS/Packet.php</b> on line
> <b>125</b><br />
> Errors parsing pear/php/Net/DNS/Packet.php

Looks like even the latest Net_DNS package is broken. It uses PHP 5  
code while still advertising PHP 4 compatibility. I'm afraid the only  
option is to downgrade that package if you don't want to upgrade PHP.  
You can do this by specifying the exact package version you want to  
use. IIRC the problems started with version 1.0.5, so you might want  
to try:

# pear -c horde.ini upgrade Net_DNS-1.0.4

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [hidden email]
12