<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
        <title>Web-Site-Scripts.com - Most Popular</title>
        <link>https://www.web-site-scripts.com/knowledge-base/?action=getCategory&amp;data=0</link>
        <description><![CDATA[Root directory]]></description>
        <language>en-us</language>
        <generator>KnowlageBase RSS Generator</generator>

         
                <item>
                        <title>Blank page after login to the back-end</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00551</link>
                                    <description><![CDATA[<p></p><p>If JavaScript is disabled in your browser, you would not be able to work with the back-end, also front-end functionality will be limited.</p><p>Starting from v5.4.0 you get a message that suggests you to enable JavaScript.</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00551/enable-javascript.png" alt="" title="" width="732" height="192" 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>In earlier versions, you may experience the following symptoms:</p><p></p><ul><li><span style="line-height: 16px;">blank page is shown upon login to the back-end</span></li><li><span style="line-height: 16px;">category tree, and all menus/buttons do not work in the front-end</span></li></ul><div>All you need to do is - enable JavaScript in your browser.</div><p></p><h2>How to enable/allow JavaScript in your browser</h2><p><ul><li><span style="line-height: 16px;"><a href="#ie78" target="">Internet Explorer 7/8</a></span></li></ul></p><h3><a  name="ie78"></a>Internet Explorer 7/8</h3><p>Internet Explorer may have restrictions on usage of JavaScript in highly secure environments.&nbsp;JavaScript is required for KMP to run successfully, so if you get blank page after login to KMP in Internet Explorer, you need to check the security settings and allow usage of JavaScript for KMP website.</p><ol><li>Go to Tools &gt; Internet Options &gt; Security<br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00551/internet-explorer-options.png" alt="" title="" width="456" height="556" 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></li><li>Select "Trusted Sites"<br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00551/security.png" alt="" title="" width="430" height="554" 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></li><li>Click "Sites" below.</li><li>Click "Add" to add KMP website to the trusted sites list.<br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00551/add-website.png" alt="" title="" width="426" height="552" 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></li></ol><p></p><p></p>]]></description>
                                    <pubDate>Mon, 06 Sep 2010 15:26:04 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00551</guid>
                    </item>
                <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>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>Setup Cron job on Windows 7/Vista/2008</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00487</link>
                                    <description><![CDATA[<p></p>
<ol>
<li>Create a new text file somewhere, for example in the root of disk C. Name it "cron.vbs".</li><li>Put these lines into the file with the replacements specified below:<br><div class="preformatted"><div class="preformattedContent">
<p>S<span style="line-height: 16px;">et WinScriptHost = CreateObject("WScript.Shell")</span></p>
<p></p>
<p>WinScriptHost.Run "<span style="background-color: rgb(255, 255, 0);">%PATH-TO-PHP%</span>\php.exe&nbsp;<span style="background-color: rgb(255, 255, 0);">%PATH-TO-KMP%</span>\admin\CRON\cron.php&nbsp;<span style="background-color: rgb(255, 255, 0);">%URL-TO-KMP%</span>/", 0</p>
<p>Set WinScriptHost = Nothing</p>
<p></p>
</div></div>
<br>Replace&nbsp;<span style="background-color: rgb(255, 255, 0);">%PATH-TO-PHP%</span>&nbsp;with path to php executable file (php.exe). Be sure to use "php.exe", not the "php-cgi.exe"!<br><br>
Replace&nbsp;<span style="background-color: rgb(255, 255, 0);">%PATH-TO-KMP%</span>&nbsp;with physical path (not URL) where you have installed KnowledgeBase Manager Pro.<br><br>
Replace&nbsp;<span style="background-color: rgb(255, 255, 0);">%URL-TO-KMP%</span>&nbsp;with URL to location where you have installed KnowledgeBase Manager Pro (if open this URL in your browser, you'll see the front-end part of your knowledge base).&nbsp;Please note that website name should not be "localhost", otherwise you would get incorrect URLs in emails that KMP sends - users won't be able to open articles they are subscribed to, etc.<br><br>Example #1:<br>
<div class="preformatted"><div class="preformattedContent">
<p>S<span style="line-height: 16px;">et WinScriptHost = CreateObject("WScript.Shell")</span></p>
<p></p>
<p>WinScriptHost.Run "C:\PHP\php.exe c:\inetpub\wwwroot\kmp\admin\CRON\cron.php http://www.yourwebsite.com/kmp/", 0</p>
<p>Set WinScriptHost = Nothing</p>
</div></div>Example #2 (if PHP and/or KMP path contains whitespaces - in this case, you need to take path to double quotes):<br><div class="preformatted">
<div class="preformattedContent"><div class="preformattedContent">Set WinScriptHost = CreateObject("WScript.Shell")</div><div class="preformattedContent">WinScriptHost.Run "<span style="background-color: rgb(255, 255, 0);">""</span>C:\Program Files\PHP\php.exe<span style="background-color: rgb(255, 255, 0);">""</span> <span style="background-color: rgb(146, 208, 80);">""</span>C:\Inetpub\Some Folder\kmp\admin\CRON\cron.php<span style="background-color: rgb(146, 208, 80);">""</span> http://<span style="line-height: 16px; ">www.yourwebsite.com</span>/kmp/", 0</div><div class="preformattedContent">Set WinScriptHost = Nothing</div><div><font face="Arial, Helvetica, sans-serif"><span style="line-height: 16px;"><font face="Courier"><span style="line-height: 13px;"><br></span></font></span></font></div></div></div><br>
<div class="attention"><div class="attentionHeader">Warning<br></div>
<div class="attentionContent">
<p>
Please, do not forget the slash at the end of the last parameter for the php.exe.</p>
<p>This is&nbsp;<b>correct</b>:<br></p>
<div class="preformatted"><div class="preformattedContent">http://<span style="line-height: 16px; ">www.yourwebsite.com</span>/kmp<span style="background-color: rgb(255, 255, 0);">/</span></div></div>
<p></p>
<p>This is&nbsp;<b>incorrect</b>:<br></p>
<div class="preformatted"><div class="preformattedContent">http://<span style="line-height: 16px; ">www.yourwebsite.com</span>/kmp</div></div>
<p></p>
</div>
</div></li><li>Go to the Control Panel &gt; Scheduled Tasks.</li><li>Open Control Panel and type "Schedule Tasks" into the search field.<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00487/schedule-tasks.png" alt="" title="" width="512" height="202" 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>You will see the "Schedule Tasks" link. Click on it.</li><li>Click the "Create Task" on the right pane.<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00487/create-task.png" alt="" title="" width="400" height="412" 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>Give it an appropriate name, e.g. "KMP Cron Task" and set the "Run whether user is logged on or not"&nbsp;radio-button.<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00487/general-settings.png" alt="" title="" width="648" height="488" 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>&nbsp;You may want to change user under whom the scheduled task will run.<br><br></li><li>Go to the "Triggers" tab and click "New...".</li><li>Set checkbox on "Repeat task every" and enter "1 minutes" to the next dropdown menu (there is no "1 minutes" item, but you can easily enter it from keyboard).<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00487/trigger.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br><br>Click OK.<br><br></li><li>Go to the "Actions" tab and click "New...".</li><li>Click "Browse..." to select <b>cron.vbs</b>.<br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00487/new-action.png" alt="" title="" width="468" height="508" 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></li><li>Click OK on both windows and you're done with Cron setup.</li><li>Open the KMP control panel and go to Administration &gt; General Settings &gt; Auto Related Articles. You may see the following message there&nbsp;previously: "You have to setup cron script in order to use this functionality."<br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00485/cron-setup-request.png" alt="" title="" width="606" height="240" 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>This message will disappear after the first run of the Cron script. Click "Recheck"&nbsp;&nbsp;in about a minute to see that Cron job has been successfully installed.<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00485/cron-setup-successfully.png" alt="" title="" width="592" height="200" 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></ol>

<p><br></p>
]]></description>
                                    <pubDate>Tue, 16 Feb 2010 10:17:54 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00487</guid>
                    </item>
                <item>
                        <title>Installation of native URL Rewriting module (URL Rewrite) for IIS7</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00470</link>
                                    <description><![CDATA[<p>This guide describes how to enable URL rewriting feature on IIS7 server.</p>
<ol><li>Download and install <a href="http://www.iis.net/expand/URLRewrite" target="">URLRewrite</a>&nbsp;version 1.1 or 2. Installation is fast and simple.</li><li>Open the IIS manager and check that URL Rewrite is installed.<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00470/url-rewrite-installed.png" alt="" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="502" hspace="0" vspace="0" width="746"><br><br></li><li>Edit the web.config file in the wwwroot folder and add four rewrite rules for KMP to the <b>&lt;system.webServer&gt;</b> section.&nbsp;<br><br><div class="source">
<div class="sourceHeader" align="center">Rewrite Rules for web.config<br></div>
<div class="sourceContent">
<p>
&nbsp;&lt;rewrite&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;rules&gt;<br>
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;clear /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;rule name="Rule 1" stopProcessing="true"&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;match url="^<span style="background-color: rgb(255, 255, 0);">kmp</span>/hosts/hosted/(.*)$" ignoreCase="false" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;conditions logicalGrouping="MatchAll"&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/conditions&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action type="Rewrite" url="/<span style="background-color: rgb(255, 255, 0);">kmp</span>/hosts/hosted/index.php?/{R:1}" appendQueryString="false" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/rule&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;rule name="Rule 2" stopProcessing="true"&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;match url="^<span style="background-color: rgb(255, 255, 0);">kmp</span>/hosts/preview/(.*)$" ignoreCase="false" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;conditions logicalGrouping="MatchAll"&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/conditions&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action type="Rewrite" url="/<span style="background-color: rgb(255, 255, 0);">kmp</span>/hosts/preview/index.php?/{R:1}" appendQueryString="false" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/rule&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;rule name="Rule 3" stopProcessing="true"&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;match url="^<span style="background-color: rgb(255, 255, 0);">kmp</span>/admin/(.*)$" ignoreCase="true" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;conditions logicalGrouping="MatchAll"&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/conditions&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action type="Rewrite" url="/<span style="background-color: rgb(255, 255, 0);">kmp</span>/admin/index.php?/{R:1}" appendQueryString="false" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/rule&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;rule name="Rule 4" stopProcessing="true"&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;match url="^<span style="background-color: rgb(255, 255, 0);">kmp</span>/(.*)$" ignoreCase="true" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;conditions logicalGrouping="MatchAll"&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/conditions&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action type="Rewrite" url="/<span style="background-color: rgb(255, 255, 0);">kmp</span>/index.php?/{R:1}" appendQueryString="false" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/rule&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/rules&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/rewrite&gt;<br></p>
</div>
</div>
<p><br></p>
<div class="info">
<div class="infoHeader">Check Path to KMP</div>
<div class="infoContent">
<p>Please note that the example above works for KMP installed to the "kmp" folder under the web root. If you have installed KMP to another folder, you need to change the highlighted values accordingly (there are 8 of them).</p>
</div></div></li><li>You can download an example of web.config file with those rewrite rules from the Attachments section below.</li><li>Open the URL rewrite tool from your website page in IIS Manager and check that all rules have been added successfully.<br><br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00470/url-rewrite-rules.png" alt="" title="" style="margin: 0px; border-width: 0px;" align="" border="0" height="310" hspace="0" vspace="0" width="858"><br><br></li><li>Go to Styling and Front-end Settings to switch URL Rewriting ON and save the new settings:<br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00470/rewrite-on.PNG" alt="" title="" width="667" height="89" 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></li><li>Open a front-end page in your browser to check if URL Rewrite works correctly now.</li></ol>
<p></p>]]></description>
                                    <pubDate>Thu, 11 Feb 2010 01:17:03 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00470</guid>
                    </item>
                <item>
                        <title>Embedding login and password to the URL</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00310</link>
                                    <description><![CDATA[<p><span class="mediumtext"><span style="font-size: large;"><font color="#548DD4">Q:</font></span> I will be using passworded access for my
customers and internal staff. I will embed a link to the KB in my
company's hosted application. Is there a syntax for embedding login
credentials in the URL?<br>
</span></p><p><span style="font-size: large;"><font color="#548DD4">A:</font></span>&nbsp;You can use the following link format to guide user to the login form with already filled login and password
fields:</p><p></p><div class="preformatted">
<div class="preformattedContent"><span style="font-family: Arial, Helvetica, sans-serif; line-height: 16px; ">http://www.yourwebsite.com/admin/authorization/loginForm/0/<b>login</b>/<b>password</b>/1</span></div>
</div>
<p>where "login" and "password" should be actual login information.</p><p></p><p>After opening of such an URL, user just needs to click "Login".</p><p></p><div class="info">
<div class="infoHeader">Password Restrictions</div>
<div class="infoContent">
<p>
Please note that in order to work properly when embedded into a URL, password must contain only URL-safe characters, such as letters and numbers.</p>
</div>
</div>
<p><div class="info">
<div class="infoHeader">URL Rewrite</div>
<div class="infoContent">
<p>
Please note that if <a href="ARTICLE_URL#437##AA-00476#" target="">URL Rewrite</a>&nbsp;is not enabled in your KB, you would need to use the following link format (with added <b>index.php?/</b> part):</p><p><div class="preformatted">
<div class="preformattedContent">
http://www.yourwebsite.com/admin/<b>index.php?/</b>authorization/loginForm/0/login/password/1</div></div></p>
</div>
</div>
<p><br></p><br></p><br><p></p>]]></description>
                                    <pubDate>Fri, 17 Jul 2009 06:08:51 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00310</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>Web server requirements (hardware)</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00505</link>
                                    <description><![CDATA[<p>Knowledgebase Manager Pro works well on any web-server that meets its <a href="ARTICLE_URL#429##AA-00468#" target="">software requirements</a>. Numerous instances of Knowledgebase Manager Pro are running on shared web hosting (virtual hosting) at this very moment and serve great. You can install it on a shared hosting too.</p>
<p>If you would like to use a dedicated hosting or host it &nbsp;on a local server, you can use hardware&nbsp;requirements&nbsp;and example specifications below for a&nbsp;reference.</p>
<ul>
<li><a href="#hardware-requirements">Recommended Hardware Requirements</a></li>

<li><a href="#example-hardware-specs">Example
 Hardware Specifications</a></li>

<li><a href="#maximum-reported-usages">Maximum
 Reported Usages</a></li>

<li><a href="#clustering">Technical
 Overview of Clustering in KnowledgeBase Manager Pro</a></li></ul>
<h2><a name="hardware-requirements" ></a>Recommended Hardware Requirements</h2>

<p>On small instances, server load is primarily driven by peak visitors.</p>

<p>5 Concurrent Users</p>
<ul class="onelevel"><li>1GHz+ CPU</li><li>512MB RAM</li><li>20MB database space</li><li>300MB disk space</li>

</ul>

<p>25 Concurrent Users</p>
<ul class="onelevel"><li>Dual 2GHz+ CPU</li><li>2GB+ RAM</li><li>80MB database space</li><li>1GB disk space</li>

</ul>

<a name="example-hardware-specs" ></a>
<h2>Example Hardware Specifications</h2>

<p>These are example hardware specifications for non-clustered Knowledgebase Manager Pro instances.&nbsp;These values are customer instances reported to us.</p>

<table class="common" style="width: 400px;"><tbody>
</tbody>
<thead>
<tr>
<th class="tl" width="80">
Accounts
</th>
<th class="tt" width="80">
Aticles
</th>
<th class="tt" width="80">
CPUs
</th>
<th class="tt" width="80">
CPU (GHz)
</th>
<th class="tt" width="80">
RAM (MB)
</th>
</tr>
</thead>

<tbody>
<tr>
<td align="right"> 
150 </td>
<td align="right"> 
1,000 </td>
<td align="right"> 
1 </td>
<td align="right"> 
2.6 </td>
<td align="right"> 
1,024 </td>
</tr>
<tr class="odd">
<td align="right"> 
350 </td>
<td align="right"> 
14,000 </td>
<td align="right"> 
2 </td>
<td align="right"> 
2.8 </td>
<td align="right"> 
768 </td>
</tr>
<tr>
<td align="right"> 
5,000 </td>
<td align="right"> 
15,000</td>
<td align="right"> 
4 </td>
<td align="right"> 
3 </td>
<td align="right"> 
2,048</td>
</tr>
<tr class="odd">
<td align="right"> 
8,000 </td>
<td align="right"> 
17,000 </td>
<td align="right"> 
2 </td>
<td align="right"> 
3.8 </td>
<td align="right"> 
2,048</td>
</tr>
<tr>
<td align="right"> 
10,000 </td>
<td align="right"> 
4,000 </td>
<td align="right"> 
2 </td>
<td align="right"> 
3.4 </td>
<td align="right"> 
4,096</td>
</tr>
<tr class="odd">
<td align="right"> 
21,000 </td>
<td align="right">
13,000 </td>
<td align="right"> 
2 </td>
<td align="right"> 
3.6 </td>
<td align="right"> 
4,096</td>
</tr>
</tbody>
</table>

<a name="maximum-reported-usages" ></a>
<h2>Maximum Reported Usages</h2>

<p>These values are largest customer instances reported to us or used 
for performance testing. Clustering for load balancing, database tuning 
and other performance tuning is recommended for instances exceeding 
these values.</p>


<table class="common" style="width: 400px;" cellpadding="0" cellspacing="0"><tbody>
<tr>
<td width="200px"> 
Most Internal Users </td>
<td align="right" width="70px"> 
100K </td>
</tr>
<tr class="odd">
<td width="200px"> 
Most LDAP Users </td>
<td align="right" width="70px"> 
100K </td>
</tr>
<tr>
<td width="200px"> 
Most Pages </td>
<td align="right" width="70px"> 
80K</td></tr></tbody></table>
<p></p>]]></description>
                                    <pubDate>Wed, 17 Mar 2010 18:14:04 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00505</guid>
                    </item>
                <item>
                        <title>PHP drivers for Microsoft SQL (Windows + Apache)</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00748</link>
                                    <description><![CDATA[<p></p>
<p>KMP uses Microsoft's SQLSRV driver, which installs as a PHP extension, to connect to a MSSQL database. This guide explains how to install this driver on Windows with Apache.</p>
<h2>Supported PHP versions:</h2>
<ul style="list-style-type: none; "><li><span style="line-height: 16px; ">PHP v5.3.6+</span></li><li><span style="line-height: 16px; ">PHP v5.4.*</span></li></ul><h2><span style="color: rgb(63, 113, 173); line-height: normal;">Installation</span></h2>
<p></p>
<p style="line-height: 18px; "></p>
<p><span style="line-height: 18px; ">Download the</span>&nbsp;<span style="background-color: rgb(255, 255, 255); "><b>SQLSRV30.EXE</b> file from</span>&nbsp;<a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=20098" target="_blank" style="line-height: 18px; ">the official Microsoft website</a>.</p>
<p style="line-height: 18px; ">Double click on the downloaded file. It is a self-extracting archive. It will ask you where to extract the files. Use a temporary target folder for this, you would need only one of the extracted files.</p>
<p style="line-height: 18px; ">Check the upacked files. You can see a bunch of them, though you need only one file. You should use the Tread Safe version of PHP with Apache (if you're using a package like XAMPP, your PHP version is Tread Safe). If you're using PHP v5.3.6+, you would need this file:</p>
<p style="line-height: 18px; "></p>
<div class="preformatted"><div class="preformattedContent" style="font-size: 12px; ">php_sqlsrv_53_ts.dll<br></div></div>
<p style="line-height: 18px; ">Or if you're using PHP v5.4+ the file would be this one:</p><p style="line-height: 18px; "></p><div class="preformatted">
<div class="preformattedContent">
php_sqlsrv_54_ts.dll</div></div><p></p><p style="line-height: 18px; ">Copy the chosen file to the PHP extensions directory. By default it is C:\Program Files (x86)\PHP v5.4\ext or similar (for the latest XAMPP versions it is C:\xampp\php\ext by default). If you're not sure, check the "extension_dir" parameter in the php.ini file.</p>
<p style="line-height: 18px; "></p>

<p style="line-height: 18px; ">To load the sqlsrv dirver, add the following line to the php.ini (for PHP v5.3.6+):</p>
<p style="line-height: 18px; "></p>
<div class="preformatted"><div class="preformattedContent" style="font-size: 12px; ">extension=php_sqlsrv_53_ts.dll</div></div>
<p style="line-height: 18px; ">Or</p><p style="line-height: 18px; "></p><div class="preformatted">
<div class="preformattedContent">
extension=php_sqlsrv_54_ts.dll</div>
</div>
<p>for PHP v5.4+.</p><p></p><p style="line-height: 18px; ">Also, you would need to install&nbsp;<a href="http://www.microsoft.com/en-us/download/details.aspx?id=8328" target="">Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)</a>&nbsp;on the web server.</p>
<p><span style="line-height: 18px; ">Restart Apache.</span></p>
<p style="line-height: 18px; ">To determine whether the driver has been successfully loaded,&nbsp;<a href="http://www.web-site-scripts.com/knowledge-base/article/AA-00616/0" target="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; border-image: initial; outline-style: none; outline-width: initial; outline-color: initial; border-style: initial; ">run a script that calls phpinfo()</a>.</p>
<p style="line-height: 18px; ">Search for "sqlsrv" on that page (use Ctrl-F shortcut in your browser). If sqlsrv driver is installed correctly, you should see something like this:</p>
<p style="line-height: 18px; "><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00718/sqlsrv.png" alt="" title="" width="660" height="164" border="0" hspace="0" vspace="0" align="" style="margin: 0px; border-width: 0px; "><br></p>
<p style="line-height: 18px; ">Microsoft SQL Server 2012 R2 Native Client must also be installed on the server on which PHP is running. To download and install SQL Server 2012 R2 Native Client now, click on the link below that matches the Windows edition on the web server:</p>
<p style="line-height: 18px; "></p>
<p style="line-height: 18px; "></p>
<ul style="list-style-type: none; "><li><span style="line-height: 16px; "><a href="http://go.microsoft.com/fwlink/?LinkID=239647&amp;clcid=0x409" target="">Download the x86 package</a></span></li><li><span style="line-height: 16px; "><a href="http://go.microsoft.com/fwlink/?LinkID=239648&amp;clcid=0x409" target="">Download the x64 package</a></span></li></ul>
<p></p>
]]></description>
                                    <pubDate>Wed, 13 Feb 2013 12:46:47 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00748</guid>
                    </item>
                <item>
                        <title>Installation of KnowledgeBase Manager Pro</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00167</link>
                                    <description><![CDATA[<ol>
<li><a target="" href="#Overview">Overview</a></li>
<li><a target="" href="#Uploading%20Files">Uploading Files</a></li>
<li><a target="" href="#Requirements">Requirements</a></li>
<li><a target="" href="#File%20System%20Permissions">File System Permissions</a></li>
<li><a target="" href="#Database%20Setup">Database Setup</a></li>
<li><a target="" href="#System%20Preferences">System Preferences</a></li>
<li><a target="" href="#Administrator%27s%20Account">Administrator's Account</a></li>
<li><a target="" href="#Summary">Summary</a></li><ul><li><a target="" href="#Cron_Setup">Cron Setup</a><br></li></ul>
</ol>
<h2><a name="Overview" ></a>Overview</h2>
<p>Installing Knowledgebase Manager Pro means uploading files to your web server and completing the simple installation wizard. The wizard will ask you to configure file system permissions, database, administrator account and some other settings.</p>
<h2><a name="Uploading Files" ></a>Uploading Files</h2>
<p>To upload Knowledgebase Manager Pro you need to unzip contents of the "package" directory from the latest KMP package onto your local hard drive and, using an FTP client for example, login to your web server and copy Knowledgebase Manager Pro files through.&nbsp;</p>
<p>To start the setup wizard, navigate to the directory you have uploaded Knowledgebase Manager Pro to. For example if you uploaded files to the "kmp" under the web root, open http://www.yoursite.com/kmp/ in your browser to start.</p><p>If you have a blank screen instead of the installation wizard <a href="ARTICLE_URL#512##AA-00551#" target="">check if JavaScript is enabled in your browser</a>.</p><p>If you get a <a href="ARTICLE_URL#557##AA-00596#" target="">"Don't have permissions" error, check this guide for help</a>.</p><p></p><div class="info">
<div class="infoHeader">PHP</div>
<div class="infoContent">
<p>You need to have PHP already installed on the server to start Knowledgebase Manager Pro installation. If you do not have it yet, <a href="ARTICLE_URL#458##AA-00497#" target="">check this guide to find out how to install PHP</a>.</p><p></p><div></div><p></p>
</div>
</div>
<p>You will see the following page. Choose language if necessary and click "Apply".&nbsp;</p><p></p>
<p><img style="margin: 0px; border-width: 0px;" title="" alt="Step 1" src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00167/installation-step-1.png" align="" border="0" height="541" hspace="0" vspace="0" width="654"><br></p>
<p>Enter the product key. You can get it from your account in the <a href="http://www.web-site-scripts.com/member-area/" target="_blank" rel="nofollow">member area</a>.</p>
<p><img style="border-width: 0px; margin: 0px;" title="" alt="" src="http://web-site-scripts.com/knowledge-base/admin/media_store/2//AA-00167/product-key.png" align="" border="0" height="311" hspace="0" vspace="0" width="660"></p>
<p>You can skip activation if you're installing KMP on a test server that doesn't have internet connection.&nbsp;To skip product activation leave this field empty.</p><p>You must also agree with <a target="_blank" href="http://www.web-site-scripts.com/eula.html">End-User License Agreement</a> to proceed.<br></p>
<p>Click "Next" to start the installation.</p>
<h2><a name="Requirements" ></a>Requirements</h2>
<p>For a successful installation of the Knowledgebase Manager Pro your sever must match the <a href="ARTICLE_URL#429##AA-00468#" target="">system requirements</a>.</p>
<p><img style="margin: 0px; border-width: 0px;" title="" alt="Step 2" src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00167/installation-step-2.png" align="" border="0" height="542" hspace="0" vspace="0" width="656"></p>
<p>On this step you may be asked to install the required modules.</p>
<h3><a name="curl" ></a>Curl setup</h3>
<p>If you are asked to install Curl, chose follow one of the guides below according to your server preferences:</p>
<p></p>
<ul><li><span style="line-height: 16px;"><a href="ARTICLE_URL#441##AA-00480#" target="_blank">Installing Curl on Windows + Apache or Windows + IIS</a></span></li><li><span style="line-height: 16px;"><a href="ARTICLE_URL#443##AA-00482#" target="_blank">Installing Curl on Linux or a UNIX-like system</a></span></li><li><a href="ARTICLE_URL#442##AA-00481#" target="">Installing Curl on WAMP</a></li></ul>
<p></p><p></p>
<h2><a name="File System Permissions" ></a>File System Permissions</h2>
<p>Knowledgebase Manager Pro requires some files and directories to have special permissions set. The exact permissions may vary from server to server however the ones that should work on the majority of servers are: write and read permissions for owner and read permissions for others. It can be set up by chmod 755 (or chmod 777 depending on server configuration) command for folders and chmod 644 (or chmod 666) command for files in UNIX systems.&nbsp;</p>
<p>Open our <a href="ARTICLE_URL#388##AA-00427#" target="_blank">guide that describes how to set files and folders access permissions efficiently</a> in a new window or browser tab. It will help you to set necessary permissions right now in a few clicks and it also includes the directions for setting secure permissions after installation.</p>
<p>You cannot proceed to the next step until all the system permissions are set up correctly. If you have some difficulties with this step do not hesitate to contact <a href="http://www.web-site-scripts.com/support-center.html" target="_blank">our support</a> or your system administrator.</p>
<p><img style="margin: 0px; border-width: 0px;" title="" alt="Step 3" src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00167/installation-step-3.png" align="" border="0" height="530" hspace="0" vspace="0" width="656"><br></p>
<h2><a name="Database Setup" ></a>Database Setup</h2>
<p>Knowledgebase Manager Pro supports MySQL and MS SQL database to store the data. Select a desired database type and then select a PHP extension which you're going to use. If it says that no extensions for your database type are available, <a href="ARTICLE_URL#116##AA-00155#" target="">learn how to install PHP extensions for databases</a>.</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00167/installation-step-4-with-mssql.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"></p><p><p style="line-height: 18px; ">You need to create an empty database on this step.&nbsp; This is usually can be done within Control Panel or cPanel web interface of your hosting account.<b>&nbsp;If it asks you for character set and collation, please select character set: utf8, and collation: utf8_general_ci (this is needed to MySQL).</b></p><p style="line-height: 18px; ">Your MySQL or MS SQL user account should also be granted full access to that database (including CREATE TABLE and ALTER TABLE operators) because installation wizard will need to create some tables and fill this database during the setup process.&nbsp;</p><p style="line-height: 18px; ">If you do not have MySQL on your server,&nbsp;<a href="ARTICLE_URL#457##AA-00496#" target="">check this guide to find out where to get it</a>.</p><p style="line-height: 18px; ">For MySQL: the&nbsp;<a href="ARTICLE_URL#250##AA-00289#" target="">"STRICT_TRANS_TABLES" option&nbsp;<b>must</b>&nbsp;be disabled.</a></p><p style="line-height: 18px; ">If you're installing it on MSSQL&nbsp;<a href="ARTICLE_URL#615##AA-00654#" target="">make sure that Full-text Indexing is enabled</a>. This must be done&nbsp;<b>prior</b>&nbsp;to the installation.</p><p style="line-height: 18px; ">If you're using MSSQL, you need to specify an account with SQL Server instead of using Windows Pass-through authentication when connecting to MSSQL.</p><p style="line-height: 18px; ">Host names "<span style="font-weight: bold; ">localhost</span>" and "<span style="font-weight: bold; ">127.0.0.1</span>" are common for most servers where web server software (e.g. Apache or IIS) and database are installed on the same machine (it is true for most hosting plans and when you install it on your PC or server), but if the Installation Wizard is unable to connect to the database server with this address, check for your hosting account documentation or contact your ISP or system administrator for correct SQL server name or IP address.<br></p><p style="line-height: 18px; ">If your database server uses non-default port, you can specify it within the host field separated by colon from the host name itself, e.g.&nbsp;"<span style="font-weight: bold; ">127.0.0.1:3307</span>"</p><p style="line-height: 18px; ">Tables prefix field should be empty by default. This is optional field that allows you to install Knowledgebase Manager Pro to the database that already contain tables of some other software. Tables prefix is added to a table name without any additional symbols, i.e. if you set "kmp_" as prefix and the table named "accounts" is going to be created, then setup wizard will name it "kmp_accounts".</p><p style="line-height: 18px; ">Click "Test" to check the database connection and if it is successful, click "Next" to fill the database.</p></p><p><div class="info">
<div class="infoHeader">What if the database population process stops and it doesn't let you go on?</div>
<div class="infoContent">
<p>Sometimes after successful database connection you click "Next" and it starts populating the database, but after about 30 seconds it stops. This happens because PHP and FastCGI timeouts are too low and script is unable to complete database population in time. In this case you need to setup&nbsp;<a href="ARTICLE_URL#542##AA-00581#" target="">recommended PHP and FastCGI settings</a>. Then try again.
</p>
</div>
</div>
</p><h2><a name="System Preferences" ></a>System Preferences</h2>
<p>On this step you can set up SMTP settings. Default SMTP settings are detected automatically and work on most servers so you do not usually need to change them. If you do not receive test email (check SPAM folder first), you can contact your ISP or refer to your hosting documentation to receive custom SMTP settings. These settings can be changed after installation.</p>
<p><img style="margin: 0px; border-width: 0px;" title="" alt="Step 5" src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00167/installation-step-5.png" align="" border="0" height="568" hspace="0" vspace="0" width="660"><br></p><p>When all corrections are done, click the "Next" button.</p>
<h2><a name="Administrator's Account" ></a>Administrator's Account</h2>
<p>Here you need to enter your name, e-mail, create login and password and click "Save" button.</p>
<p>Please remember your login and password. You will need them to login to Knowledgebase Manager Pro.</p>
<p><img style="margin: 0px; border-width: 0px;" title="" alt="Step 6" src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00167/installation-step-6.png" align="" border="0" height="581" hspace="0" vspace="0" width="660"><br></p>
<h2><a name="Summary" ></a>Summary</h2>
<p>This is the last step of the installation wizard. Here you can check all the settings and installation results made in the previous steps and setup cron jobs.</p>
<p><img style="border-width: 0px; margin: 0px;" title="" alt="" src="http://web-site-scripts.com/knowledge-base/admin/media_store/2//AA-00167/installation-step-7.png" align="" border="0" height="0" hspace="0" vspace="0" width="0"><img style="margin: 0px; border-width: 0px;" title="" alt="Step 7" src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00167/installation-step-7.png" align="" border="0" height="623" hspace="0" vspace="0" width="655"></p>
<p>In order to complete the installation you should add a task for Knowledge Base Manager Pro pseudo-cron to scheduler application. This step is optional and allows sending of updated content to subscribers, run indexation of knowledge base for automated related articles creation, periodical database backups, and attachments indexation.</p>

<h3><a name="Cron_Setup" ></a>Cron setup guides</h3><p>Chose your platform:</p><p></p><ul><li><span style="line-height: 16px;"><a href="ARTICLE_URL#446##AA-00485#" target="">Windows XP/2003</a></span></li><li><span style="line-height: 16px;"><a href="ARTICLE_URL#448##AA-00487#" target="">Windows 7/Vista/2008</a></span></li><li><span style="line-height: 16px;"><a href="ARTICLE_URL#445##AA-00484#" target="">Linux/UNIX</a></span></li><li><span style="line-height: 16px;"><a href="ARTICLE_URL#447##AA-00486#" target="">Control Panel (e.g. Plesk)</a></span></li></ul><p></p>
<p>If everything is arranged purely, then you get the green light to finish the installation process by clicking on "Finish" button.</p>

<p>If you get any errors or other issues after installation, please take a look at <a href="http://www.web-site-scripts.com/knowledge-base/category/74/0/10/KnowledgeBase-Manager-Pro/Troubleshooting/" target="">troubleshooting section</a>. If you can't find the solution there, feel free to submit your question at our <a href="http://www.web-site-scripts.com/support-center.html" target="">support center</a>.</p><p>Later, you can <a href="ARTICLE_URL#542##AA-00581#" target="">check the post installation checklist</a>&nbsp;to enable and configure additional features and fine-tune system preferences.</p>]]></description>
                                    <pubDate>Wed, 06 May 2009 14:00:00 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00167</guid>
                    </item>
                
    </channel>
</rss>