<?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 Archives - Magento Wizard | Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</title>
	<atom:link href="https://www.magentowizard.com/tag/magento-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.magentowizard.com/tag/magento-2/</link>
	<description>Lakewood Colorado Magento Web Design, E-Commerce, Online Marketing, SEO</description>
	<lastBuildDate>Fri, 09 Nov 2018 19:52:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.1</generator>
	<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>
		<item>
		<title>What is your marketing strategy? Grow your business in 2014!</title>
		<link>https://www.magentowizard.com/what-is-your-marketing-strategy-grow-your-business-in-2014/</link>
					<comments>https://www.magentowizard.com/what-is-your-marketing-strategy-grow-your-business-in-2014/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Wed, 11 Dec 2013 18:58:42 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[#bitcoin]]></category>
		<category><![CDATA[#bitcoin for website]]></category>
		<category><![CDATA[#bitcoin web design]]></category>
		<category><![CDATA[#bitcoin web development]]></category>
		<category><![CDATA[#bitcoins]]></category>
		<category><![CDATA[#colorado]]></category>
		<category><![CDATA[#Denver]]></category>
		<category><![CDATA[#floweringdesign]]></category>
		<category><![CDATA[#floweringmind]]></category>
		<category><![CDATA[#iamdesignsjoel]]></category>
		<category><![CDATA[#joelheaton.com]]></category>
		<category><![CDATA[#wordpress site]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[art direction]]></category>
		<category><![CDATA[Boulder]]></category>
		<category><![CDATA[branding]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[google ranking]]></category>
		<category><![CDATA[Graphic Design]]></category>
		<category><![CDATA[identity]]></category>
		<category><![CDATA[illustration]]></category>
		<category><![CDATA[keyword ranking]]></category>
		<category><![CDATA[logos]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[marketing campaign]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[shopping cart]]></category>
		<category><![CDATA[Social marketing]]></category>
		<category><![CDATA[Social Networking]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[web redesign]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wyoming]]></category>
		<guid isPermaLink="false">http://www.floweringdesign.com/?p=2291</guid>

					<description><![CDATA[<p>[starbox id=joel] Flowering Design is a team of designers, programmers and marketing professionals. As a team we are dedicated to producing beautiful functional websites, bringing together all the skills necessary ...</p>
<p>The post <a href="https://www.magentowizard.com/what-is-your-marketing-strategy-grow-your-business-in-2014/">What is your marketing strategy? Grow your business in 2014!</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[[starbox id=joel]
<img fetchpriority="high" decoding="async" alt="Grow, floweringdesign.com" src="http://www.joelheaton.com/wp-content/uploads/2013/12/1Grow_floweringdesign.com_.jpg" width="801" height="342" /><a href="http://www.joelheaton.com/wp-content/uploads/2013/12/floweringdesign.com_.sm2_.pdf"><img decoding="async" class="wp-image-461 alignleft" alt="Flowering Design" src="http://www.joelheaton.com/wp-content/uploads/2013/12/floweringdesign.com_.sm_-791x1024.jpg" width="299" height="387" /></a></p>
<p><a href="http://floweringdesign.com">Flowering Design</a> is a team of designers, programmers and marketing professionals. As a team we are dedicated to producing beautiful functional websites, bringing together all the skills necessary to produce high quality content for web development, web design, social networking, SEO and server management. With our combined experience we are committed to applying our organizational, marketing and design skills to any web presence or design/marketing entity for years to come.</p>
<p><a href="http://www.joelheaton.com/wp-content/uploads/2013/12/floweringdesign.com_.sm2_.pdf" target="_blank">Click here</a> for .pdf</p>
<p>&nbsp;</p>
<p><strong>Grow</strong><br />
<em> Grow your business.</em></p>
<p>You may have a great web site, web presence and brand for your product and company.<br />
But, for some reason you are not reaping the rewards.<br />
Flowering Design has developed a method to nurture your business, sprout ideas and  maximize the yield of visitors to your business.</p>
<p><strong>Shine</strong><br />
<em> Grow your identity.</em><br />
Review your image.<br />
Build a brand around a consistent solid concept. Allow it to shine. Nurture your messaging.</p>
<p><strong>Nurture</strong><br />
<em> Grow your web presence.</em><br />
Create a website that you can manage. Connect all facets of your messaging, products and services to this site.</p>
<p><strong>Flourish</strong><br />
<em>Grow your social network.</em><br />
Plant your social networks and establish a community that communicates with the world.</p>
<p><strong>Bloom</strong><br />
<em>Grow your marketing</em>.<br />
SEO, Search Engine Optimization.<br />
Let your brand, website and messaging bloom by being seen, heard and recognized.</p>
<p><strong>Contact us to plan your business strategy.</strong><br />
<a href="http://floweringdesign.com">Flowering Design</a>, Colorado<br />
(855) 306-7617<br />
<a href="http://floweringdesign.com ">http://floweringdesign.com </a><br />
<a href="mailto:info@floweringdesign.com">info@floweringdesign.com</a></p>
<p>The post <a href="https://www.magentowizard.com/what-is-your-marketing-strategy-grow-your-business-in-2014/">What is your marketing strategy? Grow your business in 2014!</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/what-is-your-marketing-strategy-grow-your-business-in-2014/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
