[ postfixadmin-Bugs-3060495 ] split() is deprecated
Brought to you by:
christian_boltz,
gingerdog
|
From: SourceForge.net <no...@so...> - 2010-09-06 16:27:33
|
Bugs item #3060495, was opened at 2010-09-06 18:27 Message generated for change (Tracker Item Submitted) made by christian_boltz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3060495&group_id=191583 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Christian Boltz (christian_boltz) Assigned to: Nobody/Anonymous (nobody) Summary: split() is deprecated Initial Comment: split() is deprecated in PHP 5.3. It is used in - functions.inc.php line 1186 - »$result = split('{|}', $pw_db, 3);« - upgrade.php - 4 times »$all_sql = split("\n", trim("« - several files in tests/simpletest/ The problem is that the use in functions.inc.php causes the login to fail: http://sourceforge.net/projects/postfixadmin/forums/forum/676076/topic/3840323 Workaround: add the following line to config.local.php: ini_set('display_errors', 0); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3060495&group_id=191583 |