[ postfixadmin-Bugs-3305278 ] Cannot redeclare maildir_name_hook()
Brought to you by:
christian_boltz,
gingerdog
|
From: SourceForge.net <no...@so...> - 2011-05-23 19:23:08
|
Bugs item #3305278, was opened at 2011-05-20 14:25 Message generated for change (Comment added) made by lnxus You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3305278&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: Closed Resolution: None Priority: 5 Private: No Submitted By: Dale Blount (lnxus) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot redeclare maildir_name_hook() Initial Comment: When upgrading 2.3.3 to svn via setup.php: Cannot redeclare maildir_name_hook() (previously declared in /srv/http/postfixadmin-svn-1059/config.inc.php:157) in /srv/http/postfixadmin-svn-1059/config.inc.php on line 163 Commenting out the function and $CONF['maildir_name_hook'] lets it get through setup.php and then adding mailboxes appears to work just fine. ---------------------------------------------------------------------- >Comment By: Dale Blount (lnxus) Date: 2011-05-23 15:23 Message: As hard as I try, I cannot reproduce this any longer... I think it was a bad config diff or something. I've since moved my local settings to config.local.php. ---------------------------------------------------------------------- Comment By: Christian Boltz (christian_boltz) Date: 2011-05-22 07:31 Message: Hmm, it looks like your config.inc.php is somehow broken - I'd guess the example function lost the comment markers (/* ... */), and you have defined a custom hook function. Can you please run "svn diff" on config.inc.php and check if I'm right? (If unsure, post the diff - without database password of course ;-) BTW: You probably want to write your settings to config.local.php - that makes updates easier. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3305278&group_id=191583 |