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: Importing entries with Structure and Publisher

Status With Customer
Add-on / Version DataGrab 5.2.1
Severity
EE Version 7.4.10

Kevin Chatel

Jun 09, 2024

Hi, I’m not able to create secondary language entries managed in structure while the primary language entries import fine and are tagged EN. I’ve tried with both XML and JSON, they both do not import the secondary language.

Is there a specific process to import into structure managed entries. in both my XML and Json I have (XML Example) 2 open My french language ID is 2

Here is the log file data for one entry, I’ve **** sensitive data. 13:28:52 06/09/2024 RUNNING 13:28:52 06/09/2024 Begin Importing [******] 13:28:52 06/09/2024 Attempting raw file upload of *****.jpg. 13:28:52 06/09/2024 File already exists at path: *******.jpg 13:28:52 06/09/2024 #0 /var/www/html/****/cms_panel/ee/vendor-build/league/flysystem/src/Filesystem.php(73): ExpressionEngine\Dependency\League\Flysystem\Filesystem->assertAbsent()</p> <h1>1 /var/www/html/cae2024.signatureweb.dev/cms_panel/ee/ExpressionEngine/Library/Filesystem/Filesystem.php(176): ExpressionEngine\Dependency\League\Flysystem\Filesystem->writeStream()</h1> <h1>2 /var/www/html/cae2024.signatureweb.dev/cms_panel/ee/legacy/libraries/Upload.php(354): ExpressionEngine\Library\Filesystem\Filesystem->writeStream()</h1> <h1>3 /var/www/html/cae2024.signatureweb.dev/cms_panel/ee/legacy/libraries/Upload.php(112): EE_Upload->do_upload()</h1> <h1>4 /var/www/html/cae2024.signatureweb.dev/cms_panel/user/addons/datagrab/Service/File.php(169): EE_Upload->raw_upload()</h1> <h1>5 /var/www/html/cae2024.signatureweb.dev/cms_panel/user/addons/datagrab/models/datagrab_model.php(1964): BoldMinded\DataGrab\Service\File->fetch()</h1> <h1>6 /var/www/html/cae2024.signatureweb.dev/cms_panel/user/addons/datagrab/fieldtypes/datagrab_file.php(84): Datagrab_model->getFile()</h1> <h1>7 /var/www/html/cae2024.signatureweb.dev/cms_panel/user/addons/datagrab/models/datagrab_model.php(913): Datagrab_file->prepare_post_data()</h1> <h1>8 /var/www/html/cae2024.signatureweb.dev/cms_panel/user/addons/datagrab/Queue/Jobs/ImportItem.php(27): Datagrab_model->importItem()</h1> <h1>9 /var/www/html/cae2024.signatureweb.dev/cms_panel/user/addons/datagrab/vendor-build/illuminate/queue/Jobs/Job.php(84): BoldMinded\DataGrab\Queue\Jobs\ImportItem->fire()</h1> <h1>10 /var/www/html/cae2024.signatureweb.dev/cms_panel/user/addons/datagrab/vendor-build/illuminate/queue/Worker.php(352): BoldMinded\DataGrab\Dependency\Illuminate\Queue\Jobs\Job->fire()</h1> <h1>11 /var/www/html/cae2024.signatureweb.dev/cms_panel/user/addons/datagrab/vendor-build/illuminate/queue/Worker.php(310): BoldMinded\DataGrab\Dependency\Illuminate\Queue\Worker->process()</h1> <h1>12 /var/www/html/cae2024.signatureweb.dev/cms_panel/user/addons/datagrab/vendor-build/illuminate/queue/Worker.php(142): BoldMinded\DataGrab\Dependency\Illuminate\Queue\Worker->runJob()</h1> <h1>13 /var/www/html/cae2024.signatureweb.dev/cms_panel/user/addons/datagrab/models/datagrab_model.php(393): BoldMinded\DataGrab\Dependency\Illuminate\Queue\Worker->daemon()</h1> <h1>14 /var/www/html/cae2024.signatureweb.dev/cms_panel/user/addons/datagrab/mod.datagrab.php(186): Datagrab_model->consumeJobs()</h1> <h1>15 /var/www/html/cae2024.signatureweb.dev/cms_panel/ee/legacy/libraries/Actions.php(181): Datagrab->run_action()</h1> <h1>16 /var/www/html/cae2024.signatureweb.dev/cms_panel/ee/legacy/libraries/Core.php(684): EE_Actions->__construct()</h1> <h1>17 /var/www/html/cae2024.signatureweb.dev/cms_panel/ee/legacy/controllers/ee.php(51): EE_Core->generate_action()</h1> <h1>18 [internal function]: EE->index()</h1> <h1>19 /var/www/html/cae2024.signatureweb.dev/cms_panel/ee/ExpressionEngine/Core/Core.php(268): call_user_func_array()</h1> <h1>20 /var/www/html/cae2024.signatureweb.dev/cms_panel/ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController()</h1> <h1>21 /var/www/html/cae2024.signatureweb.dev/cms_panel/ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run()</h1> <h1>22 /var/www/html/cae2024.signatureweb.dev/index.php(164): require_once('...')</h1> <h1>23</h1> <p>

Let me know if there is a specific flow that needs to be done for it to work. Thanks.

#1

BoldMinded (Brian)

That looks like a file upload error not a language error. Have you tried importing this feed without Publisher installed in a separate environment?

#2

Kevin Chatel

Hi, So what I noticed is if the image that you are trying to fetch from the source is already in the CMS of the same name, then it errors out. This might be a problem as if you are using Publisher and importing supporting languages, there might be images that repeat. Let me know if there is a work around for it. as I have 900 entries to import soon 😉 Thanks

#3

BoldMinded (Brian)

Comment has been marked private.

#4

Kevin Chatel

Comment has been marked private.

#5

Kevin Chatel

Comment has been marked private.

#6

BoldMinded (Brian)

I can’t do much about the file issue thing. I’m surprised you’re getting that error though b/c I’ve repeatedly locally tested importing images from a remote site and it doesn’t error out if the file already exists. You didn’t include an example of your import file, so it’s hard to say if something is incorrect or missing. Can you share a small portion of it? Just 1 entry will do.

#7

BoldMinded (Brian)

and by “can’t do much about the file issue” I mean that DataGrab just calls EE’s native file upload function, so if it’s getting rejected, then it sounds like EE is doing it not DataGrab.

Login to reply