Data Import
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Percipio
MSM import does not work
Feature Request
pbBC
|
Posted: 23 July 2013 12:01 PM |
|
|
|
Hi,
I’m trying to import into a channel from site_id=2 but data import always insert the data to site_id=1.
Thanks for your help.
|
|
|
Percipio
|
Posted: 23 July 2013 12:04 PM |
# 1
|
|
Developer
|
Hi, we add this feature in a few days
|
|
|
Percipio
|
Posted: 29 July 2013 06:04 AM |
# 2
|
|
Developer
|
This is added now - version 1.7
|
|
|
pbBC
|
Posted: 01 August 2013 05:26 AM |
# 3
|
|
|
Teh feature doesn’t work for me! No error message is coming up, but there are no entries in the given channel. Need this feature tomorrow…
|
|
|
pbBC
|
Posted: 01 August 2013 05:37 AM |
# 4
|
|
|
I checked the settings and old import settings are working. Setting up a new one for dataimport 1.7 doesn’t work for site_id = 1 either.
|
|
|
Percipio
|
Posted: 01 August 2013 05:49 AM |
# 5
|
|
Developer
|
are you sure you check for the correct site id? if you imported for site_id = 2 and checking on site_id=1? If all is correct can you please check exp_channel_titles table via sql admin or so and see if there are entries created?
|
|
|
pbBC
|
Posted: 01 August 2013 06:12 AM |
# 6
|
|
|
yes there are entries in channel_titles for the right channel_id (53) but for site id 1 and not for 2. In channel_data are the same entries.
this is the entry of the data import settings
a:16:{s:3:"sbt";s:1:"1";s:9:"import_id";s:2:"19";s:12:"remote_table";a:1:{i:0;s:13:"V_gsc_termine";}s:7:"channel";s:2:"53";s:9:"import_if";s:0:"";s:21:"condition_equal_value";s:0:"";s:20:"create_if_not_exists";s:1:"Y";s:20:"delete_if_not_exists";s:1:"N";s:15:"assigned_fields";a:20:{s:5:"title";s:19:"V_gsc_termine.title";s:10:"entry_date";s:18:"V_gsc_termine.time";s:15:"expiration_date";s:0:"";s:6:"status";s:6:"closed";i:333;s:16:"V_gsc_termine.id";i:328;s:0:"";i:325;s:0:"";i:329;s:0:"";i:334;s:0:"";i:335;s:0:"";i:394;s:31:"V_gsc_termine.event_information";i:337;s:0:"";i:336;s:0:"";i:330;s:0:"";i:323;s:0:"";i:324;s:0:"";s:12:"event_agenda";a:1:{i:331;a:8:{i:44;s:0:"";i:38;s:0:"";i:39;s:0:"";i:41;s:0:"";i:40;s:0:"";i:35;s:0:"";i:37;s:0:"";i:36;s:0:"";}}s:12:"event_hotels";a:1:{i:332;a:2:{i:43;s:0:"";i:42;s:0:"";}}s:14:"event_sponsors";a:1:{i:326;a:4:{i:29;s:0:"";i:31;s:0:"";i:30;s:0:"";i:28;s:0:"";}}s:18:"event_mediapartner";a:1:{i:327;a:3:{i:33;s:0:"";i:34;s:0:"";i:32;s:0:"";}}}s:15:"new_entry_title";s:0:"";s:9:"author_id";s:1:"2";s:7:"site_id";s:1:"2";s:15:"member_group_id";s:1:"3";s:12:"remote_field";a:3:{i:24;s:0:"";i:25;s:0:"";i:26;s:0:"";}s:8:"required";a:16:{i:333;s:1:"N";i:328;s:1:"N";i:325;s:1:"N";i:329;s:1:"N";i:334;s:1:"N";i:335;s:1:"N";i:394;s:1:"N";i:337;s:1:"N";i:336;s:1:"N";i:330;s:1:"N";i:323;s:1:"N";i:324;s:1:"N";s:12:"event_agenda";s:1:"N";s:12:"event_hotels";s:1:"N";s:14:"event_sponsors";s:1:"N";s:18:"event_mediapartner";s:1:"N";}s:9:"match_key";s:3:"333";}
|
|
|
pbBC
|
Posted: 01 August 2013 06:26 AM |
# 7
|
|
|
I think I found the problem! Proceeded the dataimport when I was logged in site 1. So i switched to site 2 and tried it again… I think the array merging on line 49 in data_import_process.php does not work properly.
|
|
|
Percipio
|
Posted: 01 August 2013 06:43 AM |
# 8
|
|
Developer
|
I see you set site_id = 2, so if you logged under site_id 1 you can’t browse entries for site_id = 2.
|
|
|
pbBC
|
Posted: 01 August 2013 06:49 AM |
# 9
|
|
|
yes I know but the import is wrong. If I logged under site 1 the channel entries for site 2 is set to site 1 during the import….
|
|
|
Percipio
|
Posted: 01 August 2013 09:14 AM |
# 10
|
|
Developer
|
please try version 1.8
|
|
|