<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
        <title>Web-Site-Scripts.com - Top Rated</title>
        <link>https://www.web-site-scripts.com/knowledge-base/</link>
        <description><![CDATA[Root directory]]></description>
        <language>en-us</language>
        <generator>KnowlageBase RSS Generator</generator>

         
                <item>
                        <title>Increasing maximum allowed size for uploads on IIS7</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00696</link>
                                    <description><![CDATA[<p>Apart from general settings that limit the size of files you upload to KMP, IIS7 has its own setting for that. It is&nbsp;"Maximum allowed content length" setting in Request Filtering rules. Follow these steps to increase maximum allowed size for file uploads on IIS7.</p><p></p><ol><li>Open IIS Manager.</li><li>Select the website with&nbsp;<acronym class="term" title="KnowledgeBase Manager Pro" style="border-bottom-width: 1px !important; border-bottom-style: dotted !important; border-bottom-color: rgb(0, 0, 0) !important; ">KMP</acronym>.</li><li>Double-click on "Request Filtering".<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00696/request-filtering.png" alt="" title="" width="576" height="422" border="0" hspace="0" vspace="0" align="" style="margin-right: 0px; margin-left: 0px; margin-bottom: 0px; margin-top: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "><br><br></li><li>Select "Rules".<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00696/rules.png" alt="" title="" width="646" height="248" border="0" hspace="0" vspace="0" align="" style="margin-right: 0px; margin-left: 0px; margin-bottom: 0px; margin-top: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "><br><br></li><li>Click "Edit Feature Settings".<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00696/rules-settings.png" alt="" title="" width="646" height="248" border="0" hspace="0" vspace="0" align="" style="margin-right: 0px; margin-left: 0px; margin-bottom: 0px; margin-top: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "><br><br></li><li>In the dialogue window that opens you can see the&nbsp;"Maximum allowed content length" field. It is set to 30 million bytes by default, which allows you to upload files up to almost 30MB. Let's say we want our files to be up to 1GB, then we would need to put "1073741824" there (this number equals 1GB exactly).<br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00696/maximum-allowed-content-length.png" alt="" title="" width="429" height="503" border="0" hspace="0" vspace="0" align="" style="margin: 0px; border-width: 0px;"></li><li>Also make sure that the "Allow double escaping" option is enabled. It must be enabled for correct downloading of files which names contain a space character.</li><li>Click OK. The new setting is usually applied without restarting IIS.<br><br></li></ol><div><br></div><p></p>]]></description>
                                    <pubDate>Thu, 27 Oct 2011 09:59:59 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00696</guid>
                    </item>
                <item>
                        <title>Put a knowledge base search box on your website</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00561</link>
                                    <description><![CDATA[<p>You can put a knowledge base search box on your website. It includes a search field where visitor inputs his search phrase and search button that opens the knowledge base with search results when he clicks on it.</p><p>To insert the search box, you need to put this HTML code somewhere on your website:</p><p><div class="preformatted">
<div class="preformattedContent"><div class="preformattedContent">&lt;form action="<span style="background-color: rgb(255, 255, 0);">http://www.web-site-scripts.com/knowledge-base/search</span>" method="post" name="search"&gt;</div><div class="preformattedContent">&lt;input name="searchText" type="text"&gt;</div><div class="preformattedContent">&lt;input type="submit" value="Knowledge Base Search"&gt;</div><div class="preformattedContent">&lt;/form&gt;</div></div>
</div>
<p><br></p>Replace the <span style="background-color: rgb(255, 255, 0);">highlighted</span> text with URL to your knowledge base and add "/search" to the end, e.g. URL to your knowledge base is:</p><p><div class="preformatted">
<div class="preformattedContent">
http://kb.yourwebsite.com/<br></div>
</div>
<p>Then URL that you need to put instead of the highlighted text is this:</p></p><p><div class="preformatted">
<div class="preformattedContent">
http://kb.yourwebsite.com/<span style="background-color: rgb(255, 255, 0);">search/</span><br></div>
</div>
<p>if this URL doesn't work, try this instead:</p></p><p><div class="preformatted">
<div class="preformattedContent">
http://kb.yourwebsite.com/<span style="background-color: rgb(255, 255, 0);">index.php?/search/</span><br></div>
</div>
<p><br></p><br></p>]]></description>
                                    <pubDate>Mon, 01 Nov 2010 10:21:36 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00561</guid>
                    </item>
                <item>
                        <title>PHP installation on IIS7, IIS7.5, and IIS8</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00495</link>
                                    <description><![CDATA[<p>This guide describes installation of PHP with FastCGI on IIS7 / IIS8 server.</p>
<p>Actual PHP versions work with IIS via FastCGI interface. We will explain how to install FastCGI and configure it to work with PHP.</p>
<p><span style="border-collapse: collapse;"></span></p>
<p></p>
<ul><li><span style="line-height: 16px;"><a href="#install-fcgi" target="">Installing the FastCGI Extension for IIS 7</a></span></li><ul><li><span style="line-height: 16px;"><a href="#win-2008" target="">Windows Server</a></span></li><li><span style="line-height: 16px;"><a href="#windows-7-vista" target="">Windows 7 and Windows Vista SP1</a></span></li></ul><li><span style="line-height: 16px;"><a href="#install-php" target="">Download and Install PHP</a></span></li><li><span style="line-height: 16px;"><a href="#php-requests" target="">Configure IIS 7 to Handle PHP Requests</a></span></li><ul><li><span style="line-height: 16px;"><a href="#iis-manager" target="">Using IIS Manager</a></span></li><li><a href="#performance" target="">Setting FastCGI Configuration for Optimal Performance</a></li></ul><li><span style="line-height: 16px;"><a href="#default-document" target="">Configure default document in IIS</a></span></li><li><span style="line-height: 16px;"><a href="#testing" target="">Testing PHP CGI</a></span></li></ul>
<p></p>
<p></p>
<p></p>
<p></p>
<h1><a name="install-fcgi" ></a>Installing the FastCGI Extension for IIS 7 / IIS 8</h1>
<h2><a name="win-2008" ></a>Windows Server</h2>
<p>Add the CGI role service by going to Server Manager -&gt; Roles -&gt; Add Role Services. This enables both the CGI and FastCGI services:<br></p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00495/cgi-2008.png" alt="" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="587" hspace="0" vspace="0" width="780"><br></p>
<h2><a name="windows-7-vista" ></a>Windows 7 and Windows Vista SP1</h2>
<p>Add the CGI feature by going to Control Panel -&gt; Programs and Features -&gt; Turn Windows features on or off. This enables both the CGI and FastCGI services.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00495/cgi-vista-7.png" alt="" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="376" hspace="0" vspace="0" width="430"><br></p><ul></ul>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<h1><a name="install-php" ></a>Download and Install PHP</h1>
<p></p>
<ol><li><a href="http://windows.php.net/download/" target="_blank" rel="nofollow">Download a PHP package for Windows</a>&nbsp;<br>You need the latest version of PHP v5.6 family. Choose ZIP package <b>VC11 x86 Non Thread Safe</b>.<br><div class="attention">
<div class="attentionHeader">Warning Box Title<br></div>
<div class="attentionContent">
<p>Please note that <b>PHP v7.*</b> and <b>x64</b> versions are not supported at this time.</p></div></div><span style="color: rgb(51, 102, 0); font-weight: bold;"></span></li><li>Extract the contents of PHP zip package to a folder on your server, e.g. <b>C:\PHP\</b></li><li>Make a copy of the&nbsp;<b>php.ini-production</b> file and name it <b>php.ini</b></li><li>Open the <b>php.ini</b> and setup the following parameters. Every parameter already exists in the php.ini and you just need to find it, uncomment (by removing ";" character from the beginning of the line), and change its value.&nbsp;<span style="border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Make sure that you do not have one of these options specified twice in the php.ini file.</span><br><div class="preformatted">
<div class="preformattedContent"><div class="preformattedContent">
<p>memory_limit = 256M<br>post_max_size = 128M<br>extension_dir = "C:\PHP\ext"<br>upload_tmp_dir = "C:\PHP\upload"<br>upload_max_filesize = 128M</p>
<p></p>
<p>max_execution_time = 600<br>max_input_time = 600<br>max_input_vars = 2000</p>
<p></p>
<p>cgi.force_redirect = 0<br>cgi.fix_pathinfo = 1<br>fastcgi.impersonate = 1</p><p>
extension=php_curl.dll<br>extension=php_mbstring.dll<br>extension=php_exif.dll<br>extension=php_gd2.dll<br>extension=php_ldap.dll<br>extension=php_mysqli.dll<br><br>session.save_path = "C:\PHP\session"
</p><p>session.use_cookies = 1</p><p></p>
</div></div></div><div class="attention">
<div class="attentionHeader">Extensions Loading Order<br></div>
<div class="attentionContent">
<p>
It is required to load "php_mbstring.dll" extension <b>before</b> "php_exif.dll". Make sure that order of extensions in your php.ini is the same as shown above.</p>
</div></div></li><li>Create "<b>upload</b>" and "<b>session</b>" sub-directories in the C:\PHP\ directory. You can use different names, just make sure that they match&nbsp;<span style="font-family: Courier; line-height: 13px;">upload_tmp_dir<font face="Arial, Helvetica, sans-serif"><span style="line-height: 16px;">&nbsp;and&nbsp;</span></font>session.save_path</span> parameters that you've set in the php.ini.</li><li>Setup <b>date.timezone</b> parameter in php.ini, for example:<br><div class="preformatted">
<div class="preformattedContent">
date.timezone = "America/New_York"<br></div>
</div>
<p>Chose your city or at least a city from your time zone.</p>
You can find the <a href="http://php.net/manual/en/timezones.php" target="_blank" rel="nofollow">full list of possible date.timezone values on PHP.net website</a>.<br><br></li><li>Save the php.ini.</li><li>To test if the PHP installation is successful, run the following from the command line prompt:<br><div class="preformatted">
<div class="preformattedContent">C:\PHP&gt;php -i</div></div><br>
<div class="info"><div class="infoHeader">If PHP Fails to Start</div><div class="infoContent">
<p>
VC9 Versions are compiled with the Visual Studio 2008 compiler and have improvements in performance and stability. The VC9 versions require you to have the&nbsp;<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF" target="_blank" rel="nofollow">Microsoft 2008 C++ Runtime (x86)</a>&nbsp;&nbsp;or the&nbsp;<a href="http://www.microsoft.com/downloads/details.aspx?familyid=bd2a6171-e2d6-4230-b809-9a8d7548c1b6&amp;displaylang=en" target="_blank" rel="nofollow">Microsoft 2008 C++ Runtime (x64)</a>&nbsp;&nbsp;installed. You may need to download these extensions on old versions of Windows if PHP is unable to start.</p>
</div></div></li></ol><div><div style="font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif; ">
<h2 style="color: rgb(91, 91, 91); font-size: 13px; line-height: normal; "><span style="font-weight: normal; font-size: 12px; line-height: 16px;">
</span></h2>
<h2 style="color: rgb(91, 91, 91); font-size: 13px; line-height: normal; "><div><span style="line-height: 16px; "><div>
<h1 style="font-weight: normal; "><a name="php-requests" ></a>Configure IIS 7 to Handle PHP Requests</h1>
<p style="font-weight: normal; "><font color="#000000" face="Arial, Helvetica, sans-serif">In order for IIS 7 to host PHP applications, it is necessary to add a handler mapping that tells IIS to pass all PHP specific requests to the PHP application framework via FastCGI protocol.<br><br>This can be done using IIS Manager or using command line.</font></p>
<p style="font-weight: normal; "><font color="#000000" face="Arial, Helvetica, sans-serif"></font></p>
<font color="#000000" face="Arial, Helvetica, sans-serif">
<h2 style="font-weight: normal; "><a name="iis-manager" ></a>Using IIS Manager</h2>
<p style="font-weight: normal; ">Open IIS Manager and then select and open "Handler Mappings" at the server level:</p>
<p style="font-weight: normal; "><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00495/handler-mappings.png" alt="" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="685" hspace="0" vspace="0" width="912"></p>
<p><span style="font-weight: normal;">Select the "</span>Add Module Mapping<span style="font-weight: normal;">" action and specify the configurations settings as below:</span></p>
<p style="font-weight: normal; "><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00495/module-mapping.png" alt="" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="683" hspace="0" vspace="0" width="912"><br></p>
<h2 style="font-weight: normal; "></h2>
<h2 style="font-weight: normal; "><ul><li><span style="font-weight: normal; line-height: normal;">Request path: </span><span style="line-height: normal;">*.php</span></li><li><span style="font-weight: normal; line-height: normal;">Module: </span><span style="line-height: normal;">FastCgiModule</span></li><li><span style="font-weight: normal; line-height: normal;">Executable: </span><span style="line-height: normal;">"C:\PHP\php-cgi.exe"</span></li><li><span style="font-weight: normal; line-height: normal;">Name: </span><span style="line-height: normal;">PHP via FastCGI</span></li></ul></h2>
<p style="font-weight: normal; "></p>
<div class="info" style="font-weight: normal; ">
<div class="infoHeader">Note</div>
<div class="infoContent">
<p>If you do not see "FastCgiModule" in the "Modules:" drop-down list then it means that the module is not registered or not enabled. To check if FastCGI module is registered open the IIS configuration file %WINDIR%\windows\system32\config\applicationHost.config and check that the following line is present in &lt;globalModules&gt; section:</p>
<p></p>
<div class="preformatted">
<div class="preformattedContent"><font face="Arial, Helvetica, sans-serif"><span style="line-height: 16px;">&lt;add name="FastCgiModule" image="%windir%\System32\inetsrv\iisfcgi.dll" /&gt;</span></font></div>
</div>
<p>Also, in the same file, check that the FastCGI module is added to the &lt;modules&gt; section:</p>
<p></p>
<div class="preformatted">
<div class="preformattedContent"><font face="Arial, Helvetica, sans-serif"><span style="line-height: 16px;">&lt;add name="FastCgiModule" /&gt;</span></font></div></div>
<p></p>
<p></p>
</div></div>
<p style="font-weight: normal; "></p>
<p style="font-weight: normal; "><span style="font-weight: normal;">Click OK. A dialog box appears asking if you want to create a FastCGI application for this executable. Click Yes.</span></p>
<p style="font-weight: normal; "><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00495/confirmation.jpg" alt="" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="163" hspace="0" vspace="0" width="411"></p></font></div></span></div></h2></div><div><div><font color="#000000" face="Arial, Helvetica, sans-serif">
<h2 style="color: rgb(91, 91, 91); font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: normal; "><a name="performance" ></a>Setting FastCGI Configuration for Optimal Performance</h2>
<p style="color: rgb(91, 91, 91); font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: normal; ">Watch this short video to learn how to setup optimal performance for FastCGI</p>
<p>Ensure that the <a href="http://www.iis.net/download/AdministrationPack" target="_blank" rel="nofollow">Administration Pack for IIS 7</a> is installed on your server! If not - please install it, <b>otherwise you wouldn't see the option for configuring FastCGI settings</b>!</p>
<p style="color: rgb(91, 91, 91); font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: normal; "><a href="#" onclick="window.open('http://web-site-scripts.com/knowledge-base/pages/fascgi-timeouts-iis7.html', 'videotour', 'scrollbars=0,resizable=0,width=1135,height=738');return false;"><img style="border-width: 1px; margin: 0px;" title="Take the KnowledgeBase Manager Pro Video Tour" alt="Take the KnowledgeBase Manager Pro Video Tour" src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00495/fastcgi-performance.png" align="" border="1" height="238" hspace="0" vspace="0" width="376"></a></p>
<h1 style="color: rgb(91, 91, 91); font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: normal; "><span style="font-size: 18px;"><a name="default-document" ></a><font size="6"><span style="font-size: 24px;">Configure default document in IIS</span></font></span></h1>
<h2 style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 18px; line-height: normal; color: rgb(91, 91, 91); font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif; "></h2>

<p style="color: rgb(91, 91, 91); font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: normal; ">Most of the PHP applications use a file named index.php as the default application document. Configure IIS to treat this file as the default content page:</p>
<p style="color: rgb(91, 91, 91); font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: normal; "></p>
<ol style="color: rgb(91, 91, 91); font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: normal; "><li>Open IIS Manager and then select and open "Default Document" at the server level:<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00495/default-document.png" alt="" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="728" hspace="0" vspace="0" width="960"><br><br></li><li>Click "Add..." and enter "index.php".<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00495/add-default-document.png" alt="" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="728" hspace="0" vspace="0" width="962"></li></ol></font></div></div></div>
<h1><a name="testing" ></a>Testing PHP CGI</h1>
<p>After installing the FastCGI extension, and registering and configuring the PHP CGI, you&nbsp;can use KMP normally.</p>
<p>Restart the IIS server to apply all changes that you've made.</p>
<p></p>
<p>To test, create and request an info.php page in your site that contains the following:</p>
<p></p>
<div class="preformatted">
<div class="preformattedContent"><div class="preformattedContent">&lt;?php<br>phpinfo();<br>?&gt;</div></div>
</div>
<p>You see something like:&nbsp;</p>
<p></p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00491/phpinfo.png" alt="" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="596" hspace="0" vspace="0" width="668"><br></p>
<p>Note that the <b>Server API</b> indicates that PHP is hosted in FastCGI mode.</p>
<p></p>
<div class="info">
<div class="infoHeader">Information Box Title</div>
<div class="infoContent">
<p>Default settings of IIS7 conflict with filename escaping methods used in KMP for attachments and images that contain a whitespace in their names. <a href="ARTICLE_URL#453##AA-00492#" target="">Check this this guide to set correct option</a> and you &nbsp;won't run into such issue in future.</p>
</div>
</div>
<p><br></p>
<br>
<p></p>
<p></p>
]]></description>
                                    <pubDate>Wed, 24 Feb 2010 08:49:03 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00495</guid>
                    </item>
                <item>
                        <title>Installation API</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00464</link>
                                    <description><![CDATA[<p>KMP features an XML RPC based installation API that can be used by ISP companies, web hosting companies, and anyone who needs to automate the installation process to perform remote installations of KMP.&nbsp;This guide explains how to perform installations via the 
remote XML API.</p>
<p>The remote installation API helps with fast deployment of new KMP packages. It assumes that all package files are already extracted from the package and uploaded to the remote server, and all necessary file/folder permissions are set.</p>
<h1>Contents</h1>
<p></p>
<ul><li><span style="line-height: 16px;"><a href="#creating" target="">Creating the Request</a><br></span></li><ul><li><span style="line-height: 16px;"><a href="#xml-ref" target="">XML Reference</a><br></span></li><li><span style="line-height: 16px;"><a href="#sample-xml" target="">Sample XML Request</a></span></li><li><span style="line-height: 16px;"><a href="#sample-php" target="">Sample PHP Request (Using CURL)</a><br></span></li></ul><li><span style="line-height: 16px;"><a href="#install-success" target="">A Successful Installation Response</a><br></span></li><li><span style="line-height: 16px;"><a href="#install-error" target="">An Erroneous Installation Response</a><br></span></li><li><span style="line-height: 16px;"><a href="#error-codes" target="">Error Codes</a><br></span></li><li><span style="line-height: 16px;"><a href="#shell" target="">Installation by Shell Script</a></span></li></ul><div>
<span style="line-height: 19px;"></span></div>
<p></p>
<p></p>
<h1><a  name="creating"></a>Creating the Request</h1>
<p>Before launching remote installation of KMP copy, make sure that:</p>
<p></p>
<ul><li><span style="line-height: 16px;">All files are uploaded on the remote server.</span></li><li><span style="line-height: 16px;">Correct permissions are set.</span></li><li><span style="line-height: 16px;">Package is not installed yet.</span></li></ul><div>
<p>To submit an XML based API request to install Knowledgebase Manager Pro, you must send the details outlined below as the HTTP POST body in a properly formatted XML feed.</p>
</div>
<p></p>
<p>
</p>
<h2><a  name="xml-ref"></a>XML Reference</h2>
<p></p>
<ul><li><span style="line-height: 16px;">xml version -&nbsp;XML declaration which specifies the version of XML being used</span></li><li><span style="line-height: 16px;">methodCall -&nbsp;The root node of the XML document. It outlines your request</span></li><ul><li><span style="line-height: 16px;">methodName - type of request. It must be "install.setup" for installation request.</span></li><li><span style="line-height: 16px;">params - This node contains all parameters that you send</span></li><ul><li><span style="line-height: 16px;">product_key -&nbsp;Product key for KMP. You can get it from your <a href="http://web-site-scripts.com/member-area/" target="_blank" rel="nofollow">member area</a>.</span></li><li><span style="line-height: 16px;">db_prefix - Prefix for database tables (optional)</span></li><li><span style="line-height: 16px;">db_host - Database server address</span></li><li><span style="line-height: 16px;">db_login - The username of the Database user</span></li><li><span style="line-height: 16px;">db_password -&nbsp;The Database password for the above user</span></li><li><span style="line-height: 16px;">db_name -&nbsp;The name of the MySQL database to install the KMP in to</span></li><li><span style="line-height: 16px;">acc_login -&nbsp;The username of the knowledgebase administrator</span></li><li><span style="line-height: 16px;">acc_password -&nbsp;The password to assign the KMP administrator account</span></li><li><span style="line-height: 16px;">acc_first_name -&nbsp;The first name of the knowledgebase administrator</span></li><li><span style="line-height: 16px;">acc_last_name -&nbsp;The last name of the knowledgebase administrator</span></li><li><span style="line-height: 16px;">acc_email -&nbsp;The email address of the knowledgebase administrator</span></li><li><span style="line-height: 16px;">smtp_host - SMTP (mail) server address</span></li><li><span style="line-height: 16px;">smtp_port - SMTP server port</span></li></ul></ul></ul>
<p></p>
<h2><a  name="sample-xml"></a>Sample XML Request</h2>
<p></p>
<div class="source">
<div class="sourceHeader" align="center">Sample XML Request<br></div>
<div class="sourceContent"><font face="'courier new'">&lt;?xml version="1.0"?&gt;<br>&lt;methodCall&gt;<br>&nbsp;&nbsp;&lt;methodName&gt;install.setup&lt;/methodName&gt;<br>&nbsp;&nbsp;&lt;params&gt;<br>&nbsp;&nbsp; &nbsp;&lt;param&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;struct&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;activation_code&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;[License_Key]&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;db_prefix&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;kmp_&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;db_host&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;localhost&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;db_login&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;root&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;db_password&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;db_name&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;kb&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;acc_login&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;admin&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;acc_password&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;password&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;acc_first_name&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;John&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;acc_last_name&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;Doe&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;acc_email&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;administrator@example.com&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;smtp_host&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;mail&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;smtp_port&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;string&gt;25&lt;/string&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/struct&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp;&lt;/param&gt;<br>&nbsp;&nbsp;&lt;/params&gt;<br>&lt;/methodCall&gt;</font><p></p>
</div>
</div>
<p><br></p>
<h2><a  name="sample-php"></a>Sample PHP Request (Using CURL and IXR)</h2>
<p>The following sample code is written on PHP with usage of CURL functionality.</p><p>You can also find this sample in the KMP package: /examples/installation-api/rpc_install.php</p><p>Although it uses&nbsp;IXR as XML RPC library (include 'inc/xmlrpc.php') it is just a sample, and you may use any library suitable for you.</p>
<p></p>
<div class="source">
<div class="sourceHeader" align="center">Sample PHP Request<br></div>
<div class="sourceContent">
<p></p>
<p><font face="'courier new'">&lt;?php&nbsp;<br>error_reporting(E_ALL);<br>include 'inc/xmlrpc.php';<br><br>$client = new IXR_Client('http://localhost/kmp/admin/install/rpc.php');<br><br>$client-&gt;debug = true;<br><br>$params = array(<br>&nbsp;&nbsp; &nbsp;'product_key' =&gt; 'ABCD-EFGH-IJKL-MNOP',<br>&nbsp;&nbsp; &nbsp;'db_prefix' &nbsp; &nbsp; &nbsp; =&gt; 'kmp_',<br>&nbsp;&nbsp; &nbsp;'db_host' &nbsp; &nbsp; &nbsp; &nbsp; =&gt; 'localhost',<br>&nbsp;&nbsp; &nbsp;'db_login' &nbsp; &nbsp; &nbsp; &nbsp;=&gt; 'root',<br>&nbsp;&nbsp; &nbsp;'db_password' &nbsp; &nbsp; =&gt; '',<br>&nbsp;&nbsp; &nbsp;'db_name' &nbsp; &nbsp; &nbsp; &nbsp; =&gt; 'kmp',<br>&nbsp;&nbsp; &nbsp;'acc_login' &nbsp; &nbsp; &nbsp; =&gt; 'admin',<br>&nbsp;&nbsp; &nbsp;'acc_password' &nbsp; &nbsp;=&gt; '',<br>&nbsp;&nbsp; &nbsp;'acc_first_name' &nbsp;=&gt; 'John',<br>&nbsp;&nbsp; &nbsp;'acc_last_name' &nbsp; =&gt; 'Doe',<br>&nbsp;&nbsp; &nbsp;'acc_email' &nbsp; &nbsp; &nbsp; =&gt; 'john.doe@example.com',<br>&nbsp;&nbsp; &nbsp;'smtp_host' &nbsp; =&gt; 'mail',<br>&nbsp;&nbsp; &nbsp;'smtp_port' &nbsp; =&gt; '25'<br>);<br><br>if (!$client-&gt;query('install.setup', $params)) {<br>&nbsp;&nbsp; die('An error occurred - '.$client-&gt;getErrorCode().":".$client-&gt;getErrorMessage());<br>}<br><br>echo '&lt;pre&gt;';<br>print_r($client-&gt;getResponse());<br>echo '&lt;/pre&gt;';<br><br>?&gt;</font></p>
<p></p>
</div>
</div>
<p><br></p>
<p></p>
<h1><a  name="install-success"></a>A Successful Installation Response</h1>
<p>A successful installation response has the following format.</p>
<p></p>
<div class="source">
<div class="sourceHeader" align="center">Successful Installation Response<br></div>
<div class="sourceContent">
<p>
</p>
<pre class="code-java">&lt;?xml version=<span class="code-quote">"1.0"</span>?&gt;<br>&lt;methodResponse&gt;<br>&nbsp;&nbsp;&lt;params&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;param&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;value&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;string&gt;Installation completed successfully&lt;/string&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/value&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/param&gt;<br>&nbsp;&nbsp;&lt;/params&gt;<br>&lt;/methodResponse&gt;</pre>
<p></p>
</div>
</div>
<p><br></p>
<h1><a  name="install-error"></a>An Erroneous Installation Response</h1>
<p>If an error&nbsp;occurred&nbsp;during installation or server doesn't meet KMP requirements, you will get an erroneous installation message. It includes error code and error message with information why installation cannot proceed.</p>
<p></p>
<div class="source">
<div class="sourceHeader" align="center">Erroneous Installation Response<br></div>
<div class="sourceContent">
<p></p>
<pre class="code-java"><span style="white-space: normal;"><font face="'courier new'">&lt;?xml version="1.0"?&gt;<br>&lt;methodResponse&gt;<br>&nbsp;&nbsp;&lt;fault&gt;<br>&nbsp;&nbsp; &nbsp;&lt;value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;struct&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;faultCode&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;&lt;int&gt;-101&lt;/int&gt;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;faultString&lt;/name&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;&lt;string&gt;Not all parameters specified. Following parameters are required: acc_login, acc_password, acc_first_name, acc_last_name&lt;/string&gt;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/member&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/struct&gt;<br>&nbsp;&nbsp; &nbsp;&lt;/value&gt;<br>&nbsp;&nbsp;&lt;/fault&gt;<br>&lt;/methodResponse&gt;</font></span></pre>
<p></p>
</div>
</div>
<p><br></p>
<p></p>
<h1><a  name="error-codes"></a>Error Codes</h1>
<p>The table below outlines all possible error messages for faultCode attribute.</p><p><table style="border-collapse: collapse; border: 1px solid rgb(0, 0, 0);" bgcolor="" border="1" cellpadding="3" cellspacing="0" height="" width="100%"><tbody>
<tr align="center" bgcolor="#6690bc" valign="middle">
<th>
<font color="#ffffff">Error Code</font></th>
<th>
<span style="color: rgb(255, 255, 255);"><b>Message</b></span></th>
</tr>
<tr>
<td>
&nbsp;-101</td>
<td>
&nbsp;Not all parameters specified. Following parameters are required: [list of parameters]</td>
</tr>
<tr>
<td>
-201&nbsp;</td>
<td>
&nbsp;Your PHP version is not compatible. Current PHP version is [current version]. Required version: [required version]</td>
</tr>
<tr>
<td>
-202&nbsp;</td>
<td>
&nbsp;Some of the required modules are missing: [list of missing extensions]</td>
</tr>
<tr>
<td>
-203&nbsp;</td>
<td>
&nbsp;Some of the required custom checks has been failed: [list of custom checks]</td>
</tr>
<tr>
<td>
-301&nbsp;</td>
<td>
&nbsp;File system permissions are incorrect: [list of files with incorrect permissions]</td>
</tr>
<tr>
<td>
-401&nbsp;</td>
<td>
&nbsp;Can not connect to database server</td>
</tr>
<tr>
<td>
-402&nbsp;</td>
<td>
&nbsp;Can not select database</td>
</tr>
<tr>
<td>
-403&nbsp;</td>
<td>
Unknown error while database connection&nbsp;</td>
</tr>
<tr>
<td>
-410&nbsp;</td>
<td>
MySQL error when executing sql dump: [mysql error]&nbsp;</td>
</tr>
<tr>
<td>
-411&nbsp;</td>
<td>
&nbsp;MySQL error when executing sql dump for administrator's account: [mysql error]</td>
</tr>
<tr>
<td>
-501&nbsp;</td>
<td>
&nbsp;Error when setup configuration file</td>
</tr>
<tr>
<td>
-502&nbsp;</td>
<td>
&nbsp;Error when setup file [file name]</td>
</tr>
<tr>
<td>
-601&nbsp;</td>
<td>
&nbsp;Wrong license key</td>
</tr><tr><td>-701&nbsp;</td><td>&nbsp;Unable to run installation process because KMP has been already installed</td></tr>
</tbody>
</table><br></p>
<p></p>
<h1><a  name="shell"></a>Installation by Shell Script</h1>
<p>Installation shell script supports installation of KMP from&nbsp;UNIX&nbsp;shell. Before starting the script:</p><p></p><ul><li><span style="line-height: 16px;">Check that server meets the KMP <a href="http://www.web-site-scripts.com/knowledge-management/requirements.html" target="">requirements</a></span></li><li><span style="line-height: 16px;">Upload files from the KMP package on server</span></li><li><span style="line-height: 16px;">Setup <a href="ARTICLE_URL#388##AA-00427#" target="">correct permissions</a></span></li><li><span style="line-height: 16px;">Create an empty database for KMP</span></li><li><span style="line-height: 16px;">Specify correct installation details including database connection parameters, administrator account details, etc in the installation script</span></li></ul><div><p>Installation script performs the following actions:</p><ul><li><span style="line-height: 16px;">Installs KMP via XML API</span></li><li><span style="line-height: 16px;">Provides you with the URL to installed KMP</span></li></ul><p></p></div><p></p>
<p></p>
<div class="source">
<div class="sourceHeader" align="center">Parameters to Customize in the Installation Shell Script</div>
<div class="sourceContent">
<p></p>
<p><font face="'courier new'">KMP_KEY="ABCD-EFGH-IJKL-MNOP" # Product key for Knowledgebase Manager Pro (KMP). You can get it from your member area at http://web-site-scripts.com/member-area/<br><br>KMP_URL="http://localhost/kmp/" # URL of the destination directory<br><br>KMP_DB_HOST="localhost" # Name of database server (default value = localhost)<br><br>KMP_DB_PREFIX="" # Prefix for database tables (optional)<br><br>KMP_DB="kmp" # Database name<br><br>KMP_DB_USER="" # Database user<br><br>KMP_DB_PASS="" # Database user password<br><br>KMP_USER="admin" # Desired login for KMP administrator account<br><br>KMP_PASS="" # Desired password for KMP administrator account<br><br>KMP_ACC_FNAME="John" # KMP administrator first name&nbsp;<br><br>KMP_ACC_LNAME="Doe" # KMP administrator last name&nbsp;<br><br>KMP_EMAIL="john.doe@example.com" # KMP administrator email<br><br>KMP_SMTP_HOST="localhost" # SMTP server name (default value = localhost)<br><br>KMP_SMTP_PORT="25" # SMTP server port (default value = 25)<br><br>PHP_PATH="/usr/bin/php" # Command to run PHP executable (default value = /usr/bin/php)</font><br></p>
<p></p>
</div></div><br>
<p></p>
<p></p>]]></description>
                                    <pubDate>Fri, 22 Jan 2010 08:55:39 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00464</guid>
                    </item>
                <item>
                        <title>How to translate "Rate it!"?</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00460</link>
                                    <description><![CDATA[<p>This text is a part of the default rating form. You won't find it at Administration &gt; Interface Languages module.</p><p>To translate it you just need to create your own rating form at Customization &gt; Custom Rating Forms. You can specify the replacement for "Rate It!" text at the second wizard step:</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00460/rate-it.png" alt="" title="" width="598" height="414" border="0" hspace="0" vspace="0" align="" style="margin-right: 0px; margin-left: 0px; margin-bottom: 0px; margin-top: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "><br></p><p>Then you can set this form on your front-end at Customization &gt; Styling and Front-end Settings &gt; Article</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00460/custom-rating-form.png" alt="" title="" width="738" height="168" border="0" hspace="0" vspace="0" align="" style="margin-right: 0px; margin-left: 0px; margin-bottom: 0px; margin-top: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "><br></p>]]></description>
                                    <pubDate>Mon, 18 Jan 2010 08:05:44 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00460</guid>
                    </item>
                <item>
                        <title>Category permissions change confirmation</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00441</link>
                                    <description><![CDATA[<p>If you have changed permissions when edited a category, you may get this confirmation window.</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00441/permissions-confirmation.png" alt="Category permissions change confirmation" title="" width="404" height="262" border="0" hspace="0" vspace="0" align="" style="margin-right: 0px; margin-left: 0px; margin-bottom: 0px; margin-top: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "></p><p>New settings will be applied to the current category anyway, so the first checkbox is disabled.</p><p>Three other checkboxes allow you to apply changes to child articles, subcategories, and articles in subcategories.</p><p>The "add groups" and &nbsp;the "replace groups" options have different effect on child objects.</p><p>If you choose "<b>add groups</b>", the list of groups that have access to child articles/categories&nbsp;will be modified according to your changes. Let's see that on example:</p><p>Let's say we have a category. "Group B" and "Group C" have access to it.</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00441/parent-category.png" alt="" title="" width="574" height="566" border="0" hspace="0" vspace="0" align="" style="margin-right: 0px; margin-left: 0px; margin-bottom: 0px; margin-top: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "><br></p><p>We remove "Group C" and add "Group A".</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00441/parent-category-changed.png" alt="" title="" width="574" height="568" border="0" hspace="0" vspace="0" align="" style="margin-right: 0px; margin-left: 0px; margin-bottom: 0px; margin-top: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "><br></p><p>Save it and get a confirmation.</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00441/permissions-confirmation.png" alt="" title="" width="404" height="262" border="0" hspace="0" vspace="0" align="" style="margin-right: 0px; margin-left: 0px; margin-bottom: 0px; margin-top: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "><br></p><p>We want to apply changes to all articles from this category with "<b>add groups</b>" option and click OK.</p><p>Before applying these changes we had an article in this category. Look at its "Access" column:</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00441/child-article.png" alt="" title="" width="728" height="124" border="0" hspace="0" vspace="0" align="" style="margin-right: 0px; margin-left: 0px; margin-bottom: 0px; margin-top: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "><br></p><p>Due to the option "add groups", "Group C" is no longer have access to the article, and "Group A" obtains the access.</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00441/child-article-changed.png" alt="" title="" width="726" height="124" border="0" hspace="0" vspace="0" align="" style="margin-right: 0px; margin-left: 0px; margin-bottom: 0px; margin-top: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "><br></p><p>Notice that, since we haven't changed access for "Group B" and "Group D" when we edited category permissions, these two groups have the same access to this article: "Group B" didn't have access before and doesn't have it now, and "Group D" still has access to this article.</p><p>If we'd selected "<b>replace groups</b>" option, child article would have the <b>same permissions</b> as its parent category. Current category permissions are copied to the child objects&nbsp;(articles, subcategories, and/or articles in subcategories)&nbsp;selected in the confirmation window when you select "<b>replace groups</b>" option.</p><p></p>]]></description>
                                    <pubDate>Mon, 21 Dec 2009 11:45:22 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00441</guid>
                    </item>
                <item>
                        <title>Setting up LDAP integration</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00439</link>
                                    <description><![CDATA[<p>This article describes how to setup LDAP integration in Knowledgebase Base Manager Pro.&nbsp;</p>
<p></p>
<div class="info">
<div class="infoHeader">What is "LDAP"?</div>
<div class="infoContent">
<p>
</p>
<p style="padding: 0px; margin: 0px 0px 17px; font-size: 12px; line-height: 1.4em;">LDAP stands for Lightweight Directory Access Protocol, and allows usage of single user account directory to login to various applications.</p>
<p style="padding: 0px; margin: 0px 0px 17px; font-size: 12px; line-height: 1.4em;"></p>
<p style="padding: 0px; margin: 0px 0px 17px; font-size: 12px; line-height: 1.4em;">&nbsp;&nbsp;You can use existing LDAP server to manage user integration and authentication with following options:</p>
<ul class="onelevel" style="padding: 0px 0px 0px 40px; margin: 0px 0px 17px; font-size: 12px; list-style-position: outside; line-height: 1.6em;"><li style="padding: 1px 0px; margin: 0px; font-size: 12px; list-style-type: disc; line-height: inherit;">Authorization</li><li style="padding: 1px 0px; margin: 0px; font-size: 12px; list-style-type: disc; line-height: inherit;">Group Mapping</li><li style="padding: 1px 0px; margin: 0px; font-size: 12px; list-style-type: disc; line-height: inherit;">Synchronization of User Details</li><li style="padding: 1px 0px; margin: 0px; font-size: 12px; list-style-type: disc; line-height: inherit;">Synchronization of Groups</li><li style="padding: 1px 0px; margin: 0px; font-size: 12px; list-style-type: disc; line-height: inherit;">User Group Assignment</li><li style="padding: 1px 0px; margin: 0px; font-size: 12px; list-style-type: disc; line-height: inherit;">LDAP version 3 support</li><li style="padding: 1px 0px; margin: 0px; font-size: 12px; list-style-type: disc; line-height: inherit;">And much more is available with LDAP support now.</li></ul>
<p></p>
<p style="padding: 0px; margin: 0px 0px 17px; font-size: 12px; line-height: 1.4em;">As well as integration, user account details can be synched and LDAP groups can be mapped with KnowledgeBase Manager Pro groups for role-based permissions.</p>
<p></p>
</div></div>
<p></p>
<h2><font color="#366092">&nbsp;Setup Instructions</font></h2>
<p></p>
<ol><li>Go to the "<b>LDAP Settings</b>" section in <b>Administration &gt; General Settings</b>.</li><li>First of all tick the "<b>Enable LDAP Authentication</b>" checkbox to start and select a&nbsp;<b>LDAP platform.</b><br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/Shared/KMP/LDAP/enable-and-platform.png" alt="Enable LDAP authentication and select LDAP platform" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="82" hspace="0" vspace="0" width="376"><br><br></li><li>Specify correct <b>LDAP host</b> and <b>port</b>. <br><br><div class="attention">
<div class="attentionHeader">LDAP Host and Port<br></div>
<div class="attentionContent">
<p>Double check these settings because application may freeze for 10 minutes if you try to connect to&nbsp;nonexistent&nbsp;LDAP server.&nbsp;</p>
</div></div><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/Shared/KMP/LDAP/host-and-port.png" alt="LDAP host and LDAP port" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="54" hspace="0" vspace="0" width="620"><br><br><div class="info">
<div class="infoHeader">LDAPS (LDAP via SSL)</div>
<div class="infoContent">
<p>
If you would like to enable LDAPS (LDAP via SSL) you may need to follow the instructions in <a href="ARTICLE_URL#715##AA-00754#" target="">this guide</a>&nbsp;(for IIS and Apache on Windows 2003/2008).</p></div></div></li><li>Specify additional connection settings.<br>If your LDAP server hold references to other servers you may want to enable "<b>Allow Follow Referrals</b>" option.<br>Enable "<b>LDAP Version 3</b>" option if you would like to use LDAPv3 protocol.<br>The "<b>Negotiate TLS</b>" option allows establishment of Transport Layer Security on the connection.<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/Shared/KMP/LDAP/additional-options.png" alt="Follow referals, LDAP version 3, negotiate TLS" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="74" hspace="0" vspace="0" width="246"><br><br></li><li>If you would like to get users by certain parameters, you may want to modify the "<b>Search String</b>" value. Otherwise, left the default value.<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/Shared/KMP/LDAP/search-string.png" alt="Search string" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="26" hspace="0" vspace="0" width="624"><br><br></li><li>Usually "<b>Base DN</b>" consists of two parts: OU (Organizational  Unit, "company" in our example), and dc (Domain Component, "example" and "com" in our example; if your LDAP server name includes more domain levels, there will be more dc's).<br>You may not specify OU and get full tree of directory groups then.<br><div class="attention">
<div class="attentionHeader">Object Unit<br></div>
<div class="attentionContent">
<p>If you specify OU (Organizational Unit), make sure that LDAP users that you want to import belong to this OU as well as their parent groups. Otherwise, they won't be imported.</p>
</div>
</div>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/Shared/KMP/LDAP/base-dn.png" alt="Base DN" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="24" hspace="0" vspace="0" width="624"></p>
</li><li>Setup username and password for connection on the LDAP server. This user must have permission to see LDAP entries.<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/Shared/KMP/LDAP/username-password.png" alt="Connection username and password" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="50" hspace="0" vspace="0" width="624"><br><br></li><li>Check the mapping attributes.<br><br><div class="attention">
<div class="attentionHeader">Mapping Attributes<br></div>
<div class="attentionContent">
<p>Remember that LDAP users that you want to import must have all these required attributes: account name, first name, last name, email. Otherwise they won't be imported. Make sure that attributes here in KMP preferences match user attributes on the LDAP server.</p>
</div>
</div>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/Shared/KMP/LDAP/attributes-mapping.png" alt="Attributes mapping" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="140" hspace="0" vspace="0" width="652"></p>
</li><li>Setup synchronization options.<br>If you would like KMP to inactivate user account if he gets deleted from the LDAP server, set the "<b>Disable User When Deleted</b>" checkbox.<br>If you would like to synchronize LDAP user details and LDAP groups each time a LDAP user log in, set checkboxes accordingly. If these checkboxes are not set, account and group information will be synchronized upon the first login only.<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/Shared/KMP/LDAP/sync-options.png" alt="Syncronization options" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="76" hspace="0" vspace="0" width="262"><br><br></li><li>Check "Group Mapping Settings".<br>A user that belongs to a LDAP group that is not mapped to any KMP group will be assigned to the group set in "<b>Default Group Mapping Action</b>".<br>Check the "<b>LDAP Group Member Attribute</b>" to match the group entry that stores a list of group members.<br>Check all LDAP settings, click "<b>Save</b>" above and mark the "<b>Enable LDAP Group Mapping</b>" to start mapping.<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/Shared/KMP/LDAP/mapping-settings.png" alt="" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="116" hspace="0" vspace="0" width="800"><br><br></li><li><a name="map" ></a>You will see the tree of LDAP groups on the left upon&nbsp;successful&nbsp;connection and the tree of KMP groups on the right. Now you need to map some groups from the LDAP server with groups in KMP. Mapping of LDAP group A to KMP group B means that users from LDAP group A will be assigned to the KMP group B.<br>Just drag-n-drop a LDAP group to a KMP group to map them. You can map several LDAP groups to one KMP group. Click "<b>Save</b>" above when finished.<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/Shared/KMP/LDAP/group-mapping.png" alt="Group mappings" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="342" hspace="0" vspace="0" width="880"><br><br><br></li><li>After successful mapping you can proceed with one of the two approaches.</li></ol><ul><ul><li><span style="line-height: 16px;">You can go to Users &amp; Groups &gt; Manage Users and click the "</span><b style="line-height: 16px; ">Get LDAP Users</b><span style="line-height: 16px;">" button to import LDAP users to KMP immediately. </span><b style="line-height: 16px; ">Please note that usage of the&nbsp;<span style="line-height: 19px; "><span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 16px; ">"</span><b style="line-height: 16px; ">Get LDAP Users</b><span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 16px; ">" button&nbsp;</span></span>is not required</b><span style="line-height: 16px;"><b>&nbsp;for successful integration of KMP with your LDAP directory</b> - there is no need to import all LDAP users at once, especially considering limited number of user accounts in KMP. When someone tries to login to KMP and KMP doesn't have this user account in its database, it asks the LDAP server and if a user with these username and password&nbsp;exists&nbsp;on the LDAP server, the account in KMP will be created automatically. Also, "Get LDAP Users" has some limitations due to limits of LDAP servers - they often do not allow to get more than a 1000 users at a time remotely, and if you're using "Get LDAP Users" button while having thousands of users on the LDAP server, you may not find the user that you wanted to import. This doesn't mean that LDAP or KMP functions incorrectly - simply use it another way as specified below:</span></li><li><span style="line-height: 16px;">Or you can skip the "Get LDAP Users" step and try to login as one of the users from mapped groups. If all settings are correct, you'll be able to login with username and password of this user gotten from the LDAP server. Account in KMP will be created automatically&nbsp;upon login.</span></li></ul></ul><div>If you have any issues with LDAP integration, check the <a href="ARTICLE_URL#533##AA-00572#" target="">LDAP&nbsp;troubleshooting&nbsp;guide</a>.</div>
<p></p>]]></description>
                                    <pubDate>Mon, 21 Dec 2009 08:41:59 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00439</guid>
                    </item>
                <item>
                        <title>Can Flash Charts Pro dynamically generate the charts from data stored in a MYSQL database?</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00260</link>
                                    <description><![CDATA[<p><span class="mediumtext">It is necessary to have two files to draw a
chart. The SWF file that contains the chart itself and XML file where
information about the chart (labels, colors, chart elements' size,
shown on the chart data) is stored. SWF file is included in Flash
Charts Pro package. XML file has to be created manually, or you can
write a script that will generate the XML file automatically by taking
data from your database. XML file structure is shown in manual. You can
also find a lot of sample XML files in Flash Charts Pro package.</span></p>]]></description>
                                    <pubDate>Thu, 25 Jun 2009 00:02:50 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00260</guid>
                    </item>
                <item>
                        <title>How I can restrict guests from posting events.</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00257</link>
                                    <description><![CDATA[<p><span class="mediumtext">In order to change users and guests permissions, please do the following:
<br>- login to Web Calendar Pro as the administrator;
<br>- choose "Calendars" from the main menu;
<br>- press the "Manage Calendars" button;
<br>- open the appropriate calendar from the list;
<br>- then you will find "Posting by guests", "Auto-approve guest events" and
"Auto-approve user events" options below at the page;
<br>- deselect these checkboxes press "Save" button.

<br>With these settings guests will not be able to make changes in this calendar
and user changes will be applied only after your approval.&nbsp;</span></p>]]></description>
                                    <pubDate>Wed, 24 Jun 2009 14:00:00 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00257</guid>
                    </item>
                <item>
                        <title>How can I change date format in Web Calendar Pro?</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00254</link>
                                    <description><![CDATA[<p><span class="mediumtext">In order to change the date format follow these steps:<br><br><ul><li>login to Web Calendar Pro as the administrator;</li><li>choose "Calendars" from the main menu;</li><li>press the "Manage Calendars" button;</li><li>open the appropriate calendar from the list;</li><li>then you will find "Date format" option below at the page;</li><li>choose the option you need from the dropdown menu and press "Save" button.</li></ul><br>This setting will not affect already existing users. They can change date format this way:<br><br><ul><li>login to Web Calendar Pro as the user;</li><li>click on the "Account" button on the right hand on the top;</li><li>then you will find "Date format" option below at the page;</li><li>choose the option you need from the dropdown menu and press "Submit" button.</li></ul></span></p>]]></description>
                                    <pubDate>Wed, 24 Jun 2009 23:54:11 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00254</guid>
                    </item>
                
    </channel>
</rss>