Unable to import more than 30 records into custom module

Hi everyone,

I am trying to import a total of 6534 records into a custom module I created. Unfortunately, the import always throws an error after a couple of seconds. The error message reads: 404 not found nginx/1.16.1.

When I go to the custom module to check, I always find between 30 - 40 records that have been imported. I have tried importing smaller amounts of records but only found success with any template with 30 or less records. My version of SuiteCRM is Version 7.11.3 Sugar Version 6.5.25 (Build 344).

I have tried Quick Repair & Rebuild and downloading the import template fresh from the module but nothing works.

Appreciate any help in resolving this. It’s driving me nuts every time the import fails.

Thanks
David

I recommend upgrading 7.11.3 to 7.11.9 which is probably coming out this week.

About your problem, the first suspect, especially if this is a new install, is incorrect file ownerships/permissions. Please check these. If you see a lot “undefined” labels throughout the app, this is a sure sign that you need to fix permissions.

Next up, I suggest checking your php.in for some resource limitations that you might want to increase:

memory_limit
max_execution_time
max_post_size
max_upload_size

If any of these is the culprit of the import interruption, you will find a message about it in your PHP log.

Make sure you know how to find your logs.

Thanks so much for your advise! Unfortunately, the 404 error still persists even after modifying the php config.

max_execution_time was set to 3600
max_post_size was set to 10000
max_upload_size was set to unlimited

I’m starting to think a reinstall of SuiteCRM and re-deployment of custom modules is the way to go.