RO CSVI

How to load a patch file?

| RO CSVI

To load a patch file take the following steps:

  1. Go to Components -> RO CSVI -> Maintenance
  2. Select RO CSVI
  3. Select Load patch file, you now see this screen:
    CSVI Pro load patch file
  4. Click on Browse and select the patch file provided to you by the forum
  5. Click on Continue
  6. Your patch file has now been loaded

Read more ...

Missing fields in RO CSVI

| RO CSVI

Every import and export in RO CSVI works based on fields associated to a specific import or export. The fields tell RO CSVI what kind of information is being processed.

An overview of the fields can be found by going to Maintenance -> Available Fields. It can happen that fields are missing, the list will needs to be updated. There are 2 reasons why fields can go missing:

  1. The list of available fields is not up-to-date
  2. The list of tasks is not up-to-date

The tasks and available fields are closely related because each task contains a list of available fields. All tasks together make up the full list of available fields.

In case RO CSVI supports any custom fields created by the extension you use, it is necessary to update the available fields in CSVI as well after the custom fields have been created. Otherwise RO CSVI doesn't know about the custom fields and thus they can't be used.

Updating the tasks

To update the tasks, follow these steps:

  1. Go to Maintenance -> Tasks in the menu

    Maintenance task menu

  2. Click on Reset to reset the tasks. You do not need to select any tasks. The reset will reset all tasks found in the system.
    Maintenance task reset
  3. The system will ask you if you are sure, confirm by clicking the Reset button.
    Maintenance task reset confirm
  4. The tasks are now reset.

Updating the available fields

To update the available fields, follow these steps:

  1. Go to Maintenance -> Available fields in the menu
    Maintenance available fields menu
  2. Click on Update to start the update of the available fields
    Maintenance available fields update
  3. RO CSVI will start to update the available fields

Conclusion

After the tasks and available fields have been updated they can be used for import and export.

Read more ...

Backup/Restore Templates

| RO CSVI

Backup and Restore templates

Requirements

  • CSVI 6.0+
  • Joomla 2.5+
  • PHP 5.2+

Backup Templates

CSVI provides an option of backing up your templates and restore them whenever needed. It can be done from maintainence tab, select the templates needs to be backedup and the folder path where file has to be stored, click on continue on top corner.

 

Once the Process is completed, CSVI would notify the message with the number of templates and the log information. The path and the name of the backup file name is also displayed with the message.

 

An example of backup file can be seen clicking here

Restore Templates

CSVI provides an option of restoring the templates using the file created on backup process. This helps in saving the time of creating templates again when needed. This can be accomplished using maintainence tab. Choose the XML file generated in backup process and click on continue on top corner

Once the process is complete, CSVI would notify the number of templates restored.

Read more ...

Manage timeouts

| RO CSVI

When doing any kind of import, it is not uncommon to run into timeout problems. There are several reasons for this:

  • The import file is too big for your server settings
  • Retrieving external images takes too much time
  • Incorrect template settings

Why does the server have limits?

The server has limits to prevent you from overloading and possibly bring down the server. This is usual on shared hostings because the hosting provider doesn't want you to trouble your neighbours, same as you don't want your neighbour to bring down the server. If you have a VPS you have more freedom to do what you like as you have more resources available. On a dedicated server you can do as you please as you are the only one on the server, bringing it down will only affect you.

How do I change the server limits?

You can't is the short answer. Hosting providers have these limits in place to make sure the server does not get overloaded on shared hosting accounts. If you have a VPS or dedicated server, you can probably increase the server limits to whatever you have available on your server. Contact your hosting provider on how to do this for your server.

How to change the CSVI import limits?

The import limits used by CSVI can be changed in the template after clicking on the Advanced button. This will show the Limit tab and it's options.

Template limit

By setting the Override system limits to Yes, these settings are activated. On import CSVI will set these settings but this is no guarantee that they will be used. The server can and usually is setup to ignore these settings, on a dedicated server this usually can be used. The advice is not to use these settings unless you are sure they can be used on your server.

The Limit tab contains 2 settings:

  • Lines per import
  • Time between imports
    No need to change this one

The Lines per import is the one we are going to change, as it determines how many lines CSVI should read before restarting. How many lines this needs to be depends on your server. A rule of thumb is that an import run cannot last longer than 30 seconds, so you need to find out how many lines you can process within 30 seconds. A value of 0 means, read the whole file, never restart. Any other value will be the number of lines CSVI processes before restarting.

An example, your file has 5000 lines to import but the import stops at 543 lines because that is what the server can handle in 30 seconds. We set the Lines per import to 400 and save the settings. What happens now is that CSVI process the first 400 lines, waits 5 seconds and restarts. After the restart it reads the next 400 lines, waits 5 seconds and restarts again. This process continues until CSVI has read all 5000 lines and then finalizes the import.

If you find out that with Lines per import set to 400 it still times out, lower the number to 300 and try again. This is always a trial and error process since it all depends on your server.

Large files, what do I need?

You need patience, large files take time to import.

What is the perfect setting for my large file?

There is no answer to this, since it is your file, you will have to test the settings for your file on your server.

Read more ...

Troubleshooting export errors

| RO CSVI

Often when we export files we run into errors. Where to start looking for the cause of the issue and how to solve this?

Checkpoints

Follow these checkpoints to make sure that you have the basics right.

  1. Up-to-date Available Fields
    The list of available fields should be up-to-date before importing starts. If the field list is not up-to-date the import may fail due to missing fields. To update the list of available fields go to Maintenance -> Available Fields -> Click Update
  2. Template enabled
    If a template does not show up in the list of templates to export, the template is not enabled. Go to Templates -> Templates, find your template and click on the icon in the Enabled column or select the template and click Publish in the toolbar.
  3. Template fields enabled
    The export file is empty, this can happen when the template fields are not published. Go to Templates -> Template fields, find your template and check if the fields are enabled.
  4. Export folder writable
    CSVI writes the export data temporarily to a file on the server before it is further processed. The file is placed in the folder tmp/com_csvi/export. The webserver needs to have write access to this folder.
  5. Duplicates in the export file
    It can happen that the export file contains duplicates, this happens because of the selection that needs to be made to export all the requested fields. The solution to this is to group based on the duplicate fields. This can be done on the fields page of the template.

Read more ...