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: File fieldtype value not inserting.
Status | Resolved |
Add-on / Version | DataGrab 4.0.5 |
Severity | |
EE Version | EE 7.1.5 |
Kevin Chatel
Sep 28, 2022Here is a snippet of JSON code that I’m using to import into a channel
[
{
"id": 1,
"type": "courtier",
"name": "Chales Andre",
"alias": "1-chales-andre",
"state": 1,
"aliasType": "courtier-immobilier",
"image": "https://www.abcdesf.com/images/stories/Courtierimm/chat.jpg",
"tel": "514-449-9707",
"mail": "andre.chales@nymarkplus.com",
"societe": "Les immeubles Nymark inc.",
"site": "http://123456asd.com/fr/profil/notre-equipe",
}
]
I’ve renamed the paths for security reasons. The image physically exists on the server. There’s a similar issue where the file gets moved to the root directory and the import gets stuck and never completes.
Here is the log message:
12:57:53 09/28/2022 Import #30 Started
12:57:53 09/28/2022 Import #30 Initialized
12:57:53 09/28/2022 Calling ajw_datagrab_pre_import() hook.
12:57:53 09/28/2022 Begin Importing [Chales Andre]
12:57:53 09/28/2022 File not found at path: chat.jpg
12:57:53 09/28/2022 #0 /var/www/html/dev1.condolegal.com/cms_panel/ee/vendor-build/league/flysystem/src/Filesystem.php(234):
Let me know
Thanks
Kevin
BoldMinded (Brian)
Sep 28, 2022
Comment has been marked private.
Kevin Chatel
Sep 28, 2022
Thank you Brian,
Works like a charm. Now I also see the directory tree as well in the add-on for the file filetype.