I am sure this must be a common question. How does one imports a set of contacts from a Horde:IMP:turba environment?
I can export the raw data from the source system into a CVS like file. Is it a simple matter to just use perl:DBI to insert the data into the roundcubemail:contacts table? I have looked at that option and noticed that contacts are referenced via user_id. My roundcube instance already has all the roundcubemail:users table populated. Or is there some php code in the source tree which I can leverage to make the job easier. I have about 5000 contacts or else I could do things manually.
Many thanks in advance.
Russell
Hi,
You may have a look at this plugin:
https://github.com/bithive/import_horde_contacts/
You you have names with accents, pay some attention to the encoding of names (i had to change the code).
On Thu, Feb 2, 2012 at 3:24 PM, Russell Sutherland russ@quist.ca wrote:
I am sure this must be a common question. How does one imports a set of contacts from a Horde:IMP:turba environment?
I can export the raw data from the source system into a CVS like file. Is it a simple matter to just use perl:DBI to insert the data into the roundcubemail:contacts table? I have looked at that option and noticed that contacts are referenced via user_id. My roundcube instance already has all the roundcubemail:users table populated. Or is there some php code in the source tree which I can leverage to make the job easier. I have about 5000 contacts or else I could do things manually.
Many thanks in advance.
Russell
-- Russell Sutherland email: russ@quist.ca cell: +1.416.803.0080 -- List info: http://lists.roundcube.net/users/ BT/5668ede5
Diana Soares <diana.soares@...> writes:
Hi,
You may have a look at this plugin:
https://github.com/bithive/import_horde_contacts/
You you have names with accents, pay some attention to the encoding of names
(i had to change the code).
On Thu, Feb 2, 2012 at 3:24 PM, Russell Sutherland <russ-fZ/
Cmp5XeEc@public.gmane.org> wrote:I am sure this must be a common question. How does one imports a set
of contacts from a Horde:IMP:turba environment? I can export the raw data from the source system into a CVS like file. Is it a simple matter to just use perl:DBI to insert the data into the roundcubemail:contacts table? I have looked at that option and noticed that contacts are referenced via user_id. My roundcube instance already has all the roundcubemail:users table populated. Or is there some php code in the source tree which I can leverage to make the job easier. I have about 5000 contacts or else I could do things manually. Many thanks in advance. Russell -- Russell Sutherland email: russ@quist.ca cell: +1.416.803.0080 -- List info: http://lists.roundcube.net/users/ BT/5668ede5
https://github.com/bithive/import_horde_contacts/
Hi, I tryed this plugin (With roundcube 0.7.1 and 5.0) but does not work. Im a newbie and have not so much skills about php or mysql.
I installed roundcube in /var/www/roundcube. /logs and /temp has 0757, installation says everything is fine. Roundcube works but I cant import the contacts from horde :(
Followed the instructions and added horde db details in config/main.inc.php like:
$rcmail_config['horde_dsn'] = 'mysql:host=localhost;dbname=horde'; $rcmail_config['horde_user'] = 'horde-username'; $rcmail_config['horde_pass'] = 'horde-password';
I receive this error in roundcube/logs/error:
PHP Warning: Error writing to log file /var/www/roundcube/logs/; Please check permissions in /var/www/roundcube/program/include/main.inc on line 2209
I created a file 'import_horde' in logs, nothing changes..
php (5.3.3) says PDO modules is enabled. What can I check or change? The server is centos 5.2, with plesk 10.4.4 control panel.
Thanks in advance, best regards
Mahir
On 27.02.2012 06:19, Mahir Semsur wrote:
I receive this error in roundcube/logs/error:
PHP Warning: Error writing to log file /var/www/roundcube/logs/; Please check permissions in /var/www/roundcube/program/include/main.inc on line 2209
It says that Roundcube is unable to print errors to errors log.
I created a file 'import_horde' in logs, nothing changes..
Keep in mind that new contacts are added only if user doesn't have any contacts in Roundcube database yet.