- Web Presence Builder for Linux
- Web Presence Builder for Windows
- Plesk 12.0 for Windows
- Plesk 12.0 for Linux
- When editing a site in Presence Builder and clicking the Export Design button, it does not export the design to a file.
The following error appears in the file
SB_Exception: Invalid CSRF token has been provided. file: C:\Program Files (x86)\Parallels\Plesk\sb\include\SB\Controller\Plugins\Sb\CsrfProtect.php
In Web Presence Builder for Linux the following errors appear in the
SB_Exception: Invalid CSRF token has been provided.
[ERR] /JsonApi/ Cannot copy file to 'xxxxxxxxxyyyyyyyyyzzzzzzzzz.php' via FTP (ftp_put(/usr/local/sb/tmp/ftp_publish_cache_zKT0K0_dir/'xxxxxxxxxyyyyyyyyyzzzzzzzzz.php): failed to open stream: No such file or directory)
The site UUID: 'xxxxxxxxxyyyyyyyyyzzzzzzzzz
The publication target: ftp://email@example.com/public_html
The publication URL: http://example.net 203.0.113.2 http://webpresence.example.com Editor Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ 203.0.113.2 Safari/537.36
It is caused by bug in the product with the ID #PPB-4407 which was fixed in Web Presence Builder version 12.0.8.
Update to Web Presence Builder to latest version.
If Web Presence Builder is installed as Plesk extension use this guide.
If update is not suitable for some reason, there is workaround for Web Pretense Builder 12.0.7:
- Connect to the server via SSH (Linux) or via RDP (Windows).
Create back up of the following files:
On Plesk for Windows:
On Plesk for Linux:
Download this patch and unpack it to the following directory: