• Updated

This topic is for administrators and developers with administration access rights in Shopware.

This topic describes how to manage integrated-related issues when using Shopware as e-commerce platform with Optimizely Campaign. Find out how to get help with Shopware problems during installation and configuration, and how to initiate the logging of events and executed tasks to monitor operations and to locate error sources.

Installation issues

If problems occur during installation, configuration, and operation that you cannot solve, contact customer support.

Common sources of errors

Problem Possible cause Solution
Customers cannot subscribe to newsletter. The shop system's firewall is blocking the connection to Optimizely Campaign. Check the network configuration for your shop system.
The authorization code of the recipient list is invalid. Check the authorization code of the recipient list and create a new authorization code if necessary.
The opt-in ID is invalid. Check and correct the opt-in-ID.
The catalog export fails. The shop system's firewall is blocking the connection to Optimizely Campaign. Check the network configuration for your shop system.
The private SSH key is incomplete or incorrect. Re-enter the SSH key.
The password for the private SSH key is incomplete or incorrect. Re-enter the password for the private SSH key.


The Shopware integration contains a feature for logging events and executed tasks, including the catalog export. If there are issues with the integration, use log files to find the sources of error. To access the logging, you need to activate a Cron job in Shopware.

Configuring the logging

  1. Log in to the back end of Shopware with administrator rights.
  2. Go to Configuration > Basic settings.

    Image: Basic Settings menu item

  3. Go to System > Cronjobs.

    Image: Select Cronjobs

  4. In the list, find the Cron job optivo ErrorHandler and click Edit .

    Image: Locate and edit cron job

  5. Select the Active check box.

    Image: Activate cron job

  6. In the Interval drop-down list, select a time interval for the Cron job. This is used to determine the intervals at which individual log records are grouped together.

    Image: Select time interval

  7. Click Save.
  8. To activate the Cron job and start logging, invoke the URL. Typically, this is something like http://<your store URL>/backend/cron.

In the list of Cron jobs, you see the entry Processing Optivo ErrorHandler (if the job execution is initiated by its interval settings).

Accessing the back-end log

  1. Select Configuration > Logfile.

    Image: Logfile menu item

  2. Copy the logged events from the list, and click Details (the magnifying glass icon) in the Options column. Entries added by the Shopware integration can be identified by the name optivo under User.

    Image: Details icon

Log files in the system log

The Shopware integration writes messages to the broadmail channel in the System log tab. Here you will find the most recent entries that have not been archived by the Cron job.

Image: System log tab

Click Details (the magnifying glass icon) to see error message details.

Example: The following message indicates that the product export started, but execution failed because a user ID is missing from the Shopware integration settings.

CronJobsSubscriber::onoptivoProductExport: missing export sftp username

To see archived entries, select a log file from the drop-down list next to Download. To save a log file to your computer, click Download.

If you receive PHP programming language error messages, send screenshots of these together with a description of the process that was running when the error occurred to Optimizely  customer support. You may also have to provide Optimizely with the exact error messages in the Linux system log file.