Skip to content
OpenCart · User manual

Import Export PRO

Version 9.14.16 Product page
Chapter 14

Troubleshooting

The messages and problems that appear most often when installing the extension or running profiles, with their cause and fix.

Installation and access

The extension does not appear after installing (OpenCart 2.x and 3.x)

Refresh the modifications in Extensions → Modifications. On OpenCart 3, refresh the theme cache with the gear button of the dashboard as well, and clear any external cache.

PHP "require" warnings when opening the module

Some files were not uploaded. Upload the content of the upload folder again.

php_zip EXTENSION NEEDS BE ENABLED

The PHP extension zip is missing. Ask your hosting company to enable it.

Error in the Download libraries window

The automatic download exceeded the limits of your server. Upload the libraries by hand as described in Installation.

CURL ERROR NUMBER

Your server cannot connect to https://devmanextensions.com to validate the licence. Ask your hosting company to allow that outgoing connection.

An error appears when converting to InnoDB

The FAQ tab of the extension explains this error. The extension works without InnoDB, but a failed import cannot be undone automatically.

Server limits

The process stops, or you see "Error from server"

The process needs more time or memory than your server allows. The PHP values involved are memory_limit, max_execution_time, upload_max_filesize and post_max_size. The best fix is to ask your hosting company to raise them. You can also try:

Method 1, add or change these lines in admin/php.ini:

memory_limit = 512M
max_execution_time = 800
upload_max_filesize = 240M
post_max_size = 250M

Method 2, create the file admin/.htaccess with:

php_value memory_limit 512M
php_value max_execution_time 800
php_value upload_max_filesize 240M
php_value post_max_size 250M

If your server uses nginx, set these in its configuration file:

proxy_read_timeout 3000;
proxy_connect_timeout 3000;
proxy_send_timeout 3000;
send_timeout 3000;

These are guide values; a large file may need more. To check methods 1 and 2, create a file phpinfo.php in the root of the store containing <?php phpinfo(); ?>, open it in the browser and search for the directive names, then delete the file. If the old values remain, the change must be made in the server configuration.

Long processes are more reliable when launched by CRON jobs.

File larger than the limit set in your server

The file exceeds upload_max_filesize. Raise that value, upload a smaller file, or change the profile so it gets the file from a URL or an external server.

Error saving profile: Exceeded PHP directive max_input_vars

The profile form has more fields than your server accepts. Reduce the numbers in Product related data, or ask your hosting company to raise max_input_vars.

Column mapping is missing

The profile was saved without its columns, usually because of max_input_vars. Open it, review Columns mapping and save it again.

Files and columns

Format mismatch

The file you uploaded does not have the extension saved in the profile. Convert the file or change Format file.

The file uploaded hasn't any column expected by your profile

No header of the file matches a Column name in file of the profile. The message lists both sets. Check spelling, upper and lower case, the CSV delimiter and, in XML, the XML Item node.

XML Node not found in XML data

The XML Item node does not exist in the file. Use Get Main Nodes to pick the right one. Node names are case sensitive.

Empty fields or strange characters after importing

The file is not in UTF-8. Set Force UTF8 encode in the profile.

The value exceeds the maximum number of characters allowed in a cell (32,767)

A text is too long for a spreadsheet cell. Export in another format, or shorten the field with Max Length: or Strip HTML Tags.

Main product identificator doesn't exist in your data

The column chosen in Product identificator is switched off in Columns mapping or is not in the file.

Detected wrong Product ID value, needs to be a numeric value

Switch off the Product ID column and choose another Product identificator, such as the model or the SKU.

Category name is repeated

Two categories have the same name. Rename one of them, or switch on Category tree so categories are identified by their path.

The related product model was not found

A product listed in Products related does not exist yet. Place it in an earlier row of the file.

Option data errors

  • Detected option data in product main row: empty the Option... columns of the main row of the product and put each option value in its own row below.
  • Option doesn't exist (profile Products - Option values): import the options and option values before their assignment to products.

All elements inside this file was skipped

A pre-filter with Skip these matches every row. Review Pre-Filters configuration.

Remote files

Unable to download the import file (HTTP error)

The server of the feed refused the request. Check the Url, set HTTP Authentication if the feed is protected, and try switching Add User-Agent header off or on.

The import file is not valid XML

The feed returned something else, often an HTML error or protection page. Check the same settings as above. If the feed returns old data, switch on Force refresh cache.

FTP errors

  • Error openning FTP connection: check the host and the port.
  • Error login into FTP connection: check user and password.
  • Error downloading FTP file: check the path, the file name without extension and its permissions, and switch on Passive mode.
  • PHP library ssh2 not found: your server cannot use SFTP until that library is installed.

Could not get token (Google Sheets)

The credentials JSON file was not uploaded or is not valid. Repeat the Google Sheets configuration of the profile. Google Sheets needs PHP 7 or higher.

CRON jobs

  • Profile is disabled in CRON configuration: enable its Status in the CRON Jobs tab and save.
  • Profile not found in CRON configuration: add a row for that profile and save.
  • Duplicate profile found: the same profile is in two rows. Keep one.
  • Export profile not compatible with CRON or Import profile not compatible with CRON: the profile downloads to the browser or expects a manual upload. Change its destination or origin.
  • Error: invalid profile_id: the command must end with the numeric ID of the profile.
  • PHP8+ Required (OpenCart 4): the task runs with an older PHP. Use the path of PHP 8 in the command.

Getting help

Use the Support tab of the extension or open a support ticket. Include the profile (Download selected profile), a sample of the file and the text of the error.

Still need help?

Open a support ticket from your account and our team will look at your store with you.