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

Internal SiteBuilder error.

Discussion in 'Sitebuilder 4.0 for Linux' started by om4knowledge, Dec 3, 2007.

  1. om4knowledge

    om4knowledge Guest

    0
     
    I'm getting the following error when I try to access my sitebuilder.

    File: /usr/local/sitebuilder/include/SB/Environment.php; Line: 94
    Message: License class not found.; Code: 0

    ------
    How can I re install or link the License class?

    or

    what need to be done?
    Thanks.
     
  2. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    I can suggest you to check Sitebuilder configuration with 'sb_config' utility and make sure that appropriate PHP is set. Also, make sure that all requirements are observed on this server for Sitebuilder by running check.php script:

    http://sitebuilder.host/check.php
     
  3. om4knowledge

    om4knowledge Guest

    0
     
    check.php looks good
    ioncube=ok phpVersion=5.2.5 mbstring=ok zlib=ok session=ok dom=ok domxml_xslt=ok sqlite=2.8.17 sqliteEncoding=iso8859 gd_png=ok gd_gif=ok gd_jpg=ok gd_wbmp=ok gd=2.0.34 safe_mode=ok mail=ok serverApi=Apache Handler
     
  4. om4knowledge

    om4knowledge Guest

    0
     
    OK : supported version of PHP found (5.1.X or newer - 5.2.5)
    ERROR : extension sitebuilder3 must be on
    OK : extension pdo in state on found
    OK : extension pdo_mysql in state on found
    OK : extension sqlite in state on found
    OK : extension dom in state on found
    OK : extension libxml in state on found
    OK : extension xml in state on found
    OK : extension xsl in state on found
    OK : extension spl in state on found
    OK : extension pcre in state on found
    OK : extension session in state on found
    OK : extension simplexml in state on found
    OK : extension ftp in state on found
    ERROR : extension openssl must be on
    OK : extension mbstring in state on found
    ERROR : extension soap must be on
    OK : extension gd in state on found
    OK : extension ctype in state on found
    OK : extension zlib in state on found
    OK : extension iconv in state on found
    OK : extension posix in state on found
    OK : extension curl in state on found
    OK : extension mysql in state on found
    WARNING : setting magic_quotes_gpc must be off
    OK : setting magic_quotes_runtime in state off found
    OK : setting open_basedir in state off found
    OK : setting safe_mode in state off found
    OK : setting zend.ze1_compatibility_mode in state off found
    OK : setting mbstring.internal_encoding in state UTF-8 found
    OK : supported SQLite version 2.x found
    WARNING : SQLite UTF-8 encoding not found (current is iso8859)
    OK : GD library PNG support found
    OK : GD library GIF support found
    OK : GD library JPG support found
    OK : GD library WBMP support found
    OK : supported GD library version 2.0.1 (or newer) found
     
  5. om4knowledge

    om4knowledge Guest

    0
     
    I can handle soap and openssl.
    But, What needs to be done for sitebuilder3?

    Note: this is a recent install of sb 4.
    Thanks/
     
  6. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    Sitebuilder is shipped with PHP package which brings all necessary extensions. So make sure that php5sb-5.2.1-10swsoft package is installed and Sitebuilder has correct configuration:

    # sb_config --help|grep php
    --phpcli_path PHP CLI executable [/opt/php52/bin/php5]
    --phpcgi_path PHP CGI executable [/opt/php52/cgi-bin/php5]

    Sitebuilder extensions sitebuilder3.so is enabled in /opt/php52/etc/php.d/sitebuilder3.ini file:
    # cat /opt/php52/etc/php.d/sitebuilder3.ini
    extension=sitebuilder3.so

    and located /opt/php52/lib/php/modules/sitebuilder3.so here by default.
    Try to check these things.

    If you wish to use your own compiled PHP you need to include into configuration all necessary extensions including sitebuilder3.so.
     
  7. om4knowledge

    om4knowledge Guest

    0
     
    Dmitry,
    Thanks for your assistance. Now all I have left is.

    ERROR : extension sitebuilder3 must be on
    WARNING : SQLite UTF-8 encoding not found (current is iso8859)

    I don't understand your code from above. I'm not php savvy.
    Would you mind adding the sitebuilder3 extension or turning it on?

    Thanks.
    om


    Thanks.
    om
     
  8. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    Could you run following command on your server and give me output?

    # sb_config --help|grep php

    It would be better if you put phpinfo.php file into /usr/local/sitebuilder/htdocs folder. File phpinfo.php should contain following information:
    <?php
    phpinfo();
    ?>

    When it will be done, just give me URL for your Sitebuilder to be able to check configuration.
    Btw, I noted that you tried to send private message to me. My box was full but I already emptied it.
     
  9. JLChafardet

    JLChafardet Regular Pleskian

    26
    57%
    Joined:
    Feb 20, 2004
    Messages:
    379
    Likes Received:
    0
    Location:
    Caracas - Venezuela
Loading...