<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Larry Brouwer</title>
	<atom:link href="http://www.larrybrouwer.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.larrybrouwer.com</link>
	<description>...just my technology sandbox ...for my personal amusement only!</description>
	<lastBuildDate>Tue, 10 Jan 2012 19:36:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP Random Key Generator</title>
		<link>http://www.larrybrouwer.com/2012/01/10/php-random-key-generator/</link>
		<comments>http://www.larrybrouwer.com/2012/01/10/php-random-key-generator/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 19:36:00 +0000</pubDate>
		<dc:creator>Larry Brouwer</dc:creator>
				<category><![CDATA[Daily Log]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.larrybrouwer.com/2012/01/10/php-random-key-generator/</guid>
		<description><![CDATA[Yesterday, I needed a way to generate a random alpha-numeric key of various lengths using PHP for a project that I’m currently working on. I didn’t find any built-in functions, so after some Googling, I decided to implement my own version.
    private function generateRandomKey($len)
    {
     [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I needed a way to generate a random alpha-numeric key of various lengths using PHP for a project that I’m currently working on. I didn’t find any built-in functions, so after some Googling, I decided to implement my own version.</p>
<pre style="width: 725px; height: 382px" class="csharpcode">    <span class="kwrd">private</span> function generateRandomKey($len)
    {
        $chars = array(<span class="str">'1'</span>,<span class="str">'2'</span>,<span class="str">'3'</span>,<span class="str">'4'</span>,<span class="str">'5'</span>,<span class="str">'6'</span>,<span class="str">'7'</span>,<span class="str">'8'</span>,<span class="str">'9'</span>,<span class="str">'0'</span>,
        <span class="str">'a'</span>,<span class="str">'b'</span>,<span class="str">'c'</span>,<span class="str">'d'</span>,<span class="str">'e'</span>,<span class="str">'f'</span>,<span class="str">'g'</span>,<span class="str">'h'</span>,<span class="str">'i'</span>,<span class="str">'j'</span>,<span class="str">'k'</span>,<span class="str">'l'</span>,<span class="str">'m'</span>,
        <span class="str">'n'</span>,<span class="str">'o'</span>,<span class="str">'p'</span>,<span class="str">'q'</span>,<span class="str">'r'</span>,<span class="str">'s'</span>,<span class="str">'t'</span>,<span class="str">'u'</span>,<span class="str">'v'</span>,<span class="str">'w'</span>,<span class="str">'x'</span>,<span class="str">'y'</span>,<span class="str">'z'</span>,
        <span class="str">'A'</span>,<span class="str">'B'</span>,<span class="str">'C'</span>,<span class="str">'D'</span>,<span class="str">'E'</span>,<span class="str">'F'</span>,<span class="str">'G'</span>,<span class="str">'H'</span>,<span class="str">'I'</span>,<span class="str">'J'</span>,<span class="str">'K'</span>,<span class="str">'L'</span>,<span class="str">'M'</span>,
        <span class="str">'N'</span>,<span class="str">'O'</span>,<span class="str">'P'</span>,<span class="str">'Q'</span>,<span class="str">'R'</span>,<span class="str">'S'</span>,<span class="str">'T'</span>,<span class="str">'U'</span>,<span class="str">'V'</span>,<span class="str">'W'</span>,<span class="str">'X'</span>,<span class="str">'Y'</span>,<span class="str">'Z'</span>);
        $min = 0;
        $max = <span class="kwrd">sizeof</span>($chars)-1;
        $key = <span class="str">&quot;&quot;</span>;

        <span class="kwrd">for</span> ($i=0;$i&lt;$len;$i++) {
            $key .= $chars[mt_rand($min,$max)];
        }
        <span class="kwrd">return</span> $key;
    }</pre>
<p>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</p>
<p>Let me know if anyone has a better suggestion?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.larrybrouwer.com/2012/01/10/php-random-key-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a custom self-signed SSL certificate in IIS7</title>
		<link>http://www.larrybrouwer.com/2011/02/22/how-to-create-a-custom-self-signed-ssl-certificate-in-iis7/</link>
		<comments>http://www.larrybrouwer.com/2011/02/22/how-to-create-a-custom-self-signed-ssl-certificate-in-iis7/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 22:57:00 +0000</pubDate>
		<dc:creator>Larry Brouwer</dc:creator>
				<category><![CDATA[Notable]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://www.larrybrouwer.com/2011/02/22/how-to-create-a-custom-self-signed-ssl-certificate-in-iis7/</guid>
		<description><![CDATA[While installing some demo software today, I had to create a self-signed SSL certificate for IIS7. This is a relatively easy thing to do within the IIS7 Manager. However, the certificate that IIS7 generates is only for the machine that it is running on. I need a certificate that has my custom web site domain [...]]]></description>
			<content:encoded><![CDATA[<p>While installing some demo software today, I had to create a self-signed SSL certificate for IIS7. This is a relatively easy thing to do within the IIS7 Manager. However, the certificate that IIS7 generates is only for the machine that it is running on. I need a certificate that has my custom web site domain name on it. As it turns out, Microsoft has eliminated this capability within IIS7, so the easiest way to accomplish this is to use the selfssl tool from IIS6.</p>
<p>It took me a while to figure out, but after some Googling (with much trial and error), here’s what I came up with.</p>
<p>I found a post, <a title="Self-Signed Certificates on IIS7" href="http://www.robbagby.com/iis/self-signed-certificates-on-iis-7-the-easy-way-and-the-most-effective-way/" target="_blank">Self-Signed Certificates on IIS7</a>, that I used to create and install the certificate.</p>
<p>First, I opened IIS7 Manager, and found the Web Site ID for my web application.</p>
<p>Second, I downloaded, <a title="IIS 6 Resources Kit Tools" href="http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499" target="_blank">IIS 6 Resources Kit Tools</a>, and installed just the selfssl tool.</p>
<p>Third, I opened an Administrator command prompt and navigated to the selfssl location: C:\Program Files (x86)\IIS Resources\SelfSSL</p>
<p>Fourth, I executed the following command:</p>
<pre class="csharpcode">selfssl /N:CN=www.larrybrouwer.com /V:10 95 /S:6 /P:8443</pre>
<p>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</p>
<p>That completes the configuration on the Server.</p>
<p>Now, on the client, open Internet Explorer with Administrator privileges.</p>
<p>Second, navigate to the secured site. Bypass the security warnings.</p>
<p>Third, view the certificate and Install it to the “Trusted Root Certification Authorities”, “Local Computer”.</p>
<p>Done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.larrybrouwer.com/2011/02/22/how-to-create-a-custom-self-signed-ssl-certificate-in-iis7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing nopCommerce on Windows Server 2008</title>
		<link>http://www.larrybrouwer.com/2011/01/16/installing-nopcommerce-on-windows-server-2008/</link>
		<comments>http://www.larrybrouwer.com/2011/01/16/installing-nopcommerce-on-windows-server-2008/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 20:40:00 +0000</pubDate>
		<dc:creator>Larry Brouwer</dc:creator>
				<category><![CDATA[Notable]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[eCommerce]]></category>
		<category><![CDATA[SqlServer]]></category>

		<guid isPermaLink="false">http://www.larrybrouwer.com/2011/01/16/installing-nopcommerce-on-windows-server-2008/</guid>
		<description><![CDATA[So far, I’ve installed three (3) open source shopping carts; PrestaShop, OpenCart, and TomatoCart. All of these packages have been developed with PHP and MySQL technologies. This morning I’ve decided to see if there are any open source ecommerce packages written in a Microsoft .NET environment.
My first search lead me to the Microsoft Web Gallery. [...]]]></description>
			<content:encoded><![CDATA[<p>So far, I’ve installed three (3) open source shopping carts; PrestaShop, OpenCart, and TomatoCart. All of these packages have been developed with PHP and MySQL technologies. This morning I’ve decided to see if there are any open source ecommerce packages written in a Microsoft .NET environment.</p>
<p>My first search lead me to the <a title="Microsoft Web Gallery" href="http://www.microsoft.com/web/gallery/categories.aspx" target="_blank">Microsoft Web Gallery</a>. From there, I found <a title="nopCommerce" href="http://www.nopcommerce.com/" target="_blank">nopCommerce</a>. It looks like a reasonable package, so I’ve decided to install it and see what it looks like.</p>
<p>I wanted to first look at the documentation, however, it’s not free! I decided to download the product and install it anyway. I have two (2) choices for installing. The first way is to use the Microsoft Web Platform Installer. The second way is to manually download and install it. I’m choosing the latter, as I want to be sure to get the complete package with source code.</p>
<p>I then navigated to the <a title="nopCommerce download" href="http://www.nopcommerce.com/downloads.aspx" target="_blank">nopCommerce download</a> page, downloaded the latest release (v1.90 at the time of this writing) and extracted the Visual Studio solution to my development workstation. I opened the solution with Visual Studio, and realized that I didn’t “unblock” the downloaded zip file prior to extracting the solution to my hard drive. So I deleted the solution files, used Microsoft file explorer to change the properties to “Unblock” the zip file prior to extracting the files. I then re-extracted the files to my development environment and re-opened project with Visual Studio 2010. Much better now! No security warnings.</p>
<p>Next, I rebuilt the application and after verifying that it executed a clean build, I took the contents of the “NopCommerceStore” folder and copied to the “www\nopCommerce” folder on my development Web Server. I then added the new application using IIS7 Manager, and binded it to port 8004. I then opened the server’s firewall port.</p>
<p>I browsed to the nopCommerce Web Site, and immediately got the following error:</p>
<h1>Server Error in &#8216;/&#8217; Application.<br />
<hr color="#c0c0c0" size="1" width="100%" /></h1>
<h2><i>Configuration Error</i> </h2>
<p> </span><font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><b>Description: </b>An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.     </p>
<p><b>Parser Error Message: </b>Unrecognized attribute &#8216;targetFramework&#8217;. Note that attribute names are case-sensitive.    </p>
<p><b>Source Error:</b>     </p>
<table width="100%" bgcolor="#ffffcc">
<tbody>
<tr>
<td><code>
<pre>
Line 26: 			&lt;error statusCode=&quot;404&quot; redirect=&quot;filenotfound.htm&quot;/&gt;
Line 27: 		&lt;/customErrors&gt;
<font color="red">Line 28: 		&lt;compilation debug=&quot;true&quot; targetFramework=&quot;4.0&quot;&gt;
</font>Line 29: 			&lt;expressionBuilders&gt;
Line 30: 				&lt;add expressionPrefix=&quot;NopResources&quot; type=&quot;NopSolutions.NopCommerce.BusinessLogic.Localization.NopResourceExpressionBuilder, Nop.BusinessLogic&quot;/&gt;</pre>
<p>          </code></td>
</tr>
</tbody>
</table>
<p><b>Source File: </b>C:\Data\www\nopCommerce\web.config<b>&#160;&#160;&#160; Line: </b>28 </p>
<hr color="#c0c0c0" size="1" width="100%" /><b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209 </font></p>
<p>&#160;</p>
<p>My initial thoughts were that the Application Pool wasn’t set to the proper .NET Framework, so I used IIS7 Manager and changed it from .NET Framework v2.0.50727 to v4.0.30319. I then restarted the Application Pool, and the application is now loading fine.</p>
<p>I followed the installation instructions, and created a new Microsoft SQL Server schema and user. The only problem I encountered here was that I forgot to include the database instance name in the SQL Server name field. The format is “SERVER\INSTANCENAME”. Other than that, the installation process was a breeze.</p>
<p>After the installation was complete, I was able to browse to the home page and log into the application. From there, I was able to get into the administration section and begin configuring it.</p>
<p>I next renamed the existing “robots.txt” to “robots.txt.orig” and replaced it with the following to prevent spidering of my demo site:</p>
<pre class="csharpcode"><span class="rem"># go away</span>
User-agent: *
Disallow: /</pre>
<p>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</p>
<p>I’ll keep updating this post as I continue exploring nopCommerce.</p>
<p>You’re welcome to visit <a title="my nopCommerce demo site here." href="http://www.larrybrouwer.com:8004/" target="_blank">my nopCommerce demo site here.</a> It will be up and running while I’m developing at my desk during the day. If you would like help with your installation, just get in contact with me. I’m always happy to help out!</p>
<h1>Updates:</h1>
<p>One of the first modification that I did was to download the <a title="Five colour theme pack for front-end" href="http://www.nopcommerce.com/p/179/five-colour-theme-pack-for-front-end.aspx" target="_blank">Five colour theme pack for front-end</a> themes. To install the themes, simply extract the files from the download and drop them into the “APP_Themes” folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.larrybrouwer.com/2011/01/16/installing-nopcommerce-on-windows-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing TomatoCart on Windows Server 2008</title>
		<link>http://www.larrybrouwer.com/2011/01/15/installing-tomatocart-on-windows-server-2008/</link>
		<comments>http://www.larrybrouwer.com/2011/01/15/installing-tomatocart-on-windows-server-2008/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 21:26:00 +0000</pubDate>
		<dc:creator>Larry Brouwer</dc:creator>
				<category><![CDATA[Notable]]></category>
		<category><![CDATA[eCommerce]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[TomatoCart]]></category>

		<guid isPermaLink="false">http://www.larrybrouwer.com/2011/01/15/installing-tomatocart-on-windows-server-2008/</guid>
		<description><![CDATA[I’m continuing my evaluation of open source ecommerce packages by installing TomatoCart. TomatoCart was chosen as the second runner-up of the 2010 Open Source Awards as published by Packt Publishing.
I began my TomatoCart installation by reviewing the tomato Cart documentation WiKi. The wiki has many uncompleted links, but I managed to find the TomatoCart User [...]]]></description>
			<content:encoded><![CDATA[<p>I’m continuing my evaluation of open source ecommerce packages by installing <a title="TomatoCart" href="http://www.tomatocart.com/" target="_blank">TomatoCart</a>. TomatoCart was chosen as the second runner-up of the 2010 Open Source Awards as published by <a title="Packt Publishing" href="http://www.packtpub.com/open-source-awards-home" target="_blank">Packt Publishing</a>.</p>
<p>I began my TomatoCart installation by reviewing the <a title="tomato Cart documentation WiKi" href="http://www.tomatocart.com/wiki/Main_Page" target="_blank">tomato Cart documentation WiKi</a>. The wiki has many uncompleted links, but I managed to find the <a title="TomatoCart User Guide" href="http://www.tomatocart.com/wiki/TomatoCart_User_Guide#About_This_Guide" target="_blank">TomatoCart User Guide</a>, which covered the basics needed to get the software installed.</p>
<p>I downloaded the current version, <a title="TomatoCart v1.1.3" href="http://sourceforge.net/projects/tomatocart/files/TomatoCart%20v1.1.3/tomatocart-1.1.3.zip/download" target="_blank">TomatoCart v1.1.3</a>, and saved it to my “install\tomatocart” folder. I then created a new “tomatocart” folder under my “www” root folder and copied the contents of the “gtrunk2” folder from the downloaded file there.</p>
<p>I then went into Windows IIS7 Manager and created a new Web Site at port 8003. I also added an additional binding for my local IP address of 192.10.11.21. Lastly, I opened my firewall port at 8003.</p>
<p>I then browsed to the site’s install URL, 192.10.11.21:8003/install, and followed the installation procedure. I soon realized that I needed to create a new MySQL database schema and user, so I logged into MySQL Workbench, and created both. I make sure that the user only has privileges to it’s own schema, and that it can only log in locally to the server. I gave the user total rights to it’s “tomatocart” schema.</p>
<p>I continued with the installation, entering all the database information requested. I chose the MySQL – InnoDB (Transaction-Safe) database type. Upon hitting the “Continue” button, the import ran for a few seconds and then bombed with the following error:</p>
<p>&#160;</p>
<p>There was a problem importing the database. The following error had occured:</p>
<p><b>1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;type = innodb&#8217; at line 1; alter table toc_weight_classes_rules type = innodb</b></p>
<p>Please verify the connection parameters and try again.</p>
<p>&#160;</p>
<p>I then logged into MySQL Workbench and entered the “alter table” SQL statement. It has a syntax error. Upon looking up the correct syntax, it should be “alter table toc_weight_classes_rules engine = innodb;”. I executed the code, and it works fine.</p>
<p>I next tracked down the offending code that produced the bug by searching for it in the installation folder using the <a title="grepwin" href="http://tools.tortoisesvn.net/StExBar.html" target="_blank">grepwin</a> explorer tool. I located the problem code in the “install\rpc.php” file. I changed the code from “type = innodb” to “engine = innodb”, saved the file, then dropped the “tomatocart” schema and re-created it. I then re-ran the installation, and the tables loaded fine.</p>
<p>I continued with the installation and completed it with no additional problems. I next renamed the “install” directory to prevent it from being run again.</p>
<p>I next renamed the existing “robots.txt” to “robots.txt.orig” and replaced it with the following to prevent spidering of my demo site:</p>
<pre class="csharpcode"><span class="rem"># go away</span>
User-agent: *
Disallow: /</pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</p>
<p>I’ve completed the installation, and now I need to begin configuring it. So, apart from the minor bug, it was a pretty easy installation.</p>
<p>I’ll keep updating this post as I continue working with TomatoCart.</p>
<p>As always, you’re welcome to view <a title="my TomatoCart demo site here." href="http://www.larrybrouwer.com:8003/" target="_blank">my TomatoCart demo site here.</a> It will be available while I’m working during the day. If you should need any help with your installation, send me an email. I’d be happy to help you out! Have fun!</p>
<p>Update on 3/2/2011</p>
<p>While attempting to add a new product with a “variant”, I got the following error message:</p>
<p>“Error: There was a problem performing the action.”</p>
<p>Upon further research, I discovered that “STRICT_TRANS_TABLES” needed to be removed from the sql-mode parameter in the my.ini startup file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.larrybrouwer.com/2011/01/15/installing-tomatocart-on-windows-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing OpenCart on Windows Server 2008</title>
		<link>http://www.larrybrouwer.com/2011/01/15/installing-opencart-on-windows-server-2008/</link>
		<comments>http://www.larrybrouwer.com/2011/01/15/installing-opencart-on-windows-server-2008/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 20:57:00 +0000</pubDate>
		<dc:creator>Larry Brouwer</dc:creator>
				<category><![CDATA[Daily Log]]></category>
		<category><![CDATA[eCommerce]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OpenCart]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.larrybrouwer.com/2011/01/15/installing-opencart-on-windows-server-2008/</guid>
		<description><![CDATA[Today, I’m attempting to install OpenCart, an open source ecommerce package. OpenCart was chosen as the runner-up of the 2010 Open Source Awards as published by Packt Publishing.
I first looked through the OpenCart Online Documentation. The most current stable release as of this writing is OpenCart v1.4.9.3. OpenCart requires PHP, and MySQL. I currently have [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I’m attempting to install <a title="OpenCart" href="http://www.opencart.com/" target="_blank">OpenCart</a>, an open source ecommerce package. OpenCart was chosen as the runner-up of the 2010 Open Source Awards as published by <a title="Packt Publishing" href="http://www.packtpub.com/open-source-awards-home" target="_blank">Packt Publishing</a>.</p>
<p>I first looked through the <a title="OpenCart Online Documentation" href="http://www.opencart.com/index.php?route=documentation/documentation" target="_blank">OpenCart Online Documentation</a>. The most current stable release as of this writing is <a title="OpenCart v1.4.9.3" href="http://opencart.googlecode.com/files/opencart_v1.4.9.3.zip" target="_blank">OpenCart v1.4.9.3</a>. OpenCart requires PHP, and MySQL. I currently have both installed on my Windows Server 2008 platform. It should also work fine running&#160; under Windows IIS 7.</p>
<p>As a side note, the <a title="OpenCart Tools" href="http://www.opencart.com/index.php?route=documentation/documentation&amp;path=59" target="_blank">OpenCart Tools</a> section outlines some great suggestions for free tools. I use some of them, like Jing, others I’m excited to check out.</p>
<p>Installation is pretty straight forward. First, download the software. I usually download to an install directory whereby I can easily start over if necessary. I then used MySQL Workbench to create an “opencart” schema and user.</p>
<p>Next, I created a root folder for the opencart Web Site application to reside. I then copied the contents from the “install\opencart\upload” folder to the “www\opencart” folder.</p>
<p>I then went into the IIS7 Manager and added the new Web Site to port 8002. I also added a binding for the local IP address “192.10.11.21”. I then opened port 8002 on the firewall.</p>
<p>At this point, I pointed my browser to the OpenCart Web Site and with through the installation instructions. This was a simple one step process of entering the database connection and admin account credentials. The last step is to delete the installation folder. I was unable to do this as it was in use. So I shut down the Web Server, renamed the folder, then started it back up again.</p>
<p>The installation should now be complete, however, when I browse to the site, it still attempts to take me to the installation page. After looking at the index.php file, I’ve noticed that it’s looking for a variable ‘DIR_APPLICATION’. This variable should be defined in the config.php file. However, when I look at the config.php file, it’s empty. So there is a problem with the installation.</p>
<p>I immediately think it’s a permission problem. After doing some Googling, I found several posts discussing similar issues, but nothing that definitively solving the problem. I then Googled on ‘<a title="ii7 php file permissions" href="http://social.technet.microsoft.com/Forums/en-US/itprovistasecurity/thread/fe6fc533-8688-4faf-848c-ba98cd6d6ec0" target="_blank">ii7 php file permissions</a>’ and the first result answered my question. To implement the solution, I created a “temp” folder under my “www” folder, and then altered the PHP.ini file’s “upload_tmp_dir” variable to point to the new temp file location. I then used file explorer and gave IIS_IUSRS; Read; Write&#8217;; List folder contents; Read &amp; execute permissions to the “www” folder and sub-folders. To the “temp” folder, I gave IIS_IUSRS; Full control.</p>
<p>Using MySQL Workbench, I dropped and recreated the “opencart” schema. Using IIS7 Manager, I stopped the Web Service, and deleted the contents of the opencart folder and re-copied the contents back from the install\upload folder. I then re-started the Web Server, and re-ran the installation. This time, it worked fine, and the installation was complete.</p>
<p>After confirming I was able to browse the site, I created a robots.txt file in the root directory to prevent this site from being spidered by Google’s WebBot. Here’s the file:</p>
<pre class="csharpcode"><span class="rem"># go away</span>
User-agent: *
Disallow: /</pre>
<p>&#160;</p>
<p>My next hurdle was gaining access to the site administration. The username and password I provided upon installation didn’t seem to work. So I went into MySQL Workbench and looked at the “user” table, in my case the “oc_user” table. I ran a quick update as follows:</p>
<pre class="csharpcode"><span class="kwrd">use</span> opencart;
<span class="kwrd">update</span> oc_user <span class="kwrd">set</span> password=md5(<span class="str">'admin'</span>)</pre>
<p>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</p>
<p>That fixed it! I am now able to get signed on to the system. I then began to configure it. That was easy!</p>
<p>I’ll update this post with additional findings as I continue to work with OpenCart.</p>
<p>You’re welcome to view <a title="my OpenCart demo site here." href="http://www.larrybrouwer.com:8002/" target="_blank">my OpenCart demo site here.</a> It will most likely only be available during the day when I’m at my desk working. If you should need help with your installation, drop me a line. I’d be happy to assist you! Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.larrybrouwer.com/2011/01/15/installing-opencart-on-windows-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opensource, Free, Windows Tools &amp; Software</title>
		<link>http://www.larrybrouwer.com/2011/01/15/opensource-free-windows-tools-software/</link>
		<comments>http://www.larrybrouwer.com/2011/01/15/opensource-free-windows-tools-software/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 16:46:00 +0000</pubDate>
		<dc:creator>Larry Brouwer</dc:creator>
				<category><![CDATA[Notable]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.larrybrouwer.com/2011/01/15/opensource-free-windows-tools-software/</guid>
		<description><![CDATA[Here’s a list of free stuff I’ve installed on my development workstation. I will keep updating this post as I go along.
FileZilla
CC Cleaner
Defraggler
Notepad++
Jing
Screenhunter
Navicat MySQL Lite
SQLyog
WinMerge
Fiddler
]]></description>
			<content:encoded><![CDATA[<p>Here’s a list of free stuff I’ve installed on my development workstation. I will keep updating this post as I go along.</p>
<p>FileZilla</p>
<p>CC Cleaner</p>
<p>Defraggler</p>
<p>Notepad++</p>
<p>Jing</p>
<p>Screenhunter</p>
<p>Navicat MySQL Lite</p>
<p>SQLyog</p>
<p>WinMerge</p>
<p>Fiddler</p>
]]></content:encoded>
			<wfw:commentRss>http://www.larrybrouwer.com/2011/01/15/opensource-free-windows-tools-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Google Analytics for WordPress</title>
		<link>http://www.larrybrouwer.com/2011/01/12/installing-google-analytics-for-wordpress/</link>
		<comments>http://www.larrybrouwer.com/2011/01/12/installing-google-analytics-for-wordpress/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 22:12:00 +0000</pubDate>
		<dc:creator>Larry Brouwer</dc:creator>
				<category><![CDATA[Daily Log]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.larrybrouwer.com/2011/01/12/installing-google-analytics-for-wordpress/</guid>
		<description><![CDATA[I’ve been creating a new Web Site for one of my clients, Clear Lake Auto Service, using WordPress, and the client is wanting to see statistics regarding Web Site traffic. My first thought is to add Google Analytics to the site. Here are the steps I took to get analytics up and running for him.
First, [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been creating a new Web Site for one of my clients, <a title="Clear Lake Auto Service" href="http://www.clearlakeautoservice.com/" target="_blank">Clear Lake Auto Service</a>, using WordPress, and the client is wanting to see statistics regarding Web Site traffic. My first thought is to add Google Analytics to the site. Here are the steps I took to get analytics up and running for him.</p>
<p>First, I logged into the WordPress site, and installed the <a title="Google Analytics for WordPress v4.0.9" href="http://yoast.com/wordpress/google-analytics/" target="_blank">Google Analytics for WordPress v4.0.9</a>.</p>
<p>Second, I created a new <a title="Google Analytics account" href="http://www.google.com/analytics" target="_blank">Google Analytics account</a> under his Google mail id.</p>
<p>Third, I activated the WordPress plugin, selecting his new account. The plugin automatically verified the Account and Profile to use.</p>
<p>Forth, added my email account as an Administrator to the profile.</p>
<p>That’s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.larrybrouwer.com/2011/01/12/installing-google-analytics-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Live Writer 2011 Plug-ins</title>
		<link>http://www.larrybrouwer.com/2011/01/12/windows-live-writer-2011-plug-ins/</link>
		<comments>http://www.larrybrouwer.com/2011/01/12/windows-live-writer-2011-plug-ins/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 19:05:00 +0000</pubDate>
		<dc:creator>Larry Brouwer</dc:creator>
				<category><![CDATA[Daily Log]]></category>
		<category><![CDATA[Live Writer]]></category>

		<guid isPermaLink="false">http://www.larrybrouwer.com/2011/01/12/windows-live-writer-2011-plug-ins/</guid>
		<description><![CDATA[I’ve been using Windows Live Writer to create my blog posts, and I’ve just stumbled upon the plugins site for Live Writer, here. I’ll add more to this post as I get more experience with them.
I’ve installed the following plug-ins:
Insert Code for Windows Live Writer
Code Snippet plugin for Windows Live Writer
]]></description>
			<content:encoded><![CDATA[<p>I’ve been using Windows Live Writer to create my blog posts, and I’ve just stumbled upon the plugins site for <a title="Live Writer" href="http://plugins.live.com/writer/category/formatting-clipboard" target="_blank">Live Writer, here</a>. I’ll add more to this post as I get more experience with them.</p>
<p>I’ve installed the following plug-ins:</p>
<p><a title="Insert Code for Windows Live Writer" href="http://plugins.live.com/writer/detail/insert-code-for-windows-live-writer" target="_blank">Insert Code for Windows Live Writer</a></p>
<p><a title="Code Snippet plugin for Windows Live Writer" href="http://plugins.live.com/writer/detail/code-snippet-plugin-for-windows-live-writer" target="_blank">Code Snippet plugin for Windows Live Writer</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larrybrouwer.com/2011/01/12/windows-live-writer-2011-plug-ins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SmarterMail Exception System.OutOfMemoryException Errors</title>
		<link>http://www.larrybrouwer.com/2011/01/12/smartermail-exception-system-outofmemoryexception-errors/</link>
		<comments>http://www.larrybrouwer.com/2011/01/12/smartermail-exception-system-outofmemoryexception-errors/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 16:44:00 +0000</pubDate>
		<dc:creator>Larry Brouwer</dc:creator>
				<category><![CDATA[Daily Log]]></category>
		<category><![CDATA[SmarterMail]]></category>

		<guid isPermaLink="false">http://www.larrybrouwer.com/2011/01/12/smartermail-exception-system-outofmemoryexception-errors/</guid>
		<description><![CDATA[Today, I discovered that my SmarterMail is acting up again. When I attempted to check my emails, I get a really nice aspx error page.
My first thought is that someone has hacked my mail system, and is sending out spam again. I’ve had this problem before, and outlined the steps I undertook in order fix [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I discovered that my SmarterMail is acting up again. When I attempted to check my emails, I get a really nice aspx error page.</p>
<p>My first thought is that someone has hacked my mail system, and is sending out spam again. I’ve had this problem before, and outlined the steps I undertook in order fix the problem in my post entitled, <a title="SmarterMail Security Lockdown Prodecures" href="http://www.larrybrouwer.com/2010/05/05/smartermail-security-lockdown-procedures/" target="_blank">SmarterMail Security Lockdown Prodecures</a>.</p>
<p>I shut down the SmarterMail Service and started looking at the mail logs, and event logs. I can see the out of memory errors, but I still don’t know what’s causing the problems.</p>
<p>I then restarted the SmarterMail Service and logged into my account to look at the reports being generated. There is nothing in the reports that are out of the ordinary.</p>
<p>My next thought was to see if I could check out what the overall network traffic looks like. I did a Google search on “network traffic monitor open source”, and I stumbled upon <a title="ntop" href="http://www.ntop.org/" target="_blank">ntop</a>. I installed the demo version, <a title="ntop v4.0.3" href="http://www.ntop.org/demo/ntop/win32/ntop-4.0.3-demo.exe" target="_blank">ntop v4.0.3</a>. I wasn’t able to get ntop to work. After some additional research I discovered ntop-extra, but that has been discontinued. I uninstalled ntop and looked for something else.</p>
<p>I next installed, <a title="WireShark v1.4.3" href="http://www.wireshark.org/download.html" target="_blank">WireShark v1.4.3</a>. After running the program for over an hour, I didn’t see suspicious network traffic. However, I did notice that the SmarterMail MailService.exe program was taking up to 45% CPU and ever increasing amounts of memory (now at 78MB).</p>
<p>At this point, I decided it was time to upgrade to the latest release of SmarterMail. I followed the upgrade instructions by first backing up the data files, then uninstalling the software, then running the installation program.</p>
<p>I am now running SmarterMail v7.4.3995. I will update this post if I continue to have problems. Otherwise, consider this issue resolved for now!</p>
<h1>2011-01-14 – Update</h1>
<p>The MailService.exe is still gobbling up lots of memory. I’ve verified that the mail system isn’t sending out spam emails, so I’m now looking into possible memory leak issues. I installed the <a title="Microsoft Windows SDK for Windows 7 and .NET Framework 4" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b&amp;displaylang=en" target="_blank">Microsoft Windows SDK for Windows 7 and .NET Framework 4</a> debugging tools to see if I can spot any problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.larrybrouwer.com/2011/01/12/smartermail-exception-system-outofmemoryexception-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PrestaShop on Windows Server 2008</title>
		<link>http://www.larrybrouwer.com/2011/01/12/installing-prestashop-on-windows-server-2008/</link>
		<comments>http://www.larrybrouwer.com/2011/01/12/installing-prestashop-on-windows-server-2008/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 15:44:00 +0000</pubDate>
		<dc:creator>Larry Brouwer</dc:creator>
				<category><![CDATA[Notable]]></category>
		<category><![CDATA[eCommerce]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PrestaShop]]></category>

		<guid isPermaLink="false">http://www.larrybrouwer.com/2011/01/12/installing-prestashop-on-windows-server-2008/</guid>
		<description><![CDATA[This morning, I’m working on installing open source ecommerce packages on my Windows Server 2008 box. This is mainly for experimental and learning purposes.
The first package I choose to install is PrestaShop. PrestaShop was chosen as the winner of the 2010 Open Source Awards as published by Packt Publishing.
My first step was to read through [...]]]></description>
			<content:encoded><![CDATA[<p>This morning, I’m working on installing open source ecommerce packages on my Windows Server 2008 box. This is mainly for experimental and learning purposes.</p>
<p>The first package I choose to install is <a title="PrestaShop" href="http://www.prestashop.com/" target="_blank">PrestaShop</a>. PrestaShop was chosen as the winner of the 2010 Open Source Awards as published by <a title="Packt Publishing" href="http://www.packtpub.com/open-source-awards-home" target="_blank">Packt Publishing</a>.</p>
<p>My first step was to read through the most current <a title="PrestaShop User Guide" href="http://www.prestashop.com/download/Userguide_en.pdf" target="_blank">PrestaShop User Guide</a>. The most current stable version as of this writing is <a title="PrestaShop v.1.3.5" href="http://www.prestashop.com/en/downloads/" target="_blank">PrestaShop v.1.3.5</a>. PrestaShop uses a <a title="MySql Database" href="http://www.mysql.com/" target="_blank">MySql Database</a>, so my first task is to install the current release of <a title="MySql (5.5.8)" href="http://www.mysql.com/downloads/mysql/" target="_blank">MySql (5.5.8)</a> on my Windows 2008 server.</p>
<p>Since I’m not currently using MySql on a daily basis, I also made sure all of my workstation components (i.e. workbench, connector, etc.) are also up to date.</p>
<p>I ran into a glitch installing MySql. The Configuration Wizard has an identified bug in it as reported to the MySql Bug database as, <a title="Bug #59038 mysql.user.authentication_string column causes configuration wizard to fail" href="http://bugs.mysql.com/bug.php?id=59038" target="_blank">Bug #59038 mysql.user.authentication_string column causes configuration wizard to fail</a>. To overcome this bug, I executed the following command from the MySql Workbench: </p>
<pre class="csharpcode"><span class="kwrd">use</span> mysql;
<span class="kwrd">alter</span> <span class="kwrd">table</span>
    <span class="kwrd">user</span> change authentication_string authentication_string text <span class="kwrd">null</span>;</pre>
<p>I then clicked on the re-try for the Wizard and it completed normally. After this, I ran the following commands:</p>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<div>
<pre class="csharpcode"><span class="kwrd">use</span> mysql;
<span class="kwrd">update</span> <span class="kwrd">user</span> <span class="kwrd">set</span> authentication_string = <span class="str">''</span> <span class="kwrd">where</span> authentication_string <span class="kwrd">is</span> <span class="kwrd">null</span>;
<span class="kwrd">alter</span> <span class="kwrd">table</span> <span class="kwrd">user</span> change authentication_string authentication_string text <span class="kwrd">not</span> <span class="kwrd">null</span>;</pre>
</div>
<div>&#160;</div>
<div>I then installed <a title="PHP 5.2.17" href="http://php.iis.net/" target="_blank">PHP 5.2.17</a> using the IIS7 Web Platform Installer.</div>
<div>I then downloaded PrestaShop and extracted the files to my server.</div>
<div>I then added the website in IIS7 and started the website binding it to port 8001.</div>
<div>I then opened the firewall on port 8001.</div>
<div>I then opened a browser tab on my workstation and navigated to the website.</div>
<div>I then followed the installation instructions.</div>
<div>&#160;</div>
<div>At the “DATABASE CONFIGURATION” section, I logged into MySQL Workbench, and created a new user account, and database schema’s.</div>
<div>&#160;</div>
<div>At the “E-MAIL DELIVERY SET-UP” section, it allows you to enter the SMTP server information. I currently do not have the SMTP service installed. So, at this point, I used the “Add Features Wizard” on the “Initial Configuration Tools” window to install the SMTP Server.</div>
<div>&#160;</div>
<div>*** After many attempts at getting email to work, I’ve decided to move on for now and come back to this issue later.</div>
<div>&#160;</div>
<div>After the database was successfully created, I then selected the Shop name, Default country, and attempted to upload a logo. But this action was not successful. There are most likely permission problems being encountered.</div>
<div>&#160;</div>
<div>In IIS7, I configured a PrestaShop Application Pool giving it Integrated pipeline mode, and a NetworkService for an Identity. I then went to the root directory for the application, and modified the security adding “NETWORK SERVICE” and giving it full control.</div>
<div>&#160;</div>
<div>**If my Webserver were running Server 2008 R2, then I could more easily use the ApplicationPoolIdentity for an Identity, and then specify “AppPool\PrestaShop” when alter security.</div>
<div>&#160;</div>
<div>Ran into serious problems with continuing the installation as I couldn’t get past the database screen. I ran into a post, <a title="Prestashop, Cant continue with installation!" href="http://www.prestashop.com/forums/viewthread/68287/installing_prestashop/cant_continue_with_installation" target="_blank">Prestashop, Cant continue with installation!</a>, and abandoned the installation wizard and opted to execute the sql script to manually create an admin user and go from there.</div>
<div>&#160;</div>
<div>This didn’t help much as I was unable to log into the admin site. I suspected that the encrypted password wasn’t being generated properly, so I found another post, <a title="Prestashop, Password encryption. pSQL function." href="http://www.prestashop.com/forums/viewthread/30984/third_party_modules/password_encryption_dot__psql_function_dot_/" target="_blank">Prestashop, Password encryption. pSQL function.</a> This post has a php script in it that can be used to generate an encrypted password.</div>
<div>&#160;</div>
<div>I attempted to run the php script from a command prompt, however, I got a php error, “The application has failed to start because MSVCR71.DLL was not found. Re-installing the application may fix the problem.”. I found a post entitled, <a title="PHP on Windows: workaround for a command-line error (MSVCR71.DLL is missing)" href="http://blogs.msdn.com/b/laurenbo/archive/2009/11/03/php-on-windows-workaround-for-a-command-line-error-msvcr71-dll-is-missing.aspx" target="_blank">PHP on Windows: workaround for a command-line error (MSVCR71.DLL is missing)</a>. I didn’t install the .Net Framework 1.1 on my server as I already had msvcr71.dll on a Windows XP workstation. So I copied the file from “C:\Windows\Microsoft.NET\Framework\v1.1.4322” on my XP machine to “C:\Windows\syswow64” on my Windows 2008 Server. This solved the problem, and I was now able to run the script.</div>
<div>&#160;</div>
<div>Next, I had to get the proper “COOKIE_KEY” for my PrestaShop installation to re-create the encrypted password accurately. This string is found under the prestashop\config\config.inc.php file. Just to confirm, this string is indeed much different than the string used to generate the original user outlined above.</div>
<div>&#160;</div>
<div>So, basically, the php code necessary to generate the password is:</div>
<div>&#160;</div>
<div id="codeSnippetWrapper">
<div id="codeSnippetWrapper">
<pre id="codeSnippet" class="csharpcode">&lt;?php<span class="kwrd">echo</span> md5(<span class="str">&quot;xae0u0c9kzEGgPFJWgGtgJa8PG1STZubGmeI57482nPwmzTkEowdbBth&quot;</span>.<span class="str">&quot;admin&quot;</span>);?&gt; </pre>
<p></div>
<div>where, the first long string came from the “COOKIE_KEY” and the second part is my actual password. The command to execute the php is:</div>
<div>&#160;</div>
<div id="codeSnippetWrapper">
<pre id="codeSnippet" class="csharpcode"><span class="str">&quot;C:\Program Files (x86)\PHP\php.exe&quot;</span> -f .\password.php</pre>
<p></div>
<div>This resulted in the output string “a170cb24882e45992cd42259e6579502”, which I then used in a sql update statement. I was then able to log into the admin section of the database! What a use of my day!</div>
<div>&#160;</div>
<h1></h1>
<h1>Manual Setup of PrestaShop</h1>
<div>Now that I’m able to log into my demo PrestaShop site, I need to start configuring it!</div>
<div>&#160;</div>
<div>First thing is to add a robots.txt file into the root directory! Here’s the file:</div>
<div>&#160;</div>
<div>
<div id="codeSnippetWrapper">
<pre id="codeSnippet" class="csharpcode"><span class="rem"># go away</span>User-agent: *Disallow: /</pre>
<p>I then logged into the shop and set the home time zone, the default currency, the default country, etc. This was a little more difficult than I first thought it would be. However, most of the problems I encountered were due to the Windows and PHP environment settings. Once I ironed those out, everything else went fine.</div>
<div>&#160;</div>
<div>I’ll keep updating this post with additional details as I continue to explore PrestaShop.</div>
<div>&#160;</div>
<div>You’re welcome to view <a title="my PrestaShop demo site here." href="http://www.larrybrouwer.com:8001/" target="_blank">my PrestaShop demo site here.</a> It will most likely only be available during the day when I’m at work. If you should need help with your installation, drop me a line. I’d be happy to help you out! Take care!</div>
</p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.larrybrouwer.com/2011/01/12/installing-prestashop-on-windows-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

