[imp] CVS Imp doesnt save prefs

Jan Schneider jan@horde.org
Thu, 11 Oct 2001 01:43:47 +0200


Zitat von Christophe Zwecker <doc@zwecker.de>:

> Jan Schneider wrote:
> 
> 
> > Did you setup everything in the 'prefs' hash in horde.php?
> > 
> > Jan.
> 
> 
> ah, ok I set it to sql, but how do I set database name and 
> username/password? I copy my old stuff and now it looks like this:
> 
> $conf['prefs']['driver'] = 'sql';
> $conf['prefs']['params'] = array();
> $conf['prefs']['params']['phptype'] = 'mysql';
> $conf['prefs']['params']['hostspec'] = 'localhost';
> $conf['prefs']['params']['username'] = 'xxxx';
> $conf['prefs']['params']['password'] = 'xxxx';
> $conf['prefs']['params']['database'] = 'xxxx';
> $conf['prefs']['params']['table'] = 'horde_prefs';
> 
> but still nothing gets saved, this worked with an 3 month old cvs 
> version of imp...
> 
> anywhere wrong here ?

The database field names have changed in the meantime. If you just use your old 
prefs table you have to rename them according to the new scheme.

Jan.

:::::::::::::::::::::::::::::::::::::::: 
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::