Re: [Postfixadmin-devel] Setup error
Brought to you by:
christian_boltz,
gingerdog
From: David G. <da...@co...> - 2011-05-05 22:00:23
|
On 5 May 2011, at 22:26, Geoff Shang wrote: > On Thu, 5 May 2011, Christian Boltz wrote: > >> Please run setup.php?debug=1 to get a more useful error message. > > FYI, I edited config.inc.php with my customisations, and then took its > suggestion of saving it as config.local.php to proof it against upgrades. > But when I ran setup.php, both with and without debug, I got the > following in the error log: > You /might/ have a circular reference there. config.local.php should only contain the variables / settings you wish to override, e.g. orange:~ $ cat src/postfixadmin/trunk/config.local.php <?php $CONF['configured'] = true; $CONF['setup_password'] = 'changeme'; $CONF['postfix_admin_url'] = '/david/postfixadmin/'; // shouldn't need changing. $CONF['postfix_admin_path'] = dirname(__FILE__); // Language config // Language files are located in './languages', change as required.. $CONF['default_language'] = 'en'; // Database Config // mysql = MySQL 3.23 and 4.0, 4.1 or 5 // mysqli = MySQL 4.1+ // pgsql = PostgreSQL $CONF['database_type'] = 'pgsql'; $CONF['database_host'] = 'pgsqlserver'; $CONF['database_user'] = 'dg'; $CONF['database_password'] = 'whatever'; $CONF['database_name'] = 'postfix'; $CONF['database_prefix'] = ''; $CONF['vacation'] = 'YES'; // end file. thanks David. > [Thu May 05 22:40:35 2011] [error] [client ::1] PHP Fatal error: Allowed > memory size of 134217728 bytes exhausted (tried to allocate 30720 bytes) > in /etc/postfixadmin/config.local.php on line 137 > > If I used the original config.inc.php *or* my modified one as that > filename (i.e. not being loaded as config.local.php), it ran just fine. > > Geoff. > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Postfixadmin-devel mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel |