In this article you will receive useful information in terms of the system-tab in the Shopware backend settings. Here we explain in detail the topics service, input filter, backend, passwords and log.
Shopware gives you the opportunity to activate a closure mode for the frontend. If activated the complete frontend is not reachable except for the excluded IP`s which have to be saved in the field IP excluded from closure.
The maintenance mode will only be active in the frontend after you have cleared the store cache. You can do this in the backend under Configuration > Cache / Performance > Clear shop cache.
To do this, you need had to change two settings in the backend. You can call this function in the basic settings at the menu entry System > Service. Activate the closure by setting Closure shop due to maintenance to Yes.
To find out your IP, some external sites offer a special service (E.g. http://www.whatismyip.com/). After you have copied your IP, save it in the field IP excluded from closure: (2). If more than one IP is allowed to enter the frontend, you can enter another IP in the field. In this case use a space as a separator of the ip addresses like this: "192.168.178.100 192.168.178.101". The entry could look this:
The maintenance text, which is displayed in the frontend, can be easily modified in the snippet management. Open the snippets module in the backend under Configuration > Snippets and edit the needed snippet:
|ServiceHeader||Not available due to maintenance!|
|ServiceIndexTitle||Not available due to maintenance!|
|ServiceText||Due to maintenance work, the shop is temporarily not available.|
After modifying the snippets you have to save the changes and clear the shop cache. The snippet supports HTML formatted text and embed images. This means you can also place images into the snippet.
Shopware has a few mechanisms by default to protect you from attacks.
Here you can define a own regex for the InputFilter. Matching request variables won't reach the shop.
The separator is "|".
The regex has to be constructed by the following example:
You should only configure this, when you know what you're doing!
When you activate this, each form input in the frontend is filtered with strip_tags.
This function filters HTML- and PHP-tags for input forms in the frontend.
In this area you can manage the basic settings for your backend.
Never delete the default languages "Deutsch" or "Englisch" - they are vital system languages!
The setting Passwords (1) define the encryption type and the amount of work of the hash value calculation.
The log is a helpful tool especially for developer to track error messages in the shop.
If an error occurs, the shop will notify the shop owner by email. This is helpful, when you built up your shop and test it, so eventually not catched errors will be sent by mail.
This setting is especially not intended for productive systems! E.g. through clicking old links, which are not reachable anymore, an error message would be sent too, even if this error is desired or not!
Here you may enter an alternative email address, to which the error mails from your shop will be send. If you do not enter an email address here, the address from the basic information will be used.
This setting defines for which log levels you will receive the emails. The default setting is "Warning", but you could e.g. change it to "Error", to only receive mails for log entries containing an error or worse.