[INFO] What does error "Invalid controller specified (sites)" from Web Presence Builder log mean?

Refers to:

  • Web Presence Builder
  • Plesk

Created:

2016-11-16 13:07:25 UTC

Modified:

2016-12-21 20:00:09 UTC

0

Was this article helpful?


Have more questions?

Submit a request

[INFO] What does error "Invalid controller specified (sites)" from Web Presence Builder log mean?

Symptoms

  1. The following error appears in /usr/local/psa/admin/logs/sitebuilder.log when opening a site in Presence Builder editor:

    sitebuilder.log
    2014-04-16T07:09:23+04:00 [EMERG] /sites/93/9367d9af73a10ff6f3754cef8563d7c8/attachments/Image/primer.jpg?1396463619403 Zend_Controller_Dispatcher_Exception: Invalid controller specified (sites)
  2. Image mentioned in error does not exist physically:

    # cd /usr/local/sb/htdocs
    # ls -la sites/93/9367d9af73a10ff6f3754cef8563d7c8/attachments/Image/primer.jpg
    # ls: sites/93/9367d9af73a10ff6f3754cef8563d7c8/attachments/Image/primer.jpg: No such file or directory

Cause

Presence Builder tries to load missing image.

Resolution

  1. Check if this image exists on publishing host:

    # ls -la /var/www/vhosts/domain.tld/httpdocs/attachments/Image/primer.jpg
    #-rw-r--r-- 1 thor psacln 10093 May 13 19:04 /var/www/vhosts/domain.tld/httpdocs/attachments/Image/primer.jpg
  2. If yes, then copy it to editor folder:

    #cp /var/www/vhosts/domain.tld/httpdocs/attachments/Image/primer.jpg /usr/local/sb/htdocs/sites/93/9367d9af73a10ff6f3754cef8563d7c8/attachments/Image/primer.jpg

    otherwise copy any image to the destination mentioned in error:

    /usr/local/sb/htdocs/sites/93/9367d9af73a10ff6f3754cef8563d7c8/attachments/Image/primer.jpg

    open editor and replace it with valid one.

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