[ postfixadmin-Bugs-2864890 ] Save alias edit
Brought to you by:
christian_boltz,
gingerdog
From: SourceForge.net <no...@so...> - 2009-10-19 00:38:34
|
Bugs item #2864890, was opened at 2009-09-23 11:52 Message generated for change (Comment added) made by christian_boltz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2864890&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: Interface (example) Group: v 2.3 Status: Open Resolution: None >Priority: 4 Private: No Submitted By: Mikael Österberg (mikaelost) Assigned to: Nobody/Anonymous (nobody) Summary: Save alias edit Initial Comment: Warning: in_array() [function.in-array]: Wrong datatype for second argument in /var/www-webmail/postfixadmin/edit-alias.php on line 129 Warning: Cannot modify header information - headers already sent by (output started at /var/www-webmail/postfixadmin/edit-alias.php:129) in /var/www-webmail/postfixadmin/edit-alias.php on line 165 ---------------------------------------------------------------------- >Comment By: Christian Boltz (christian_boltz) Date: 2009-10-19 02:05 Message: Hmm, that looks OK. Unfortunately I don't have an idea what causes your problem because it works for me without the error message, and I also don't see any obvious errors in the code. For debugging, you can add a var_dump($CONF['default_aliases']) in edit-alias.php line 127 (above the foreach block) to ensure the variable has the value it should have. echo'ing $address inside the foreach block might also be interesting. ---------------------------------------------------------------------- Comment By: Mikael Österberg (mikaelost) Date: 2009-09-24 13:55 Message: $CONF['default_aliases'] = array ( 'abuse' => 'ab...@ro...', 'hostmaster' => 'hostmasterArocksolidDOTse', 'postmaster' => 'postmasterArocksolidDOTse', 'webmaster' => 'webmasterArocksolidDOTse' ); No SPMA 4me: In file A is @, DOT is . ---------------------------------------------------------------------- Comment By: Christian Boltz (christian_boltz) Date: 2009-09-24 13:49 Message: edit-alias.php, line 129 is: if (in_array($address, $CONF['default_aliases'])) continue; What is your setting in $CONF['default_aliases'] ? (see config.inc.php / config.local.php) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2864890&group_id=191583 |