[PHP-DEV] PHP 4.0 Bug #9735 Updated: Mysql / IMAP issues From: danellis <email protected>
Date: 03/15/01

ID: 9735
User Update by: danellis <email protected>
Old-Status: Feedback
Status: Closed
Bug Type: MySQL related
Description: Mysql / IMAP issues

Solution presented in Bug 7816

Thanks.

Previous Comments:
---------------------------------------------------------------------------

[2001-03-15 22:04:53] sniper <email protected>
Please check bug report: #7816
which describes this same problem. You're propably
having that same error in your script.

--Jani

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

[2001-03-14 18:51:59] danellis <email protected>
I will try to attach a script soon. The problem does not seem to happen when a smaller script (20 or so lines) runs, but does when larger ones run (~100 lines). The imap server see's no traffic (tcpdump, which makes sense). I am trying to match it specifically down to a situation, but have noticedthe issue with four different scripts I have created. I have switched to a homegrown fsocket approach in the meantime. I can attach the scripts I am having issues with, if needed. By simply switching the mysql_dbconnect and the imap_open()/imap_createmailbox() calls, the problem occurs and doesn't occur.

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

[2001-03-14 18:37:20] danellis <email protected>
I will try to attach a script soon. The problem does not seem to happen when a smaller script (20 or so lines) runs, but does when larger ones run (~100 lines). The imap server see's no traffic (tcpdump, which makes sense). I am trying to match it specifically down to a situation, but have noticedthe issue with four different scripts I have created. I have switched to a homegrown fsocket approach in the meantime. I can attach the scripts I am having issues with, if needed. By simply switching the mysql_dbconnect and the imap_open()/imap_createmailbox() calls, the problem occurs and doesn't occur.

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

[2001-03-13 22:34:01] sniper <email protected>
Please attach short as possible example script
into this bug report.

--Jani

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

[2001-03-13 22:04:30] danellis <email protected>
WHen using imap and mysql modules together, the imap will fail with a "Unable to find stream error" anytime that the imap_open is called after a mysql_connect call. I am using rpms, all same version. If oyu put the imap calls beore the ysql_connect, no problem, just in that psecific order. I can send specific code if needed.

Dan Ellis

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

The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=9735

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>