Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.6.5, csv import, extension
- This topic has 5 replies, 2 voices, and was last updated 5 years, 2 months ago by
Steven Zahm.
-
AuthorPosts
-
05/16/2017 at 7:15 pm #423131
Justin Lewis
ParticipantI have an import with 295 entries (296 lines with header) and it always stops after entering the first 100.
I’ve tried deleting the first 100 entries, and it imports the next 100 just fine, but stays on the “Please wait” page, but no more entries are created.
Enable WP_DEBUG gives no extra information. Is there a log somewhere else?
I can send you the file I’m using, but it needs to be private.
05/16/2017 at 7:18 pm #423132Justin Lewis
ParticipantThis reply has been marked as private.05/16/2017 at 7:45 pm #423133Justin Lewis
ParticipantThis reply has been marked as private.05/17/2017 at 8:54 am #423256Steven Zahm
Keymaster@ Justin
Can you disable WP_DEBUG? After you do this, are there any other javascript errors shown in the browser console?
If you can supply me, as a private reply, the CSV file, a WP admin account and the field mapping, I’ll take a look.
At this point I believe there is another plugin or theme causing either a fatal javascript error or causing a PHP error/notice to be output which is correcting the expected json reply.
05/17/2017 at 11:09 am #423280Justin Lewis
ParticipantThis reply has been marked as private.05/17/2017 at 3:09 pm #423315Steven Zahm
Keymaster@ Justin
I was able to import the entire file, but, only after I limited the batch to 20 rows at a time. The import seems to be slow on your webhost. About 1 per second instead of 3–5 a second I would expect.
The speed really is not the issue, but a contributing factor…
The php max execution seems to be set to unlimited so import speed should not matter, but, it seems, the web host is “hard” limiting this to somewhere between 60 and a 100 seconds. My best guess because my local gateway times out after just 60 seconds so I never did get to see the error you did. Assuming 1 import per send leads me to the 100 second guess.
Two things you can check…
- The PHP error log. Something relevant could be recorded there.
- The browser’s console Network requests. Each import batch shows up as a request to admin-ajax.php. After you receive the javascript error, if you navigate to the Network tab look for the last a call to admin-ajax and click it and then click the response tab. That will display the actual message that fail to be parsed as json resulting in the javascript error. NOTE: There could be several admin-ajax.php calls send by the WP heartbeat which come after the call for the batch import so the last call may not be the correct one. You can tell which ones these are because they only take about a half second.
Now of course there are duplicates in the db… I image you plan on simply deleting them so you can import with the image URL, correct?
Hope this helps!
-
AuthorPosts
You must be logged in to reply to this topic.