All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Datagrab won’t import images on local server

Status Resolved
Add-on / Version DataGrab 5.0.5
Severity
EE Version 7.3.12

Micah Kohne

Sep 26, 2023

Hi there. I’m doing some testing with importing files in Datagrab via a simple csv file (attached). The entries are being added to EE, but the files are not connecting. Testing this on a remote server seems to work, but on my local dev server, it does not. I’ve tried the three different options for importing images, but no luck. Also, the import log doesn’t seem to show any errors relating to the file import.

As mentioned, I can get this to work remotely, but hoping I could accomplish this on my local server as well. Appreciate any help you can provide. Thanks.

#1

BoldMinded (Brian)

Hi, Micha. I don’t see an attached file. Are the paths to the images full http://… URLs?

#2

Micah Kohne

I’ve tried the image paths both ways, but yes, currently I’m using the full https:// path to the files.

Here are the referenced files:

https://www.dropbox.com/scl/fi/j5e5zcg549pf20dqffvyh/datagrab_test_settings.pdf?rlkey=5k83oojuf5ua9uabmiwvzy2yb&dl=0 https://www.dropbox.com/scl/fi/2xggo8qcpi3kpjn1osddt/DataGrab-import.log?rlkey=zckhs8xug5dwkv1ddkgnb1fkt&dl=0 https://www.dropbox.com/scl/fi/ijvuiez1kcpwsl4v8jzio/test.csv?rlkey=hjlss9gj0wu4xa8da16uchafe&dl=0

#3

BoldMinded (Brian)

Have you tried hosting the images from a non .dev domain? Just wondering if it’s unable to find the files.

#4

BoldMinded (Brian)

Comment has been marked private.

#5

Micah Kohne

Thanks Brian. I tried updating the addon and also pulling for a live (non dev) URL. Seems to be throwing some errors now. Here is the log file: https://www.dropbox.com/scl/fi/2xggo8qcpi3kpjn1osddt/DataGrab-import.log?rlkey=zckhs8xug5dwkv1ddkgnb1fkt&dl=0

#6

BoldMinded (Brian)

What version of PHP are you using?

#7

Micah Kohne

7.4.21

#8

BoldMinded (Brian)

Comment has been marked private.

#9

Micah Kohne

Thanks Brian – that worked!

#10

BoldMinded (Brian)

Huzzah! So it’s importing images now?

#11

Micah Kohne

yeah, seems to be working.

#12

Micah Kohne

Comment has been marked private.

#13

BoldMinded (Brian)

Can you share the log file?

#14

Micah Kohne

Comment has been marked private.

#15

BoldMinded (Brian)

Well, something isn’t right with a custom field:

20:06:37 09/28/2023 Unknown field ChannelEntry.field_id_
20:06:37 09/28/2023 #0 /ee/ExpressionEngine/Service/Model/Query/Select.php(575): ExpressionEngine\Service\Model\Query\Select->translateProperty('field_id_')

Have you tried re-creating the import? Was a field that was in the import recently removed from EE?

#16

Micah Kohne

Comment has been marked private.

#17

BoldMinded (Brian)

Comment has been marked private.

#18

Micah Kohne

Comment has been marked private.

#19

Micah Kohne

Hi Brian – Is it possible to use the Entry ID as a unique identifier to check for duplicates to update? I don’t see that as an option.

#20

BoldMinded (Brian)

That seems kind of risky TBH. If someone adds content and uses an ID that you’re trying to use in an import then that entry might not get imported even if it’s a completely different piece of content.

I’d recommend adding a custom field that stores your own ID for whatever you’re importing (ideally a uuid) and add it to your import file and manage the unique IDs yourself.

#21

Micah Kohne

Comment has been marked private.

#22

Micah Kohne

Comment has been marked private.

#23

BoldMinded (Brian)

Can you create a new ticket since this is seemingly a new/different issue?

#24

Micah Kohne

Comment has been marked private.

Login to reply