[sork] Re: Failure in setting forward : tempnam() failed!

John Dalbec jpdalbec at ysu.edu
Thu Mar 4 05:40:18 PST 2004


Do you have SAFE MODE turned on?  This breaks tempnam() in 4.3.4.
John

Marcos Vieyra wrote:
> Greetings!
> 
> I currently have IMP installed and working fine on an apache server.  I also
> have successfully
> installed the SORK modules, but cant seem to get forwards or vacation to
> work.
> 
> The page(s) display properly, but when you click on the submit button to
> make the desired
> change, I get the following error across the top of the page:
> 
> Failure in setting forward : tempnam() failed!
> 
> Naturally, forwards arent set nor are vacation messages.  Has anyone seen
> this error before?
> I've spent a good deal of time googling for an answer but cant seem to find
> one.
> 
> Below is relevant configuration information:
> 
> Horde Versions
> 
>     * Horde: 2.2.4
>     * IMP: 3.2.2
>     * Accounts: 2.1
>     * Forwards: 2.2
>     * Passwd: 2.2
>     * Vacation: 2.2
>     * Turba: 1.2.1
> 
>  PHP Version
> 
>     * PHP Version: 4.3.4
> 
> ----------------------------------------------------------------------------
> 
> forwards conf.php (commented lines removed):
> 
> <?php
> /*
>  * forwards Configuration File
>  *
>  * This file contains global configuration settings for forwards. Values
>  * may be safely edited by hand. Use conf.php.dist as a reference.
>  *
>  * Strings should be enclosed in 'quotes'.
>  * Integers should be given literally (without quotes).
>  * Boolean values may be 'true' or 'false'.
>  *
>  * $Horde: forwards/config/conf.php.dist,v 1.1.1.1.2.5 2003/01/20 05:22:29
> ericr Exp $
>  */
> $conf['server']['driver'] = 'forwards';
> 
> $conf['server']['params']['default'] = array(
>     'host' => 'localhost',
>     'port' => 21);
> 
> $conf['user']['refused'] =
> array('root','bin','daemon','adm','lp','shutdown',
>      'halt','uucp','ftp','anonymous','nobody','httpd','operator','guest',
>      'diginext','bind','courier','cyrus','games','kmem','mailnull','man',
>      'mysql','news','postfix','sshd','tty','www');
> 
> $conf['menu']['apps'] = array('accounts');
> ----------------------------------------------------------------------------
> 
> ----------------------------------------------------------------------------
> vacation conf.php (commented lines removed):
> 
> <?php
> /*
>  * vacation Configuration File
>  *
>  * This file contains global configuration settings for vacation. Values
>  * may be safely edited by hand. Use conf.php.dist as a reference.
>  *
>  * Strings should be enclosed in 'quotes'.
>  * Integers should be given literally (without quotes).
>  * Boolean values may be 'true' or 'false'.
>  *
>  * $Horde: vacation/config/conf.php.dist,v 1.1.1.1.2.3 2003/01/20 06:02:52
> ericr Exp $
>  */
> $conf['server']['driver'] = 'forwards';
> 
> $conf['server']['params']['default'] = array(
>       'host' => 'localhost',
>       'port' => 21
> );
> 
> $conf['vacation']['path'] = '/usr/local/bin/vacation';
> 
> $conf['server']['params']['dbtype'] = 'empty';
> 
> $conf['user']['refused'] =
> array('root','bin','daemon','adm','lp','shutdown',
>      'halt','uucp','ftp','anonymous','nobody','httpd','operator','guest',
>      'diginext','bind','courier','cyrus','games','kmem','mailnull','man',
>      'mysql','news','postfix','sshd','tty','www');
> 
> $conf['menu']['apps'] = array('accounts');
> ----------------------------------------------------------------------------
> 
> Thanks in advance for your time and for any suggestions!
> 
> Marcos Vieyra
> 



More information about the sork mailing list