[sork] Has anyone else seen this?
Eric Rostetter
eric.rostetter@physics.utexas.edu
Fri Nov 8 04:46:54 2002
Quoting Christopher Crowley <ccrowley@tulane.edu>:
> I changed my version of php to php4.3.2 and now I see this error
> message:
>
> Notice: Use of undefined constant host - assumed 'host' in
> /pathto/htdocs/horde/passwd/config/conf.php on line 21
> Notice: Use of undefined constant host - assumed 'host' in
> /pathto/htdocs/horde/forwards/config/conf.php on line 21
> Notice: Use of undefined constant host - assumed 'host' in
> /pathto/htdocs/horde/vacation/config/conf.php on line 21
Fixed in version 2.1 and in CVS.
> line 21 is:
> $conf['server']['default'] = array(host => 'localhost', port => 21);
Just put single quotes around the words host and port, as in:
$conf['server']['default'] = array('host' => 'localhost', 'port' => 21);
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Why get even? Get odd!
More information about the sork
mailing list