[imp] IMP trash option not saving (CVS HEAD) (Modified by Mark Phillips)

Mark Phillips mark at probably.co.uk
Mon May 10 05:58:20 PDT 2004


Hi,

I sent these last week and I've not a heard a peep - I'm wondering if 
they got lost, or genuinely if nobody has any idea what my problem is 
:(

Any help or pointers gratefully received.

Many thanks!

--Mark

> On Monday 03 May 2004 12:37, Mark Phillips wrote:
>
> Hi,
>
>> However, the trash folder setting for IMP refuses to save, always
>> defaulting back to "Create a new trash folder". I'm kinda lost as to 
>> where
>> to look now (I've tried following the MySQL log with a tail, and 
>> looking
>> back over the file, but I can't fathom out where Horde is trying to 
>> save
>> this information).
>
> I've just done a bit more digging around on this. I can see the 
> setting gets
> saved to the database...
>
> mysql> SELECT * FROM horde_prefs WHERE pref_uid = 'user' AND pref_name 
> =
> 'trash_folder' AND (pref_scope = 'imp' OR pref_scope = 'horde');
> +----------------+------------+--------------+-------------+
> | pref_uid       | pref_scope | pref_name    | pref_value  |
> +----------------+------------+--------------+-------------+
> | user | imp        | trash_folder | INBOX/trash |
> +----------------+------------+--------------+-------------+
> 1 row in set (0.00 sec)
>
> And here's the MySQL log information...
>
> 2888 Init DB     horde
> 2888 Query       SELECT 1 FROM horde_prefs WHERE pref_uid = 'user' AND
> pref_name = 'trash_folder' AND (pref_scope = 'imp' OR pref_scope = 
> 'horde')
> 2888 Init DB     horde
> 2888 Query       UPDATE horde_prefs SET pref_value = 'INBOX/trash' 
> WHERE
> pref_uid = 'user' AND pref_name = 'trash_folder' AND pref_scope = 'imp'
>
> But everytime I do this and go back into the preference, it's still 
> the same
> default (see attached screenshot).
>
> Anyone know what's happening here?
>
> Thanks!
>
> --Mark

-- 

> I'm moving my Horde setup from one server (built about a year ago) to 
> a new
> server. Both use the CVS versions, but the older server hasn't been 
> updated
> since installation (how can I get what version is installed to make 
> this post
> a little more helpful?)
>
> Basically, I've dumped the MySQL Horde database (with mysqldump -B 
> --opt) and
> imported to the new server. I've noticed that some tables have changed 
> and
> have run the datatree_mysql.sql script from horde/scripts/db against 
> the
> database. I've also updated the kronolith tables so all my old calendar
> information now shows up.
>
> However, the trash folder setting for IMP refuses to save, always 
> defaulting
> back to "Create a new trash folder". I'm kinda lost as to where to 
> look now
> (I've tried following the MySQL log with a tail, and looking back over 
> the
> file, but I can't fathom out where Horde is trying to save this 
> information).
>
> If somebody knows what's wrong here or can point me in the direction 
> to find
> out more information, it'll be greatly received.
>
> Many thanks,



More information about the imp mailing list