Web Presence Builder images are missing in Editor

Created:

2016-11-16 13:12:30 UTC

Modified:

2017-08-08 13:37:14 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Web Presence Builder images are missing in Editor

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Web Presence Builder images for website are missing in Editor, but they are exist on publishing side.

The following error can be found in /var/log/plesk/sitebuilder.log while opening the website in Web Presence Builder:

    [EMERG] /sitebuilder/sites/45/450869281dc606fbc56eaa78e071426f/attachments/Image/w_16_24.jpg    Zend_Controller_Dispatcher_Exception: Invalid controller specified (sites)
file: /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php
line: 248
code: 0 1.2.3.4 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
[EMERG] /sitebuilder/sites/45/450869281dc606fbc56eaa78e071426f/attachments/Header/image_69.jpg?1467351786 Zend_Controller_Dispatcher_Exception: Invalid controller specified (sites)

Cause

Website directory is missing in Web Presence Builder Editor.

Resolution

  1. Create missing directory and sub-directories according to error message output. Replace sitebuilder with /usr/local/sb/htdocs/ :

    # mkdir -p /usr/local/sb/htdocs/sites/45/450869281dc606fbc56eaa78e071426f/attachments
  2. Copy the published contect into Editor:

    # cp -fr /var/www/vhosts/example.com/httpdocs/attachments/* /usr/local/sb/htdocs/sites/45/450869281dc606fbc56eaa78e071426f/attachments/
  3. Assign correct permissions:

    # chown -R psaadm:psaadm /var/www/vhosts/example.com/httpdocs/attachments/* /usr/local/sb/htdocs/sites/45/
  4. Open website in Web Presence Builder.

Have more questions? Submit a request
Please sign in to leave a comment.