<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
        <title>Web-Site-Scripts.com - All</title>
        <link>http://www.web-site-scripts.com/knowledge-base/</link>
        <description><![CDATA[Root directory]]></description>
        <language>en-us</language>
        <generator>KnowlageBase RSS Generator</generator>

         
                <item>
                        <title>Email headers are shown within the email body</title>
                                    <link>http://www.web-site-scripts.com/knowledge-base/article/AA-00707</link>
                                    <description><![CDATA[<p>It happens because the mail program on the server replaces \n (the new line character) with \r\n (carriage return + new line character). This behavior is common for old versions of mail programs. KMP ends each line in its email messages with \r\n (it is correct behavior) and then the mail program makes the mentioned replacement and it becomes \r\r\n which gives you an extra empty line. This is why email headers are shown in the email body (two new lines define the end of the headers by convention).</p><p>If you're not plnning to update the mail program, there is a workaround that you can use. Simply open this file under the KMP folder:</p><p>\admin\application\config\config.php</p><p>and search for this setting:</p><p><div class="preformatted">
<div class="preformattedContent">
$config['mail_newline'] = "\r\n";</div>
</div>
<p><p>By default it is set to \r\n.</p><p>And you need to change it to \n:</p><p><div class="preformatted">
<div class="preformattedContent">
$config['mail_newline'] = "\n";</div></div>After saving the file, it should now work correctly.</p></p></p>]]></description>
                                    <pubDate>Wed, 08 Feb 2012 10:31:57 -0600</pubDate>
                                    <guid>http://www.web-site-scripts.com/knowledge-base/article/AA-00707</guid>
                    </item>
                <item>
                        <title>How to switch the user interface language</title>
                                    <link>http://www.web-site-scripts.com/knowledge-base/article/AA-00706</link>
                                    <description><![CDATA[<p>To change the user interface language just for yourself, click on the My Account menu.</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00383/change-language.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"></p><p>Then select the Preferences tab and click Edit.
</p><p>Then you can change the Language option to a desired language.</p><p>After you click Save &amp; Close, it will reload the application and apply the new UI language.</p><p><br></p><p>To change language for all anonymous front-end users, go to: Customization &gt; Styling and Front-end Settings, and change the Select Language option.</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00383/common-lang.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p><p>Click Save to apply changes.</p><p>When you are logged in to the knowledge base, your account language preference overrides the front-end language setting.</p>]]></description>
                                    <pubDate>Thu, 26 Jan 2012 11:30:21 -0600</pubDate>
                                    <guid>http://www.web-site-scripts.com/knowledge-base/article/AA-00706</guid>
                    </item>
                <item>
                        <title>9. Subscriptions</title>
                                    <link>http://www.web-site-scripts.com/knowledge-base/article/AA-00704</link>
                                    <description><![CDATA[<p>KMP helps you to stay updated about the most recent changes in the knowledge base. You can subscribe by email or RSS to be notified about the latest comments, new articles, and article updates. You can subscribe to a selected article or to all articles within a category at once. Any visitor of a knowledge base can subscribe himself to one category or article at a time. Staff user can subscribe a user to multiple (or even all) categories at once. It is also possible to send user questions to groups of users, separate users, or any custom email address.</p>
<p></p><div class="info">
<div class="infoHeader">Cron Job required</div>
<div class="infoContent">
<p>Please note that email subscriptions to new comments, new articles, and article updates require working Cron Job. <a href="ARTICLE_URL#651##AA-00690#" target="">Check if Cron Job is set up and running</a>.</p>
</div>
</div>
<p></p><ul><li><a href="#es" target="">Email Subscriptions</a></li><ul><li><a href="#q" target="">Questions</a></li><li><a href="#bc" target="">By Category to: New Articles, Updated Articles, New Comments</a></li><ul><li><a href="#bcf" target="">Subscribe yourself to a category (one at a time)</a></li><li><a href="#bcb" target="">Subscribe a user to a category via the admin area (multiple categories)</a></li></ul><li><a href="#ba" target="">By Article: Article Updates and Comments</a></li><ul><li><a href="#baf" target="">Subscribe yourself to an article (one at a time)</a></li><li><a href="#bab" target="">Subscribe a user to an article via the admin area</a></li></ul></ul><li><a href="#rs" target="">RSS Subscriptions</a></li></ul><p></p><h2><a name="es" ></a>Email Subscriptions</h2>
<p></p>
<h3><a name="q" ></a>Questions</h3>
<p>
</p><p>You can tell KMP to forward user questions submitted via Ask a Question form. To do that:</p>
<p>Go to the Customization &gt; Styling and Front-end Settings page.</p>
<p>Click on the Ask a Question tab.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/email-questions.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Chose user groups, separate users, or specify an email (or multiple emails separated by commas) in the "Send Questions by Email to" field and click "Save".</p>
<p></p>
<h3><a name="bc" ></a>By Category to: New Articles, Updated Articles, New Comments</h3>
<p>By subscribing to a category user will get an email when an article has been created or updated in this category, or a comment has been posted to one of the articles that belong to the category.</p>
<h4><a name="bcf" ></a>Subscribe yourself to a category (one at a time)</h4>
<p>Anyone can subscribe himself to a category from the front-end. This is how the subscription button looks in the Theme1 and custom themes based on it:</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/subscribe-to-category-1.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Theme2:</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/subscribe-to-category-2.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>...and Theme3:</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/subscribe-to-category-3.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>After you click on that button a window will appear with the subscription options.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/subscribe-to-category-window.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Input your email here, select subscription options and click "Subscribe".</p>
<h4><a name="bcb" ></a>Subscribe a user to a category via the admin area (multiple categories)</h4>
<p>
</p><p>If you are a Staff user, you can subscribe someone to one or multiple categories.</p>
<p>Go to Articles &gt; Subscribers &gt; Category Subscribers page.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/category-subscribers.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Click Add Subscriber.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/add-category-subscriber.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Click "Select" to select a category or multiple categories you wish to subscribe the user to, or even all categories by selecting the "All" checkbox.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/category-picker.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Enter user's email.</p>
<p>Select the subscription options:</p>
<p><b>Add </b>- for notifications about new articles</p>
<p><b>Edit </b>- for notifications about updated articles</p>
<p><b>Comments </b>- to be notified about new comments</p>
<p>Click Save &amp; Close.</p>
<p></p>
<h3><a name="ba" ></a>By Article: Article Updates and Comments</h3>
<p>By subscribing to an article user will get an email when the article has been updated in this category or a comment has been posted to it.
</p>
<p>
</p><h4><a name="baf" ></a>Subscribe yourself to an article (one at a time)</h4>
<p>Anyone can subscribe himself to a category from the front-end. This is how the subscription button looks in the Theme1 and custom themes based on it:
</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/subscribe-to-article-1.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Theme2:</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/subscribe-to-article-2.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>...and Theme3:</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/subscribe-to-article-3.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>After you click on of that buttons, a window will appear where you can input your email and click "Subscribe" to subscribe yourself.</p>
<h4><a name="bab" ></a>Subscribe a user to an article via the admin area</h4>
<p></p>
<p>
</p><p>
</p><p style="line-height: 18px; ">If you are a Staff user, you can subscribe someone to an article updates or comments.</p>
<p style="line-height: 18px; ">Go to Articles &gt; Subscribers &gt; Article Subscribers page.</p>
<p></p>
<p>Click Add Subscriber.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/add-article-subscriber.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Select an article you wish to subscribe the user to.</p>
<p>Enter user's email.</p>
<p>Select the subscription options.</p>
<p><b>Articles</b> - if enabled, the user will be notified about the article updates.</p>
<p><b>Comments</b> - if enabled, the user will be notified about new comments posted to this article.</p>
<p></p>
<h2><a name="rs" ></a>RSS Subscriptions</h2>
<p>RSS (Rich Site Summary) is&nbsp;a format for delivering regularly changing web content. By subscribing to an RSS feed using an RSS reader (a program that collects RSS feeds for you and displays them in a readable format) you can get notifications about changing content. In KMP you can subscribe to new and updated articles, and to comments by RSS.</p><p>If you look at a KMP front-end page you'll notice several RSS buttons.</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00704/rss-buttons.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p><p>They allow you to subscribe to various types of articles. For example the leftmost and right most RSS buttons provide subscription to all articles - you'll be notified about each new article. Three buttons in the middle provide feeds for featured, most popular, and articles with the highest rating.</p><p>You can subscribe only to publicly available articles via RSS.</p>
]]></description>
                                    <pubDate>Tue, 24 Jan 2012 10:54:54 -0600</pubDate>
                                    <guid>http://www.web-site-scripts.com/knowledge-base/article/AA-00704</guid>
                    </item>
                <item>
                        <title>Adding Active Response suggestions to a form on your website</title>
                                    <link>http://www.web-site-scripts.com/knowledge-base/article/AA-00703</link>
                                    <description><![CDATA[<p>
</p>
<p>This guide explains how to add Active Response feature to a form on your website. Active Response helps you to provide an always available self-service to your customers, allowing them to find the answers to their questions immediately instead of submitting them to your support or sales department and waiting for the answer. While user types text in the form with Active Response feature, he sees suggested articles from the knowledgebase below. Active response system analyzes user input and finds the most accurate answers to his question from the knowledge base.</p>
<h3>Enable API in KMP</h3>
<p>Go to Administration &gt; General Settings &gt; API Server page and tick the checkbox against "Enable API Server". Then click "Save".</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00703/api-url.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Notice the Server Link here, you'll need it later.</p>
<h3>Upload files to the server</h3>
<p>Download the&nbsp;<span style="background-color: rgb(255, 255, 255); text-align: left; ">active-response.zip file <a href="#below" target="">below on this page</a>. Unzip it and c</span>opy its contents to a directory on the website. You'll be launching your API script from that directory.</p>
<h3>Adjust the URL and the token</h3>
<p>Adjust the URL to KMP API server and the token in the config.php file:</p>
<p></p>
<div class="preformatted">
<div class="preformattedContent"><div class="preformattedContent">define('CLIENT_TOKEN', '<span style="background-color: rgb(255, 255, 0);">198fcc74ce556625d1b09a36cd8325b7</span>');</div><div class="preformattedContent">define('URL_TO_KMP_RPC_SERVER', '<span style="background-color: rgb(255, 255, 0);">http://www.yourwebsite.com/kb/api.php</span>');</div></div>
</div>
<p>To get a token, you need to create a Staff user (Users &amp; Groups &gt; Staff &gt; Add Staff User) and assign him to a group. Then re-open the user edit window. You can copy the token from it.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00703/token.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Please note that the token is being used for authentication, so if you're using the token of a certain user account, it means that each article that the user can see may be shown to public via the form with Active Response. We would recommend to create a user with special access permissions, and use his token here to avoid exposure of restricted information. Alternatively you can enable the "Allow Anonymous Access" option at the API settings page (Administration &gt; General Settings &gt; API Server).</p>
<p>You can get the URL to the API server from the Administration &gt; General Settings &gt; API Server page.</p>
<h3>Copy CSS and JavaScript references</h3>
<p>Adjust the URLs as mentioned below and copy-paste this code to the &lt;head&gt;&lt;/head&gt; section of the page were you want to have the Active Response feature.</p>
<p></p>
<div class="preformatted">
<div class="preformattedContent"><div class="preformattedContent">&lt;link rel="stylesheet" type="text/css" href="css/styles.css" /&gt;</div><div class="preformattedContent">&lt;link rel="stylesheet" type="text/css" href="css/search.css" /&gt;</div><div class="preformattedContent">&lt;link rel="stylesheet" type="text/css" href="css/ask_question.css" /&gt;</div><div class="preformattedContent">&lt;script type="text/javascript"&gt;</div><div class="preformattedContent">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; base_url = '<span style="background-color: rgb(255, 255, 0);">http://www.web-site-scripts.com/knowledge-base/</span>';</div><div class="preformattedContent">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; emptyImageUrl = '<span style="background-color: rgb(255, 255, 0);">http://demo/active-response/</span>images/s.gif';</div><div class="preformattedContent">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; base_href = '<span style="background-color: rgb(255, 255, 0);">http://demo/active-response/</span>';</div><div class="preformattedContent">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i18n = { 'lbl_article': 'Article', 'lbl_attachment_in': 'Attachment to', 'lbl_category': 'Category', 'lbl_do_these_answers_help': 'Do These Answers Help?', 'lbl_found_some_answers': 'We\'ve found some answers in our knowledge base that might be helpful to you:', 'lbl_cancel': 'Cancel', 'lbl_desc': 'Description', 'lbl_save': 'Save', 'lbl_term': 'Term', 'msg_error_yellow': 'Please complete the required fields below highlighted in red.', 'msg_exist_term': 'You already have this term.', 'msg_title_add_term': 'Add Term' };</div><div class="preformattedContent">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rtl='';</div><div class="preformattedContent">&lt;/script&gt;</div><div class="preformattedContent">&lt;script type="text/javascript" src="js/lite-build.js" &gt;&lt;/script&gt;</div><div class="preformattedContent">&lt;script type="text/javascript" src="jsa/gateway_ask_question.js" &gt;&lt;/script&gt;</div></div>
</div>
<p>where:</p>
<p></p>
<p><b>http://www.web-site-scripts.com/knowledge-base/</b> - needs to be replaced with the URL to your KMP main front-end page</p>
<p><b>http://demo/active-response/</b> - needs to be replaced with with the URL to the folder with the aforementioned API files.</p>
<h3>Adjust the form fields</h3>
<p>Edit the form which you're going to plug Active Response feature to, and add some IDs to it.</p>
<p>Wrap it with:</p>
<p></p>
<div class="preformatted">
<div class="preformattedContent">
<p>
&lt;div id="ask-question-case"&gt;</p>
<p>Here goes your form.</p>
<p>&lt;/div&gt;</p>
</div>
</div>
<p>Add id="askSubject" to the Subject field of the form (optional - only if you wish that field to be searchable):</p>
<p></p>
<p></p>
<div class="preformatted"><div class="preformattedContent">&lt;input type="text" name="subject" value="" <span style="background-color: rgb(255, 255, 0);">id="askSubject"</span>&gt;</div></div>
<p></p>
<p>Add id="ask-question" to the text area for user question:</p>
<p></p>
<div class="preformatted"><div class="preformattedContent">&lt;textarea <span style="background-color: rgb(255, 255, 0);">id="ask-question"</span> name="question" cols="" rows=""&gt;&lt;/textarea&gt;</div></div>
<p></p>
<p>Add image that will show loading animation to a desired place on the form page:</p>
<p></p>
<div class="preformatted"><div class="preformattedContent">&lt;img alt="" style="padding-left: 5px; display: none;" src="images/loadingme.gif" id="ask-loader"&gt;</div>
</div>
<p>Add this div to the place where you want to show articles suggested by Active Response:</p>
<p></p>
<p></p>
<div class="preformatted">
<div class="preformattedContent">
&lt;div <span style="background-color: rgb(255, 255, 0);">id="ask-proposes"</span>&gt;&lt;/div&gt;</div>
</div>
<p>That's it! Now you can open the form in your browser and try typing something that can be found in your knowledge base. You'll see the Active Response in action.</p>
<p></p>
<p>If you would need any help in configurung Active Reponse, feel free to contact us.</p>
<p><a name="below" ></a><br></p>
<p></p>
]]></description>
                                    <pubDate>Mon, 23 Jan 2012 13:42:05 -0600</pubDate>
                                    <guid>http://www.web-site-scripts.com/knowledge-base/article/AA-00703</guid>
                    </item>
                <item>
                        <title>Cron troubleshooting guide (for Windows)</title>
                                    <link>http://www.web-site-scripts.com/knowledge-base/article/AA-00702</link>
                                    <description><![CDATA[<p>If you haven't setup a cron job yet, you can do this now.&nbsp;<a href="ARTICLE_URL#444##AA-00483#" target="">How to setup a cron job?</a>
</p>
<p>If you're not sure if the cron job is running on your server, use this guide to troubleshoot this issue.</p>
<p>First of all, check if that is really the case - use <a href="ARTICLE_URL#651##AA-00690#" target="">this guide to check if cron job is set up and running</a>. Once you are sure that cron doesn't work, proceed with the troubleshooting steps below to find out what caused that and how to fix it.</p>
<p></p>
<ul><li>If the knowledge base opens via https only</li><li><a href="#1-minute" target="" style="line-height: 18px; ">Check if the cron job is setup to run each 1 minute</a></li><ul><li><a href="#1-minute-2003" target="">Windows XP/2003</a></li><li><a href="#1-minute-2008" target="">Windows 7/2008</a></li></ul><li><span style="line-height: 18px;"><a href="#cron-vbs" target="">Try to run cron from the command line</a></span></li><li><span style="line-height: 18px; "><a href="#blocked" target="">Check if cron.vbs and php.exe are not blocked</a></span>
</li><li><span style="line-height: 18px;"><a href="#slash" target="">Check if the URL to KMP has a trailing slash</a></span></li><li><a href="#spaces" target="">If paths contain spaces</a></li><li><a href="#error-log" target="">Enable the error log</a></li></ul>
<h2><a name="ssl" ></a>If the knowledge base opens via https only</h2><p>If you're using an SSL certificate for secure connection (https), you need to <a href="ARTICLE_URL#616##AA-00655#" target="">add two lines to the cron.php file</a>.</p><p>It is easy to check if you're using SSL. Simply take a look at the browser address bar when a knowledge base page is opened. If it starts with "https://", then you're using SSL. If you've got "http://" there, then you're not.</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00702/https.PNG" alt="" title="" width="348" height="114" 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></p>
<h2><a name="1-minute" ></a>Check if the cron job is setup to run each 1 minute</h2>
<p>Remember&nbsp;that if cron job runs<span style="background-color: rgb(255, 255, 255); ">&nbsp;<span class="hps">less frequently than once</span>&nbsp;<span class="hps">per minute,&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>&nbsp;will still display that "You have to setup cron script..." message. So cron might actually be running correctly, just not as often as expected. Use the instructions below that match your Windows version to check how often cron is set to run on your system.</span></span></p>
<h3><a name="1-minute-2003" ></a>Windows XP/2003</h3>
<p>Go to Start &gt; Control Panel &gt; Scheduled Tasks.
</p>
<p>Right-click on the KMP cron task and click Properties.</p>
<p>Then click the Schedule tab on the window with cron task properties. You'll see the schedule.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00702/schedule.png" title="" alt="" border="0" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "></p>
<p>Click the "Advanced" button.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00702/schedule-advanced.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Check that the Start Date is in the past and that all other settings are the same as on the screenshot above. Pay attention to the part marked on the screenshot. It is recommended to repeat the task every 1 minute.</p>
<p>Save the new settings and hold on a minute. Then <a href="ARTICLE_URL#651##AA-00690#" target="">check if cron job is now working</a>. If it still doesn't work, proceed to the <a href="#cron-vbs" target="">next step</a>.</p>
<h3><a name="1-minute-2008" ></a>Windows 7/2008</h3>
<p>Open Control Panel and type "Schedule Tasks" into the search field.
</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00702/schedule-tasks.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>You will see the "Schedule Tasks" link. Click on it.
</p>
<p>Find the KMP cron task, right click on it and select Properties.</p>
<p>Click on the Triggers tab.</p>
<p>Select the trigger and click Edit.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00702/trigger.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Check that the Start date is in the past and that all other settings are the same as on the screenshot above. Pay attention to the part marked on the screenshot. It is recommended to repeat the task every 1 minute. Since there is no option "1 minute" in the selection list, it is a common issue when users select "5 minutes" instead.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00702/1-minute.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>You can simply type "1 minute" to the field and it will be accepted as a valid repetition period.</p>
<p>Save the new settings and hold on a minute. Then&nbsp;<a href="ARTICLE_URL#651##AA-00690#" target="">check if cron job is now working</a>. If it still doesn't work, proceed to the&nbsp;next step.
</p>
<h2><a name="cron-vbs" ></a>Try to run cron from the command line</h2>
<p>Now let's check if the cron.vbs file is valid.</p>
<p>Go to Start &gt; All Programs &gt; Accessories &gt; Command Prompt.</p>
<p>Copy-paste the full path to php.exe with the two parameters from the cron.vbs (that is what you've got between quotation marks on the second line after <span style="background-color: rgb(255, 255, 255);">WinScriptHost.Run)</span>.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00702/cron-cmd.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>Valid command usually doesn't generate any input like shown on the screenshot. So if you do not see any errors, it should be OK and you can proceed to the next step.</p>
<p>If an error has been displayed and you understand what the error means (for instance it may tell you that the path to php.exe is incorrect - so you need to adjust it), try to fix it. Then try to launch the updated command once again. If the error message is unclear, make a shot of your screen (you might need to send it to us for a research) and proceed to the next step. We've got some common errors explained below along with appropriate solutions.</p>
<h2><a name="blocked" ></a>Check if cron.vbs and php.exe are not blocked</h2>
<p>Open properties of the php.exe file and cron.php (which is located in the /admin/CRON/ sub-directory of KMP) and make sure that these files are not blocked.</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00702/blocked.PNG" alt="" title="" width="402" height="207" 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>If one of these files is blocked, click the "Unblock" button to unlock it.
</p>
<h2><a name="slash" ></a>Check if the URL to KMP has a trailing slash</h2>
<p>Open the cron.vbs and check if the last parameter on the second line - the URL to KMP has a trailing slash.</p>
<p>This is&nbsp;<b>correct</b>:<br></p>
<div class="preformatted"><div class="preformattedContent">WinScriptHost.Run "C:\PHP\php.exe c:\inetpub\wwwroot\kmp\admin\CRON\cron.php&nbsp;<span style="background-color: rgb(255, 255, 255);">http://<span style="line-height: 16px; ">www.yourwebsite.com</span>/kmp</span><span style="background-color: rgb(255, 255, 0);">/</span>", 0</div></div>
<p></p>
<p>This is&nbsp;<b>incorrect</b>:<br></p>
<div class="preformatted"><div class="preformattedContent">WinScriptHost.Run "C:\PHP\php.exe c:\inetpub\wwwroot\kmp\admin\CRON\cron.php&nbsp;<span style="background-color: rgb(255, 255, 255);">http://<span style="line-height: 16px; ">www.yourwebsite.com</span>/kmp</span>", 0</div></div>
<p>&nbsp;If the trailing slash is missing, add it, save the cron.vbs file and check if cron is working normally now.</p>
<h2><a name="spaces" ></a>If paths contain spaces</h2>
<p>If the path to php.exe or to cron.php contains spaces, it is necessary to take that path into double quotes:</p>
<p></p>
<div class="preformatted" style="border-color: initial; "><div class="preformattedContent"><div class="preformattedContent">Set WinScriptHost = CreateObject("WScript.Shell")</div><div class="preformattedContent">WinScriptHost.Run <span style="background-color: rgb(141, 179, 226);">"</span><span style="background-color: rgb(255, 255, 0); ">""</span>C:\Program<span style="background-color: rgb(255, 255, 255);"> </span>Files\PHP\php.exe<span style="background-color: rgb(255, 255, 0); ">""</span>&nbsp;<span style="background-color: rgb(146, 208, 80); ">""</span>C:\Inetpub\Some<span style="background-color: rgb(255, 255, 255);"> </span>Folder\kmp\admin\CRON\cron.php<span style="background-color: rgb(146, 208, 80); ">""</span>&nbsp;http://<span style="line-height: 16px; ">www.yourwebsite.com</span>/kmp/<span style="background-color: rgb(141, 179, 226);">"</span>, 0</div><div class="preformattedContent">Set WinScriptHost = Nothing</div></div></div>
<p>The matching pairs of quotes are shown in the same color in the example above for your convenience.</p>
<h2><a name="error-log" ></a>Enable the error log</h2>
<p><a href="ARTICLE_URL#532##AA-00571#" target="">Enable the error log</a>, then try to run cron job once again. Check if anything has been added to the log file, which is located in the /admin/tmp/ directory.</p>
<p style="line-height: 18px; ">If this guide haven't helped or you have any questions feel free to contact our <a href="http://www.web-site-scripts.com/knowledge-base/askQuestionForm" target="">Support Team</a>. Please attach the error log file and the screenshot of the output produced by the cron.vbs file to your email. This will help us to resolve the issue faster. Thank you.</p>
<p></p>
]]></description>
                                    <pubDate>Wed, 28 Dec 2011 17:51:09 -0600</pubDate>
                                    <guid>http://www.web-site-scripts.com/knowledge-base/article/AA-00702</guid>
                    </item>
                <item>
                        <title>Mass deletion of categories and articles</title>
                                    <link>http://www.web-site-scripts.com/knowledge-base/article/AA-00701</link>
                                    <description><![CDATA[<p>It is possible to delete multiple categories at a time. Articles stored in these categories will be also deleted. To do this:</p><p>Go to Articles &gt; Articles &amp; Categories.</p><p>Select desired categories by marking checkboxes next to them. If you would like to select all categories, click on the checkbox next to the root node - "Knowledgebase".</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00701/select.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p><p>Then click the "Delete" button.</p><p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00701/delete.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p><p>You will see a deletion confirmation message, if at there is least one article in these categories.</p><p>Please note that all articles in selected categories and their subcategories will be deleted. An article will not be deleted though if it is assigned to multiple categories and at least one of these categories is not going to be deleted (for example, if article is assigned to both "Cron Job" and "General" categories shown on the screenshots above, it will not be deleted).</p><p><br></p>]]></description>
                                    <pubDate>Fri, 02 Dec 2011 04:05:00 -0600</pubDate>
                                    <guid>http://www.web-site-scripts.com/knowledge-base/article/AA-00701</guid>
                    </item>
                <item>
                        <title>KMP v6.0.3 Update Notices</title>
                                    <link>http://www.web-site-scripts.com/knowledge-base/article/AA-00697</link>
                                    <description><![CDATA[<p></p><ol style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 30px; margin-top: 0px; margin-right: 0px; margin-bottom: 17px; margin-left: 0px; list-style-position: outside; list-style-type: decimal; "><li style="font-size: 13px !important; line-height: inherit; ">There are some new language strings added in the new version. They will be added to all your language profiles after update, so you can translate them at any moment.</li><li style="line-height: inherit; padding-top: 1px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; font-size: 13px !important; "><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: normal; border-collapse: collapse; ">If you haven't done any changes to the default English translation, we recommend you to reset it. Follow these steps to do that:</span></li><ol style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 30px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 13px !important; list-style-position: outside; line-height: inherit; list-style-type: decimal; "><li style="padding-top: 1px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; font-size: 13px !important; "><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: normal; border-collapse: collapse; ">Go to the Administration &gt; Interface Languages.</span></li><li style="padding-top: 1px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; font-size: 13px !important; "><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: normal; border-collapse: collapse; ">Click the "Edit" button for default English language (you can find the default language easily - it can't be deleted, so the "Delete" button is&nbsp;deactivated).</span></li><li style="padding-top: 1px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; font-size: 13px !important; "><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: normal; border-collapse: collapse; ">Click the topmost "Restore to Default" button in the window header.</span></li><li style="padding-top: 1px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; font-size: 13px !important; "><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: normal; border-collapse: collapse; ">Click "Save&amp;Close".</span></li><li style="padding-top: 1px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; font-size: 13px !important; "><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: normal; border-collapse: collapse; ">Press Ctrl-F5 to reload the application.</span></li></ol><li style="line-height: inherit; padding-top: 1px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; font-size: 13px !important; "><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; border-collapse: collapse; line-height: normal; ">If you have a translation to any language, please share it with everyone. You can do that&nbsp;by simply clicking the "Send to WSS" button in Administration &gt; Interface Languages. We will publish it in our knowledge base for&nbsp;<a target="" href="ARTICLE_URL#386##AA-00425#" 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; text-decoration: underline; color: rgb(51, 102, 153) !important; cursor: pointer; ">free download</a>.</span></li><li style="padding-top: 1px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; "><span style="font-size: 13px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-collapse: collapse; line-height: normal; ">Gears plugin is deprecated and it will no longer be available as of December 2011.</span><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; border-collapse: collapse; ">&nbsp;</span><span style="background-color: rgb(255, 255, 255);">We changed how drag'n'drop works under the hood. Ability to drag'n'drop documents and images to knowledge base articles is provided via HTML5 facilities from now on. Gears are no longer used for this. We removed Gears plugin support from KMP completely to avoid any confusion. Many HTML5 standards are already supported by the most advanced web browsers, such as <a href="http://www.mozilla.org/en-US/firefox/new/" target="" rel="nofollow">Firefox</a> and <a href="http://www.google.com/chrome" target="" rel="nofollow">Chrome</a>, and soon other browsers will catch up.</span></li></ol><p></p>]]></description>
                                    <pubDate>Wed, 02 Nov 2011 16:11:11 -0500</pubDate>
                                    <guid>http://www.web-site-scripts.com/knowledge-base/article/AA-00697</guid>
                    </item>
                <item>
                        <title>Increasing maximum allowed size for uploads on IIS7</title>
                                    <link>http://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 100MB, then we would need to put "104857600" there (this number equals 100MB exactly).<br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00696/max-allowed-content-length.png" alt="" title="" width="420" height="496" 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>Also make sure that the "<a href="ARTICLE_URL#453##AA-00492#" target="">Allow double escaping</a>" option is enabled. It must be enabled for correct download 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 -0500</pubDate>
                                    <guid>http://www.web-site-scripts.com/knowledge-base/article/AA-00696</guid>
                    </item>
                <item>
                        <title>How to use drag'n'drop to upload files</title>
                                    <link>http://www.web-site-scripts.com/knowledge-base/article/AA-00694</link>
                                    <description><![CDATA[<p>Attachments in KMP work like a desktop app. Drag and drop files from your desktop directly onto your KMP article to bulk-upload multiple files.</p><p>These two methods are currently supported in such modern browsers as Firefox and Chrome.</p>
<p>Watch the video to learn how it&nbsp;&nbsp;works.</p><div><div>
<p><a title="Upload Documents Just by Dragging and Dropping Them" onclick="window.open('http://www.web-site-scripts.com/knowledge-base/pages/dragndrop-1html.html', 'videotour', 'scrollbars=0,resizable=0,width=894,height=475');return false;" target="_blank" href="http://www.web-site-scripts.com/knowledge-base/pages/dragndrop-1html.html"><img style="border-width: 0px; margin: 0px;" src="http://www.web-site-scripts.com/images/blog/dragndrop-1.png" alt="Upload Documents Just by Dragging and Dropping Them"></a></p>
<p>If you click on the "Add New" button while you're at the Attachments tab of an article edit window, you will see this window:</p>
<p><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00537/upload.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br></p>
<p>If provides you with more options for file upload:</p>
<p></p>
<ol><li><b>Upload Using Drag'n'Drop</b> - the same method as described in the video above.</li><li><b>Upload Choosing Multiple Files at Once</b> - it looks like common files upload dialogue, but it allows you to select and upload multiple files at once.</li><li><b>Upload Choosing Files One by One</b> - Common upload dialogue, you can use it if Gears is not installed in your browser or not available.</li></ol><div><br></div>
<p></p>
</div></div>]]></description>
                                    <pubDate>Wed, 05 Oct 2011 09:50:17 -0500</pubDate>
                                    <guid>http://www.web-site-scripts.com/knowledge-base/article/AA-00694</guid>
                    </item>
                <item>
                        <title>If you're using MSSQL 2005</title>
                                    <link>http://www.web-site-scripts.com/knowledge-base/article/AA-00693</link>
                                    <description><![CDATA[<p>If you're using MSSQL 2005, please insert this as a second line to the <b>/admin/config.inc.php</b> file (KMP must be already installed):</p>
<p></p><div class="preformatted">
<div class="preformattedContent">define('MAX_INSERT_ROWS', 1);</div>
</div>
<p>The file will look similar to this then:</p><p></p>
<p></p><div class="preformatted">
<div class="preformattedContent"><div class="preformattedContent">&lt;?php</div><div class="preformattedContent"><span style="background-color: rgb(255, 255, 0);">define('MAX_INSERT_ROWS', 1);</span></div><div class="preformattedContent">&nbsp; &nbsp; // --- Debug settings ---</div><div class="preformattedContent">&nbsp; &nbsp; // General application debug</div><div class="preformattedContent">&nbsp; &nbsp; define('KMP_DEBUG', 0); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 1 to enable, 0 to disable</div><div><br></div></div>
</div>
<p>Save the config.inc.php file.</p><p></p>
]]></description>
                                    <pubDate>Tue, 27 Sep 2011 16:01:38 -0500</pubDate>
                                    <guid>http://www.web-site-scripts.com/knowledge-base/article/AA-00693</guid>
                    </item>
                
    </channel>
</rss>
