1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

WebPresence Builder Error when launched

Discussion in 'Plesk 11.x for Linux' started by Appweb, Aug 18, 2012.

  1. Appweb

    Appweb New Pleskian

    10
    85%
    Joined:
    Aug 18, 2012
    Messages:
    15
    Likes Received:
    0
    Hi There,

    We are testing Plesk 11.x on EC2 and the installation went smoothly following the instruction in this KB. We're testing Plesk because we are interested with the WebPresence Builder but it has a problem when launched, we're getting this error:

    Internal error: Undefined property "localeCode".

    Please see attached.

    Can anyone help on fixing this? WPB is a vital part on our decision for going for Plesk as our web hosting panel solution.

    Thank you!
     

    Attached Files:

  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,556
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    Try to rebuild the web-presence builder database using the below commands:

    # /usr/local/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/configure.php --init_db --merge_config --db_admin_name=admin --db_admin_passwd=`cat /etc/psa/.psa.shadow`

    # /usr/local/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/post_configure.php
     
  3. Appweb

    Appweb New Pleskian

    10
    85%
    Joined:
    Aug 18, 2012
    Messages:
    15
    Likes Received:
    0
    Hi Igor,

    I did your instruction and I get this for the first command:

    [INFO]Initializing the Web Presence Builder's database...
    [INFO]Creating database...
    [INFO]Updating the database user credentials...
    [INFO]The database already exists.

    then the second one runs after a few seconds and it says:

    Killed

    then I tried launching Web Presence Builder again and I got the same error:

    Internal error: Undefined property "localeCode".

    Any other way?

    Thanks!
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,556
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    Could you please send me in PM login credentials for your server? Our engineer will check this issue directly on your server.
     
  5. Appweb

    Appweb New Pleskian

    10
    85%
    Joined:
    Aug 18, 2012
    Messages:
    15
    Likes Received:
    0
    Hi Igor,

    Any progress on this issue? My business partner want to go live with this but he needs web presence builder working for our multiple small website projects.

    Thanks!
     
  6. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    If you have nothing on the server worth not loosing and you are running out of time, just do a reinstallation of that module. Remove it and reinstall it.
     
  7. Appweb

    Appweb New Pleskian

    10
    85%
    Joined:
    Aug 18, 2012
    Messages:
    15
    Likes Received:
    0
    Hi Abdi,

    Thank you for your reply.

    I did not install Plesk and or the modules myself, actually I downloaded and installed a ready made EC2 image with Plesk by following this KB. I think web presence builder is not installed in the image Parallels provided.

    Since you are Plesk expert, can you point me to a documentation on Plesk Web Presence Builder.

    Thanks!
     
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,556
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    I'm still not received requested root ssh access to your server from you.
    http://download1.parallels.com/Ples...k-customer-guide/index.htm?fileName=70317.htm

    All Plesk documentation on this page - http://www.parallels.com/download/plesk/11/documentation/
     
  9. DmitriyR

    DmitriyR New Pleskian Plesk Team

    10
    30%
    Joined:
    Aug 15, 2012
    Messages:
    7
    Likes Received:
    0
    It's problem in system requirements for web presens builder (http://www.parallels.com/download/plesk/11/requirements/) need minimum 768MB of RAM, but your instanse ec2 is "micro" with around 600 mb of RAM, better choose other instance.


    For resolve this problem, you can create swap and upgrade sitebuilder, example:
    # dd if=/dev/zero of=/swapfile bs=1024 count=524288
    # mkswap /swapfile
    # chown root:root /swapfile
    # chmod 0600 /swapfile
    # swapon /swapfile
    # /usr/local/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/upgrade.php

    if your not need swap:
    # swapoff /swapfile
    # rm /swapfile
    or if need:
    echo '/swapfile1 swap swap defaults 0 0' > /etc/fstab

    Your instance already work.
     
  10. Appweb

    Appweb New Pleskian

    10
    85%
    Joined:
    Aug 18, 2012
    Messages:
    15
    Likes Received:
    0
    Hi Dmitriy,

    Awesome! Thanks for your help!

    :)
     
Loading...