<?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>Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</title>
	<atom:link href="https://www.magentowizard.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.magentowizard.com/</link>
	<description>Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</description>
	<lastBuildDate>Fri, 14 Dec 2018 06:07:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6</generator>
	<item>
		<title>WordPress 5 Classic Block</title>
		<link>https://www.magentowizard.com/wordpress-5-classic-block/</link>
					<comments>https://www.magentowizard.com/wordpress-5-classic-block/#respond</comments>
		
		<dc:creator><![CDATA[Chris Rosenau]]></dc:creator>
		<pubDate>Fri, 14 Dec 2018 06:07:18 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<guid isPermaLink="false">https://www.magentowizard.com/?p=2866</guid>

					<description><![CDATA[<p>When you first start editing a page you might see: This kind of block has limited editing. So hover over the block that says &#8220;Start writing or type&#8221; and click ...</p>
<p>The post <a href="https://www.magentowizard.com/wordpress-5-classic-block/">WordPress 5 Classic Block</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>When you first start editing a page you might see:</p>
<p><a href="https://www.magentowizard.com/wp-content/uploads/2018/12/step1.png"><img fetchpriority="high" decoding="async" class="alignnone  wp-image-2867" src="https://www.magentowizard.com/wp-content/uploads/2018/12/step1.png" alt="" width="671" height="557" /></a></p>
<p>This kind of block has limited editing. So hover over the block that says &#8220;Start writing or type&#8221; and click the plus sign. Then search for <strong>classic</strong> and select the option when it appears.</p>
<p><a href="https://www.magentowizard.com/wp-content/uploads/2018/12/step2.png"><img decoding="async" class="alignnone size-full wp-image-2868" src="https://www.magentowizard.com/wp-content/uploads/2018/12/step2.png" alt="" width="738" height="689" srcset="https://www.magentowizard.com/wp-content/uploads/2018/12/step2.png 738w, https://www.magentowizard.com/wp-content/uploads/2018/12/step2-300x280.png 300w" sizes="(max-width: 738px) 100vw, 738px" /></a></p>
<p>Now you will see a block that is just like the old classic style. This way you don&#8217;t need to install the classic editor plugin.</p>
<p><a href="https://www.magentowizard.com/wp-content/uploads/2018/12/step3.png"><img decoding="async" class="alignnone  wp-image-2869" src="https://www.magentowizard.com/wp-content/uploads/2018/12/step3.png" alt="" width="831" height="265" srcset="https://www.magentowizard.com/wp-content/uploads/2018/12/step3.png 1418w, https://www.magentowizard.com/wp-content/uploads/2018/12/step3-300x96.png 300w, https://www.magentowizard.com/wp-content/uploads/2018/12/step3-768x245.png 768w, https://www.magentowizard.com/wp-content/uploads/2018/12/step3-1024x326.png 1024w" sizes="(max-width: 831px) 100vw, 831px" /></a></p>
<p>The post <a href="https://www.magentowizard.com/wordpress-5-classic-block/">WordPress 5 Classic Block</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.magentowizard.com/wordpress-5-classic-block/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WordPress 5 Expand Post/Page Editing Area</title>
		<link>https://www.magentowizard.com/wordpress-5-expand-post-page-editing-area/</link>
					<comments>https://www.magentowizard.com/wordpress-5-expand-post-page-editing-area/#respond</comments>
		
		<dc:creator><![CDATA[Chris Rosenau]]></dc:creator>
		<pubDate>Fri, 14 Dec 2018 05:52:10 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<guid isPermaLink="false">https://www.magentowizard.com/?p=2859</guid>

					<description><![CDATA[<p>WordPress 5 was recently released. One of the first things I noticed was the new editor. There appeared to be lots of features, but there was one a huge issue ...</p>
<p>The post <a href="https://www.magentowizard.com/wordpress-5-expand-post-page-editing-area/">WordPress 5 Expand Post/Page Editing Area</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>WordPress 5 was recently released. One of the first things I noticed was the new editor. There appeared to be lots of features, but there was one a huge issue for me. The post or page text area is very tiny on large screens. This is due to a div being locked at a fix width. I guess the people at WordPress believe everyone uses laptops or smaller devices. But for the developer like myself I use a very large screen.</p>



<p>You can easily fix this by installing the module <a href="https://wordpress.org/plugins/admin-css-mu/" target="_blank" rel="noreferrer noopener" aria-label="You can easily fix this by installing the module Admin CSS MU. Then you just need to add the following CSS: (opens in a new tab)">Admin CSS MU</a>. Then you just need to add the following CSS:</p>



[cc lang=&#8221;css&#8221;].wp-block {max-width:100% !important;}[/cc]
<p>I also noticed that the new editor is also buggy. So if you get too frustrated, you can always install the <a href="https://wordpress.org/plugins/classic-editor/" target="_blank" rel="noopener">classic editor</a>.</p>
<p>The post <a href="https://www.magentowizard.com/wordpress-5-expand-post-page-editing-area/">WordPress 5 Expand Post/Page Editing Area</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.magentowizard.com/wordpress-5-expand-post-page-editing-area/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Magento 2 module creator</title>
		<link>https://www.magentowizard.com/magento-2-module-creator/</link>
					<comments>https://www.magentowizard.com/magento-2-module-creator/#respond</comments>
		
		<dc:creator><![CDATA[Chris Rosenau]]></dc:creator>
		<pubDate>Thu, 22 Nov 2018 05:37:00 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<guid isPermaLink="false">https://www.magentowizard.com/?p=2681</guid>

					<description><![CDATA[<p>Magento 2 module creator. https://mage2gen.com/ Use the Mage2gen Magento 2 module creator to generate basic Magento 2 Modules and code snippets. You can also use the commandline tool to interactively create ...</p>
<p>The post <a href="https://www.magentowizard.com/magento-2-module-creator/">Magento 2 module creator</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Magento 2 module creator.<br />
https://mage2gen.com/</p>
<p>Use the Mage2gen Magento 2 module creator to generate basic Magento 2 Modules and code snippets. You can also use the <a href="https://mage2gen.com/commandline">commandline tool to interactively create a Magento 2 module</a>.</p>
<p>The post <a href="https://www.magentowizard.com/magento-2-module-creator/">Magento 2 module creator</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.magentowizard.com/magento-2-module-creator/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Microservices + Events + Docker = A Perfect Trio</title>
		<link>https://www.magentowizard.com/microservices-events-docker-a-perfect-trio/</link>
					<comments>https://www.magentowizard.com/microservices-events-docker-a-perfect-trio/#respond</comments>
		
		<dc:creator><![CDATA[Chris Rosenau]]></dc:creator>
		<pubDate>Fri, 09 Nov 2018 19:25:28 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<guid isPermaLink="false">https://www.magentowizard.com/?p=2670</guid>

					<description><![CDATA[<p>This is a great video on understanding Microservices and the best approach to implement them.</p>
<p>The post <a href="https://www.magentowizard.com/microservices-events-docker-a-perfect-trio/">Microservices + Events + Docker = A Perfect Trio</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is a great video on understanding Microservices and the best approach to implement them.</p>
<p><iframe loading="lazy" width="1140" height="641" src="https://www.youtube.com/embed/sSm2dRarhPo?feature=oembed" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>The post <a href="https://www.magentowizard.com/microservices-events-docker-a-perfect-trio/">Microservices + Events + Docker = A Perfect Trio</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.magentowizard.com/microservices-events-docker-a-perfect-trio/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Code This Not That Javascript</title>
		<link>https://www.magentowizard.com/code-this-not-that-javascript/</link>
					<comments>https://www.magentowizard.com/code-this-not-that-javascript/#respond</comments>
		
		<dc:creator><![CDATA[Chris Rosenau]]></dc:creator>
		<pubDate>Thu, 18 Oct 2018 18:25:24 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<guid isPermaLink="false">https://www.magentowizard.com/?p=2652</guid>

					<description><![CDATA[<p>&#160;</p>
<p>The post <a href="https://www.magentowizard.com/code-this-not-that-javascript/">Code This Not That Javascript</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><iframe loading="lazy" width="1140" height="641" src="https://www.youtube.com/embed/Mus_vwhTCq0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>&nbsp;</p>
<p>The post <a href="https://www.magentowizard.com/code-this-not-that-javascript/">Code This Not That Javascript</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.magentowizard.com/code-this-not-that-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title> 5 questions every unit test must answer</title>
		<link>https://www.magentowizard.com/5-questions-every-unit-test-must-answer/</link>
					<comments>https://www.magentowizard.com/5-questions-every-unit-test-must-answer/#respond</comments>
		
		<dc:creator><![CDATA[Chris Rosenau]]></dc:creator>
		<pubDate>Wed, 17 Oct 2018 15:08:57 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<guid isPermaLink="false">https://www.magentowizard.com/?p=2650</guid>

					<description><![CDATA[<p>There are 5 questions every unit test must answer. I’ve described them in detail before, so we’ll just skim them this time: What is the unit under test (module, function, class, ...</p>
<p>The post <a href="https://www.magentowizard.com/5-questions-every-unit-test-must-answer/"> 5 questions every unit test must answer</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p id="3793" class="graf graf--p graf-after--p">There are <a class="markup--anchor markup--p-anchor" href="https://medium.com/javascript-scene/what-every-unit-test-needs-f6cd34d9836d" target="_blank" rel="noopener" data-href="https://medium.com/javascript-scene/what-every-unit-test-needs-f6cd34d9836d">5 questions every unit test must answer</a>. I’ve described them in detail before, so we’ll just skim them this time:</p>
<ol class="postList">
<li id="ad47" class="graf graf--li graf-after--p"><span class="markup--quote markup--li-quote is-other" data-creator-ids="anon">What is the unit under test (module, function, class, whatever)?</span></li>
<li id="17af" class="graf graf--li graf-after--li">What should it do? (Prose description)</li>
<li id="acc8" class="graf graf--li graf-after--li">What was the actual output?</li>
<li id="bdb1" class="graf graf--li graf-after--li">What was the expected output?</li>
<li id="e11c" class="graf graf--li graf-after--li">How do you reproduce the failure?</li>
</ol>
<p><a href="https://medium.com/javascript-scene/rethinking-unit-test-assertions-55f59358253f" target="_blank" rel="noopener">Read the rest of the article here.</a></p>
<p>The post <a href="https://www.magentowizard.com/5-questions-every-unit-test-must-answer/"> 5 questions every unit test must answer</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.magentowizard.com/5-questions-every-unit-test-must-answer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Building Microservices</title>
		<link>https://www.magentowizard.com/building-microservices/</link>
					<comments>https://www.magentowizard.com/building-microservices/#respond</comments>
		
		<dc:creator><![CDATA[Chris Rosenau]]></dc:creator>
		<pubDate>Wed, 22 Aug 2018 20:51:24 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<guid isPermaLink="false">https://www.magentowizard.com/?p=2643</guid>

					<description><![CDATA[<p>If you are managing large code bases, you might be interested in microservices. This is a way of breaking out large code bases into smaller more manageable pieces. I found ...</p>
<p>The post <a href="https://www.magentowizard.com/building-microservices/">Building Microservices</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you are managing large code bases, you might be interested in microservices. This is a way of breaking out large code bases into smaller more manageable pieces. I found this article which does a wonderful job of explaining the process.</p>
<p><a href="https://www.infoq.com/articles/microservices-startup" target="_blank" rel="noopener">https://www.infoq.com/articles/microservices-startup</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.magentowizard.com/building-microservices/">Building Microservices</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.magentowizard.com/building-microservices/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Magento 2</title>
		<link>https://www.magentowizard.com/magento-2/</link>
					<comments>https://www.magentowizard.com/magento-2/#respond</comments>
		
		<dc:creator><![CDATA[Chris Rosenau]]></dc:creator>
		<pubDate>Wed, 21 Mar 2018 22:17:41 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<guid isPermaLink="false">https://www.magentowizard.com/?p=2630</guid>

					<description><![CDATA[<p>Finally the Magento 2 Certified Professional Developer certification is here! Time to start studying. If you want to download the free study guide without going through all the marketing, click ...</p>
<p>The post <a href="https://www.magentowizard.com/magento-2/">Magento 2</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Finally the <a href="https://u.magento.com/magento-2-certified-professional-developer" target="_blank" rel="noopener">Magento 2 Certified Professional Developer certification is here</a>! Time to start studying. If you want to download the free study guide without going through all the marketing, <a href="https://info2.magento.com/rs/585-GGD-959/images/Magento%202%20Certified%20Professional%20Developer%20Exam%20Study%20Guide.pdf" target="_blank" rel="noopener">click here</a>.</p>
<p>The Magento 2 Certified Professional Developer exam, a primarily scenario-based exam, is designed to validate the skills and knowledge needed to customize Magento 2 in the areas of: UI modifications, database changes, admin modifications, checkout process customizations, order management integrations and customizations, catalog structure and functionality changes. This exam is for a Magento 2 developer who has a deep understanding of Magento 2 development concepts and experience (recommend 1.5 years) in implemementing and customizing Magento 2.</p>
<p>You can also dig deeper in the <a href="http://devdocs.magento.com/guides/v2.0/extension-dev-guide/bk-extension-dev-guide.html" target="_blank" rel="noopener">full developer documentation located here</a>.</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.magentowizard.com/magento-2/">Magento 2</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.magentowizard.com/magento-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Debugging Magento</title>
		<link>https://www.magentowizard.com/debugging-magento/</link>
					<comments>https://www.magentowizard.com/debugging-magento/#respond</comments>
		
		<dc:creator><![CDATA[Chris Rosenau]]></dc:creator>
		<pubDate>Fri, 03 Nov 2017 19:18:14 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[magento]]></category>
		<guid isPermaLink="false">https://www.magentowizard.com/?p=2609</guid>

					<description><![CDATA[<p>One of my strong suits is debugging Magento. Hopefully this will help other Magento developers who struggle with tracking down where an issue is occurring. Blocks Making blocks visible to ...</p>
<p>The post <a href="https://www.magentowizard.com/debugging-magento/">Debugging Magento</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>One of my strong suits is debugging Magento. Hopefully this will help other Magento developers who struggle with tracking down where an issue is occurring.</p>
<p><strong>Blocks</strong></p>
<p>Making blocks visible to you and getting info on which template files are displaying which code, is very helpful. This is standard Magento functionality found under System-&gt;Configuration-&gt;Developer-&gt;Debug. Just change the site scope and clear the cache. Now you will see the blocks and their templates surrounded in red.</p>
<p><strong>Logs</strong></p>
<p>My first stop is always logs. There is the standard Magento logs in var/log. I usually start with this command so I can watch for errors:</p>
<p>tail -f system.log</p>
<p>If the error is more serious, I will checkout the exception log. If we are lucky, we might get a report of the error from Magento. In this case you will get a number for the report and can look at the report in var/report.</p>
<p>Most developers in Magento 1 will use Mage::Log($foo); to output info in code to the system log. Just make sure you add some info to tell you where you put this code. For example:</p>
<pre>Mage::Log('Shipping module controller: '.$foo);</pre>
<p>That way if you forget to remove your logging code, it can be easily found and removed by you or other developers.</p>
<p>In Magento 2, you will need to use these commands to output to the correct log file:</p>
<pre><span class="re0">$this</span><span class="sy0">-&gt;</span>_logger<span class="sy0">-&gt;</span><span class="me1">addDebug</span><span class="br0">(</span><span class="re0">$message</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// log location: var/log/system.log</span> 
<span class="re0">$this</span><span class="sy0">-&gt;</span>_logger<span class="sy0">-&gt;</span><span class="me1">addInfo</span><span class="br0">(</span><span class="re0">$message</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// log location: var/log/exception.log</span> 
<span class="re0">$this</span><span class="sy0">-&gt;</span>_logger<span class="sy0">-&gt;</span><span class="me1">addNotice</span><span class="br0">(</span><span class="re0">$message</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// log location: var/log/exception.log</span> 
<span class="re0">$this</span><span class="sy0">-&gt;</span>_logger<span class="sy0">-&gt;</span><span class="me1">addError</span><span class="br0">(</span><span class="re0">$message</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// log location: var/log/exception.log</span> 
<span class="re0">$this</span><span class="sy0">-&gt;</span>_logger<span class="sy0">-&gt;</span><span class="me1">critical</span><span class="br0">(</span><span class="re0">$e</span><span class="br0">)</span><span class="sy0">;</span> <span class="co1">// log location: var/log/exception.log</span></pre>
<p>Finally you can check the server logs, usually located in /var/log/ and check out Mysql, Php, Apache or Nginx error logs.</p>
<p><strong>Conflicts</strong></p>
<p>Modules often times use the same core Magento methods and thus one module can have parts of it not function correctly. In this case you will need to have one of the modules extended it&#8217;s class from another module using the same core method. If you have<a href="https://github.com/netz98/n98-magerun"> n98-magerun</a> installed, you can run this command:</p>
<pre>n98-magerun.phar dev:module:rewrite:conflicts</pre>
<p>There are modules which can help you easily track these down.</p>
<p><a href="https://github.com/juito/module-conflict-detector">Alekeon Module Detector</a></p>
<p><a href="https://www.boostmyshop.com/magento-extension-conflict.html">Boost my Shop Magento Extension Conflict</a></p>
<p><a href="https://www.extendware.com/magento-extension-conflict.html">Extendware Extension Conflict</a></p>
<p><strong>Template File Overrides</strong></p>
<p>A very common issue, is when a module&#8217;s template file is located in the base directory and has been customized and put into the theme directory. Then when someone upgrades the module, the module template file located in the theme directory will override the one in the base directory causing errors. The best approach is to take the base template file and upgrade the code with the changes in the theme directory. Then replace that upgraded template file with the one in the theme directory.</p>
<p>Another issue can be files found in app/code/local/Mage/. These files override the core files. If Magento has been upgraded or patched, these can be defunct and cause problems. It is wise to review these and see if they are still needed. In many cases it would be better to move these into their own custom module.</p>
<p><strong>Developer Tools</strong></p>
<p><a href="https://store.pulsestorm.net/products/commerce-bug-3">Commerce Bug 3</a> is an amazing toolbar for showing tons of info on what is happening on a particular page.</p>
<p><a href="https://www.jetbrains.com/phpstorm/">PHPStorm </a>is an IDE that is very powerful, especially when you combine it with <a href="http://magicento.com">Magicento</a> and <a href="https://xdebug.org">Xdebug</a>.</p>
<p><a href="https://www.adminer.org">Adminer</a> is a single PHP file to manage your database. Adminer has a fast search that can search all database tables for your keyword.</p>
<p>The post <a href="https://www.magentowizard.com/debugging-magento/">Debugging Magento</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.magentowizard.com/debugging-magento/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Magento 2 with Debian 9 and Nginx</title>
		<link>https://www.magentowizard.com/magento-2-debian-9-nginx/</link>
					<comments>https://www.magentowizard.com/magento-2-debian-9-nginx/#respond</comments>
		
		<dc:creator><![CDATA[Chris Rosenau]]></dc:creator>
		<pubDate>Fri, 03 Nov 2017 18:02:20 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[magento]]></category>
		<guid isPermaLink="false">https://www.magentowizard.com/?p=2588</guid>

					<description><![CDATA[<p>STEP 1: Setup Server When you install Magento 2 you will need newer versions of php and mysql/mariadb. So using the latest version of Debian 9 is very helpful, as ...</p>
<p>The post <a href="https://www.magentowizard.com/magento-2-debian-9-nginx/">Magento 2 with Debian 9 and Nginx</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>STEP 1: Setup Server</strong></p>
<p>When you install Magento 2 you will need newer versions of php and mysql/mariadb. So using the latest version of Debian 9 is very helpful, as it includes latest versions of many software packages. After you install I usually run the following commands so the base system is updated.</p>
<pre>apt-get update; apt-get upgrade</pre>
<p>Next I like get quickly setup and have control panel to manage my server. My control panel is Webmin with Virtualmin. This will get everything installed like mail servers, bind, spam and virus detection. Virtualmin also has easy install of SSL certificates and managing server limits.</p>
<pre>wget http://software.virtualmin.com/gpl/scripts/install.sh; chmod +x install.sh; sh ./install.sh</pre>
<p>Some people may feel that this installs too much software on their server. In that case you can avoid Virtualmin and just have <a href="http://www.webmin.com/deb.html">Webmin </a>installed or avoid a control panel all together.</p>
<p>Now that you have run the Virtualmin script, you need to stop Apache which it uses by default and install nginx.</p>
<pre>systemctl stop apache2.service;apt-get install nginx; apt-get install webmin-virtualmin-nginx webmin-virtualmin-nginx-ssl</pre>
<p>Next we need to install all the php modules that are required by Magento 2:</p>
<pre>apt-get install -y php7.0 libapache2-mod-php7.0 php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-curl php7.0-intl php7.0-xsl php7.0-mbstring php7.0-zip php7.0-bcmath php7.0-iconv php7.0-soap</pre>
<p>&nbsp;</p>
<p>Now you are ready to setup your Magento 2 website. Make sure you have pointed your domain name to your server IP. When you log into Webmin. You will get an error message from the browser as the browser thinks the site is insecure. Just click the Advanced button/link and add an exception or proceed. You can access the Webmin control panel by:</p>
<pre>https://domain.com:10000</pre>
<p>Once you are logged in with your root username and password,run through the system setup. Now you need to disable  Apache and activate Nginx. In the Virtualmin tab, choose System Settings -&gt; Features and Plugins.</p>
<p>Now uncheck:</p>
<pre>Apache website, SSL website, DAV Login, Mailman, Protected web directories</pre>
<p>Now check:</p>
<pre>Nginx website and Nginx SSL website</pre>
<p>Now click Create Virtual Server. Once you have setup your domain name as a new server, you will need to click on Server Configuration.  Click on Website Options and change PHP script execution mode to FPM.  Right above you will see Manage SSL Certificate. If you click on that option, you can choose Let&#8217;s Encrypt tab and Request Certificate.</p>
<p>Now go back to the command line and install sudo and assign the new user, which will be the name of your domain in most cases. If in question, check what Virtualmin created as a username for the domain,</p>
<pre>apt-get install sudo zsh; usermod -aG sudo domain</pre>
<p><strong>STEP 2: Install Magento 2</strong></p>
<p>Now that you have your domain setup in Virtualmin, SSH into that account.</p>
<p>I like to improve my shell by using ZSH with OH-MY-ZSH. This is optional but a great improvement. Just run the following commands:</p>
<p>sudo apt-get install sudo zsh; sh -c &#8220;$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)&#8221;</p>
<p>Next install composer:</p>
<pre>sudo apt-get install composer</pre>
<p>To install Magento 2 with composer, you will need to setup an Acess key with your account. Go to:</p>
<p>https://marketplace.magento.com/customer/account/</p>
<p>The public key will be the username and the private key will be the password. Run this composer command:</p>
<pre>sudo composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition .</pre>
<p>Now you need to configure Nginx for Magento 2. Go back to Webmin and choose Servers. Then click Nginx Webserver and finally Edit Configuration Files. From the drop down choose your server from the list, which should be the last item in the list. Domain.com.conf</p>
<p>Replace the configuration with this one. Make sure you replace domain with your domain name:</p>
<pre>upstream fastcgi_backend {    
# socket    
# server unix:/var/run/php5-fpm.sock;   
server   unix:/var/run/php/php7.0-fpm.sock;    
# use tcp connection    
#  server  127.0.0.1:9000;
}

server {    
listen 80;    
server_name www.domain.com;    
return 301 https://www.domain.com$request_uri;    
}
server {    
listen 80 reuseport;    
server_name domain.com;
 listen 45.76.228.48:443 default ssl; 
ssl_certificate /home/domain/ssl.combined; 
ssl_certificate_key /home/domain/ssl.key;
set $MAGE_ROOT  /home/domain/public_html;
set $MAGE_MODE developer;
#set $MAGE_MODE default;
#set $MAGE_MODE production;
include /home/domain/public_html/nginx.conf.sample;    
fastcgi_read_timeout 3000;
}</pre>
<p>&nbsp;</p>
<p>Click Save and it will test the script. If the test goes fine click Return to virtual hosts list and click Apply Nginx Configuration.</p>
<p>Now go to your domain name and run the Magento 2 install.</p>
<p><strong>FINAL NOTES</strong></p>
<p>I suggest you setup SSH keys and lock down your server to prevent people hacking your site. You can shut off root access at this point and just sudo into root if you need to manage the server.</p>
<p>It is also wise to shut down Webmin when you are using it to manage the server. From the command line, type:</p>
<pre>service webmin stop</pre>
<p>&nbsp;</p>
<p>The post <a href="https://www.magentowizard.com/magento-2-debian-9-nginx/">Magento 2 with Debian 9 and Nginx</a> appeared first on <a href="https://www.magentowizard.com">Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.magentowizard.com/magento-2-debian-9-nginx/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
