[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4512: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4513: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
Support Incident Tracker Forum • View topic - [ESCALATED] Warning imap_open() expects parameter 4 to be

[ESCALATED] Warning imap_open() expects parameter 4 to be

Discuss and get help installing, using and configuring SiT!

[ESCALATED] Warning imap_open() expects parameter 4 to be

Postby nicdev007 » Thu Oct 15, 2009 4:43 pm

This message appears when you have PHP version 5.2 or later installed. The imap() function has changed since PHP version 5.2 (see http://php2.mirrors-r-us.net/UPDATE_5_2.txt), and the SiT code is not adapted for it yet.

For the moment the workaround is to downgrade to an earlier version of PHP.

The original message in the php error log is:
Warning imap_open() expects parameter 4 to be long

See also http://sitracker.org/wiki/Install_Requirements

Best
Plugin Developer, Contributor, Tester, Obscure Bug Finder
aka "The Bushman", aka "NiceDev"

Life is too short to worry about the things you don't have or cannot do...
User avatar
nicdev007
SiT! Developer
SiT! Developer
 
Posts: 165
Joined: Sun Feb 01, 2009 9:49 pm
Location: France (ex RSA)

Re: Error message: Warning imap_open() expects parameter 4 to be

Postby paulheaney » Sat Feb 20, 2010 6:32 pm

Hi Nico,

Looking at the PHP changelog the've added a fifth parameter to 5.2 (n_retries) this error would occur with all PHP releases as were passing CL_EXPUNGE as a string when it should be an int, when we've got our version control sorted I'll look at a fix.

Cheers
Paul
paulheaney
SiT! Developer
SiT! Developer
 
Posts: 116
Joined: Sun Feb 01, 2009 9:49 pm

Re: Error message: Warning imap_open() expects parameter 4 to be

Postby xerosis » Thu Feb 25, 2010 5:55 pm

Added as Bug 1083 targeted for 3.60.
User avatar
xerosis
SiT! Developer
SiT! Developer
 
Posts: 198
Joined: Sat Jan 24, 2009 10:36 pm


Return to Installing, Configuring and Using SiT!

Who is online

Users browsing this forum: No registered users and 1 guest

cron