<?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 fix &#8211; Selman Tunc</title>
	<atom:link href="https://selmantunc.com.tr/tag/magento-fix/feed/" rel="self" type="application/rss+xml" />
	<link>https://selmantunc.com.tr</link>
	<description></description>
	<lastBuildDate>Sat, 06 Feb 2021 11:13:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://selmantunc.com.tr/wp-content/uploads/2023/07/cropped-tumblr_inline_oglumuMbgO1tyldvk_540-150x150-1-32x32.jpg</url>
	<title>magento fix &#8211; Selman Tunc</title>
	<link>https://selmantunc.com.tr</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Magento İzlenimlerim</title>
		<link>https://selmantunc.com.tr/php/magento-i-zlenimlerim/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 06 Feb 2021 11:13:20 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[composer]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[Magento Tutorials]]></category>
		<category><![CDATA[Magento2]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2021/02/06/magento-i-zlenimlerim/</guid>

					<description><![CDATA[magento 2013-2014  Magento 1 ve 2017-2018  yıllarında   Magento 1  ve Magento 2   sürümü ile  kullandığım eticaret frameworküydü fakat zamanla bu framework’de bazı şeyler çok hoşuma gitti, bazı şeylerden nefret ettim.&#8230;]]></description>
										<content:encoded><![CDATA[<p>magento 2013-2014 

Magento 1

 ve 2017-2018  yıllarında   Magento 1  ve

Magento 2   sürümü ile  kullandığım eticaret frameworküydü fakat zamanla bu framework’de bazı şeyler çok hoşuma gitti, bazı şeylerden nefret ettim.</p>
<figure data-orig-width="768" data-orig-height="400" class="tmblr-full"><figure id="attachment_mmd_2165" class="wp-block-image "><img decoding="async" width="768" height="281" src="https://selmantunc.com.tr/wp-content/uploads/2023/07/319f73402a6a36953b5ee80bc0c4d88c1d3bb866.jpg" class="attachment-full size-full" alt="image" loading="lazy" /></figure></figure>
<p><b>Hoşuma gidenler</b></p>
<p>Bir eticaret framework ü olarak ücretsiz ve büyük sistemler için kullanılabilir çok kapsamlı bir fw, ama woocommerce gibi lightweight değildir iyi bir CPU ve Ram ister.</p>
<p>Mükemmel bir mimarisi vardır, php,composer ve diğer frameworkleri katmanlamıştır,  veritabanı mimarisi <a href="https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model">EAV</a> olduğu için alışana kadar anlamakta zorluk çekebilirsiniz. </p>
<p>E-ticarete yeni girdiyseniz ve büyük bir sistem düşünüyorsanız hemen başlangıç yapabilirsiniz, <b><i>Uyarı</i></b> büyük ölçekte ürününüz yoksa woocommerce ile başlamanızı tavsiye ederim daha az maliyetli olacaktır.</p>
<p>Programcıya verdikleri sınıf ve api lerde eticaret ile ilgili aklınıza gelebilecek herşeyi düşünmüşler mutlaka çoğu olayın <a href="https://sourcemaking.com/design_patterns/observer" title="Observes the state of an object in a program.">Observer</a> patterni var ve işinizi çok kolaylaştırıyor kendinizde <a href="https://sourcemaking.com/design_patterns/observer" title="Observes the state of an object in a program.">Observer</a> pattern eklebiliyorsunuz. </p>
<p>Çok fazla harici eklentisi var <a href="https://amasty.com/">uygun fiyatlara </a>internette bulabilirsiniz.</p>
<p>Temaları çok uygun fiyata ve kaliteli olarak themeforest da satılıyor.  </p>
<p><b>Hoşuma Gitmeyenler ve artık nefret etme sebeblerim </b></p>
<p>Yukarıda dediğim gibi mimari mükemmel ama çok katmanlı mimari olduğu için hata çıkması durumunda çok fazla gezinmek zorunda kalıyorsunuz. Neden bu kadar fazla fw yi depency yaptıkları konusundaki düşüncem ise kullanmak istediği bir fonksiyonu yada sınıfı mesela symfony paketinde bulmuş hemen eklemişler kendilerine uygun şekilde yazmaktansa nasıl olsa symfony yazıyor demişler.</p>
<p><b>Kendi modülünüzü</b> yapmak için ve yüzde %80 herşey de magento ya bağımlı kalmak çok sıkıcı ama eklenti geliştirme için verdiği api ve arayüz başarılıdır.</p>
<p><b>Frontend tarafı </b>bence tam baş belası inspector araçı gibi bişey vardı onunla hangi html nerede onları gösteriyordu orası çok hayat kurtaran özellik ama frontend bence çok zaman alan çok uğraştıran bir olay kodlama bilgisi olamayan frontend ci bile çok fazla kodlama öğrenmek zorunda kalabilir, klasör yapılarını zaten bilmek zorunda kalacaksınız.</p>
<p>Öyle durumlar oluyor ki php ve html kodları içiçe olduğundan  javascipt de iş yapmakla bitmiyor php de onu kodlamak return etmek gerekiyor backend ve frontend olarak çalışanlar için tam sıkıntılı bir olay, aslında magento için fullstack yazılımcı olmak şart oluyor.</p>
<p>magento 2 artık jquery ve knockout kullanıyor ama magento 1 prototype.js bağımlıydı mesela  ürün variant ekleme sırasında prototype.js ye  depency eklemek 1 haftadan fazla zamanımı almıştı.</p>
<p><b>Backend tarafı </b><i>Magento 1 </i>php nin en zor fw si olan zendi kullanıyordu <i>magento 2</i> de daha fazla depency geldi yani daha fazla bilgi istiyor.</p>
<p>Kendi içindeki cache sistemini açmazsanız çok çok yavaş o kadar çok katman olduğu çin input/output sayısı çok fazla php nin yorumlaması çok uzun zaman alıyor. Birde javascript bağımlılıklarını da unutmamak gerekiyor.</p>
<p>Debug yaparken insanı kanser ediyor bu süreler “android de debug yap kazancın harcadığın zamana değer :) “</p>
<p><b>Magento ile çalışan</b> şirketler olaya profesyonel olarak bakmıyor herşeyi hazır sistem,  arayuzü düzenle biter diyor ama çoğu zaman modul/eklenti geliştiriyorsun bu modülleri robot yazmıyor ki arkadaş sen zamanını, deneyimini  satarak para kazanıyorsun. Magento ile uğraşmak yerine java-c# ile falan uğraşın çok çok daha tatmin eder ve iyi maaşlar alırsınız.<br></p>
<p><b>Ve son olarak </b>herkes öyle mi bilmiyorum ama böyle bir sistemle bu kadar karmaşa ile uğraşıp gerçekten hakkettiğiniz maaşı veren hiç bir şirket yok, zaten uğraşan şirkette az yazılımcıda az,  siz siz olun sakın profesyonel olarak magento yazılımcısı olmayın.</p>
<p>Magento günün sonunda sizi tatmin etmiyor, yazılımcılık yapmıyorsunuz aslında herşeyin hazırını yapıyorsunuz.</p>
<p>Ben 3 yıldır go ve c# yazıyorum iyi ki artık php ve frameworkleri ile ilgilenmiyorum diyorum ama php de tek sevdiğim şey wordpress kaldı,  WP de bazen eşe dosta eklenti yazarım, WP biraz eğlenceli geliyor çünkü herşey daha terli toplu duruyor.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[magentoframeworkexceptionnosuchentityexception] no such entity.</title>
		<link>https://selmantunc.com.tr/uncategorized/magentoframeworkexceptionnosuchentityexception/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 28 Nov 2018 13:23:05 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[Magento2]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/11/28/magentoframeworkexceptionnosuchentityexception/</guid>

					<description><![CDATA[I had the same issue. It appeared to be caused by some entity ids that needed to be set to 0. When you transfer the data the insert records on&#8230;]]></description>
										<content:encoded><![CDATA[<p>I had the same issue. It appeared to be caused by some entity ids that needed to be set to 0.</p>
<p>When you transfer the data the insert records on these specific records are automatically generated and tend to start at 1 and not 0.</p>
<p>This script worked for me:</p>
<pre><code>SET FOREIGN_KEY_CHECKS=0;
UPDATE `store` SET store_id = 0 WHERE code='admin';
UPDATE `store_group` SET group_id = 0 WHERE name='Default';
UPDATE `store_website` SET website_id = 0 WHERE code='admin';
UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';
SET FOREIGN_KEY_CHECKS=1;</code></pre>
<p>Hope it helps.</p>
<p><a href="https://magento.stackexchange.com/questions/102739/magento-2-moving-site-no-such-entity">https://magento.stackexchange.com/questions/102739/magento-2-moving-site-no-such-entity</a>
<br></p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magento 2 If you would like to SSL</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-2-if-you-would-like-to-ssl/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 28 Nov 2018 09:48:41 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[Magento2]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[ssl]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/11/28/magento-2-if-you-would-like-to-ssl/</guid>

					<description><![CDATA[If you would like to SSL &#8211; Generate SSL Letsencrypt We will secure our Magento installation using SSL from Letsencrypt. Install the Letsencrypt using the apt command below. sudo apt&#8230;]]></description>
										<content:encoded><![CDATA[<h2><b>If you would like to SSL</b>
<br></h2>
<p><b>&#8211; Generate SSL Letsencrypt</b>
<br></p>
<p>We will secure our Magento installation using SSL from Letsencrypt. Install the Letsencrypt using the apt command below.</p>
<pre><code>sudo apt install letsencrypt -y</code></pre>
<p>After the installation is complete, stop the nginx service.</p>
<pre><code>systemctl stop nginx</code></pre>
<p>Now generate the SSL certificates for the domain name using certbot command as below.</p>
<pre><code>certbot certonly --standalone -d magento.hakase-labs.pw</code></pre>
<p>Type your email address, accept the Letsencrypt TOS, then type ‘N’ for email sharing.</p>
<p>When it’s complete, you will get the result as below.</p>
<p>The Letsencrypt SSL certificate files have been generated to the ’/etc/letsencrypt/live’ directory.</p>
<p><b>FOR SSL  Configure Nginx Virtual Host file </b></p>
<pre>upstream fastcgi_backend {
        server  unix:/run/php/php7.1-fpm.sock;
}

server {
    listen 80;
    listen [::]:80;
    server_name <a href="http://www.magento-dev.com">www.magento-dev.com</a>;
    return 301 https://$server_name$request_uri;
}

server {

        listen 443 ssl;
        server_name magento-dev.com;

        ssl on;
        ssl_certificate /etc/letsencrypt/live/magento.hakase-labs.pw/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/magento.hakase-labs.pw/privkey.pem;

        set $MAGE_ROOT /var/www/magento2;
        set $MAGE_MODE developer;
        include /var/www/magento2/nginx.conf.sample;
}</pre>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magento 2 how to configure Nginx to allow execute other php files in root folder</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-2-how-to-configure-nginx-to-allow-execute/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 26 Nov 2018 07:55:32 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[Magento2]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/11/26/magento-2-how-to-configure-nginx-to-allow-execute/</guid>

					<description><![CDATA[if you use the official Nginx config (nginx.conf.sample file in the Magento 2 distribution) then you need change the line 109 from : location ~ (index&#124;get&#124;static&#124;report&#124;404&#124;503).php$ { to : location&#8230;]]></description>
										<content:encoded><![CDATA[<p>if you use the official Nginx config (<code>nginx.conf.sample</code> file in the Magento 2 distribution) then you need change the <a href="https://github.com/magento/magento2/blob/1.0.0-beta/nginx.conf.sample#L109">line 109</a> from :</p>
<pre><code>location ~ (index|get|static|report|404|503).php$ {</code></pre>
<p>to :</p>
<pre><code>location ~ (index|get|static|report|404|503|phpinfo).php$ {</code></pre>
<p>and place <code>phpinfo.php</code> to the <code>pub</code> subfolder because <code>pub</code> declared as document root at <a href="https://github.com/magento/magento2/blob/1.0.0-beta/nginx.conf.sample#L21">line 21</a>:</p>
<p>root $MAGE_ROOT/pub;</p>
<p>I use <a href="https://mage2.pro/t/topic/24">my own Nginx config</a> for Magento 2 and it permits <code>phpinfo.php</code> in the root folder.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magento 2 admin terminal new user</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-2-admin-terminal-new-user/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 23 Nov 2018 19:28:58 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[Magento2]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/11/23/magento-2-admin-terminal-new-user/</guid>

					<description><![CDATA[php bin/magento admin:user:create –admin-user selman Create or edit an administrator Use this command to create a new administrator or to edit an existing administrator. If you’re editing an administrator, only&#8230;]]></description>
										<content:encoded><![CDATA[<p>php bin/magento admin:user:create –admin-user selman</p>
<p><br></p>
<h2>Create or edit an administrator</h2>
<p>Use this command to create a new administrator or to edit an existing administrator. If you’re editing an administrator, only the first name, last name, and password can be edited.</p>
<p>Command usage:</p>
<pre><code>php bin/magento admin:user:create [--&lt;parameter_name&gt;=&lt;value&gt;, ...]
</code></pre>
<p>The password must be at least 7 characters in length and must include at least one alphabetic and at least one numeric character.<br></p>
<p>We recommend a longer, more complex password. Enclose the entire password string in single quotes. For example, <code>--admin-password=''A0b9%t_3g'</code>.</p>
<p><a href="https://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-subcommands-admin.html#create-or-edit-an-administrator">https://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-subcommands-admin.html#create-or-edit-an-administrator</a>
<br></p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magento 2 admin panel 404</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-2-admin-panel-404/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 23 Nov 2018 19:24:01 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[Magento2]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/11/23/magento-2-admin-panel-404/</guid>

					<description><![CDATA[It’s Hard to find why its happen without seeing your installation process. But this may help you: You can reinstall your project By mistake you forget your admin URL; You can&#8230;]]></description>
										<content:encoded><![CDATA[<p style="margin-top: 0px;margin-bottom: 1em;font-style: normal;font-weight: 400;, Helvetica, sans-serif;font-size: 15px;clear: both">It’s Hard to find why its happen without seeing your installation process. But this may help you:</p>
<ol style="margin-top: 0px;margin-bottom: 1em;margin-left: 30px;padding-left: 0px;font-style: normal;font-weight: 400;, Helvetica, sans-serif;font-size: 15px;list-style-type: decimal"><li style="margin-bottom: 0.5em;padding-left: 0px;font-size: 15px">You can <a href="http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-uninstall.html" rel="noreferrer" style="padding-bottom: 0px;font-size: 15px">reinstall your project</a></li>
<li style="margin-bottom: 0.5em;padding-left: 0px;font-size: 15px"><p style="margin-bottom: 1em;font-size: 15px;clear: both">By mistake you forget your admin URL; You can see/change admin URL from</p>
<p style="margin-top: 0px;margin-bottom: 0px;font-size: 15px;clear: both">app/etc/env.php at line no 5.</p>
<pre class="lang-php prettyprint prettyprinted" style="margin-top: 0.5em;margin-bottom: 1em;padding: 5px;line-height: inherit;, monospace, sans-serif;font-size: 13px;width: auto;max-height: 600px;overflow: auto"><code style=", monospace, sans-serif;font-size: 13px">return array (
'backend' =&gt;
array (
'frontName' =&gt; 'admin_q76xvk',
),</code></pre></li>
<li style="margin-bottom: 0.5em;padding-left: 0px;font-size: 15px"><p style="font-size: 15px;clear: both">Clean cache/reindexing and delete <code style="padding: 1px 5px;, monospace, sans-serif;font-size: 13px">var/cache</code> , <code style="padding: 1px 5px;, monospace, sans-serif;font-size: 13px">var/page_cache</code> folder.</p></li>
<li style="padding-left: 0px;font-size: 15px"><p style="font-size: 15px;clear: both">Make change in <code style="padding: 1px 5px;, monospace, sans-serif;font-size: 13px">.htaccess</code> (Just copy this file <code style="padding: 1px 5px;, monospace, sans-serif;font-size: 13px">pub/.htaccess</code> to magento root folder)</p></li></ol>
<p><font color="#242729" face="Arial, Helvetica Neue, Helvetica, sans-serif"><b>OTHER WAYs</b></font></p>
<p><a href="https://www.mageplaza.com/kb/magento-2-404-page-not-found.html">https://www.mageplaza.com/kb/magento-2-404-page-not-found.html</a>
<br></p>
<p><a href="https://magento.stackexchange.com/questions/133679/404-not-found-error-for-admin-page">https://magento.stackexchange.com/questions/133679/404-not-found-error-for-admin-page</a>
<br></p>
<p><a href="https://magento.stackexchange.com/questions/89634/after-successful-installation-admin-url-is-returning-a-404">https://magento.stackexchange.com/questions/89634/after-successful-installation-admin-url-is-returning-a-404</a>
<br></p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Install Magento with Nginx on Ubuntu 18.04 (LEMP)</title>
		<link>https://selmantunc.com.tr/uncategorized/how-to-install-magento-with-nginx-on-ubuntu-1804/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 20 Nov 2018 11:17:51 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[Magento2]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/11/20/how-to-install-magento-with-nginx-on-ubuntu-1804/</guid>

					<description><![CDATA[Prerequisites Ubuntu 18.04 2GB or more RAM memory Root privileges What we will do Install PHP Composer Download Magento 2 Install Magento Components Generate SSL Letsencrypt Configure Nginx Virtual Host&#8230;]]></description>
										<content:encoded><![CDATA[<h2>Prerequisites</h2>
<ul><li>Ubuntu 18.04</li>
<li>2GB or more RAM memory</li>
<li>Root privileges</li>
</ul>
<h2>What we will do</h2>
<ol><li>Install PHP Composer</li>
<li>Download Magento 2</li>
<li>Install Magento Components</li>
<li>Generate SSL Letsencrypt</li>
<li>Configure Nginx Virtual Host for Magento</li>
<li>Magento Post-Installation</li>
</ol>
<h2>Step 1 &#8211; Install Nginx on Ubuntu 18.04 LTS</h2>
<p>In this tutorial, we will be using the Nginx web server for our Magento installation.</p>
<p>Log in to the server, update the repository, and upgrade all packages.</p>
<pre><code>sudo apt update&lt;br&gt;sudo apt upgrade</code></pre>
<p>Now install the Nginx web server using the apt command below.</p>
<pre><code>sudo apt install nginx -y</code></pre>
<p>After the installation is complete, start the Nginx service and enable it to launch every time at system boot.</p>
<pre><code>systemctl start nginx&lt;br&gt;systemctl enable nginx</code></pre>
<p>Nginx web server has been installed, check it using netstat command
and make sure the HTTP port 80 is on the ‘LISTEN’ state. Another way is
by using curl command as below.</p>
<pre><code>netstat -plntu&lt;br&gt;curl -I localhost</code></pre>
<h2>Step 2 &#8211; Install and Configure PHP-FPM 7.1</h2>
<p>After the Nginx web server installation, we will install PHP 7.1 on
the server as Magento does not support PHP 7.2 yet. We will install
PHP-FPM with all extensions needed by Magento 2.</p>
<p>List of PHP extensions needed for Magento 2 installation:</p>
<ul><li>bc-math</li>
<li>ctype</li>
<li>curl</li>
<li>dom</li>
<li>gd, ImageMagick 6.3.7 (or later) or both</li>
<li>intl</li>
<li>mbstring</li>
<li>mcrypt</li>
<li>hash</li>
<li>openssl</li>
<li>PDO/MySQL</li>
<li>SimpleXML</li>
<li>soap</li>
<li>spl</li>
<li>libxml</li>
<li>xsl</li>
<li>zip</li>
<li>json</li>
<li>iconv</li>
</ul>
<p>For this guide, we will install PHP-FPM packages from the PPA repository. We will be using the &#8216;ondrej/php’ repository.</p>
<p>Install the &#8216;software-properties-common’ package and add the &#8216;ondrej/php’ repository using commands below.</p>
<pre><code>sudo apt install software-properties-common -y&lt;br&gt;</code>
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update
sudo apt-get install -y php7.1</pre>
<p>Now install PHP-FPM 7.1 with all extensions needed.</p>
<pre><code>sudo apt install php7.1-fpm php7.1-mcrypt php7.1-curl php7.1-cli php7.1-mysql php7.1-gd php7.1-xsl php7.1-json php7.1-intl php-pear php7.1-dev php7.1-common php7.1-mbstring php7.1-zip php7.1-soap php7.1-bcmath -y</code></pre>
<p>After the installation is complete, check the PHP version and installed extensions using PHP commands.</p>
<pre><code>php -v&lt;br&gt;php -me</code></pre>
<p>Next, we will configure the php.ini file for the PHP-FPM and PHP-CLI.</p>
<p>Edit the php.ini files using nano</p>
<pre><code>vim /etc/php/7.1/fpm/php.ini&lt;br&gt;vim /etc/php/7.1/cli/php.ini</code></pre>
<p>Change the value of those lines as below.</p>
<pre>memory_limit = 512M
max_execution_time = 180
zlib.output_compression = On</pre>
<p>Save and exit.</p>
<p>or </p>
<pre>sed -i "s/memory_limit = .*/memory_limit = 512M/" <code>/etc/php/7.1/fpm/php.ini</code>
sed -i "s/upload_max_filesize = .*/upload_max_filesize = 128M/" <code>/etc/php/7.1/fpm/php.ini</code>
sed -i "s/zlib.output_compression = .*/zlib.output_compression = on/" <code>/etc/php/7.1/fpm/php.ini</code>
sed -i "s/max_execution_time = .*/max_execution_time = 18000/" <code>/etc/php/7.1/fpm/php.ini</code>

sed -i "s/memory_limit = .*/memory_limit = 512M/" <code>/etc/php/7.1/cli/php.ini</code>
sed -i "s/upload_max_filesize = .*/upload_max_filesize = 128M/" <code>/etc/php/7.1/cli/php.ini</code>
sed -i "s/zlib.output_compression = .*/zlib.output_compression = on/" <code>/etc/php/7.1/cli/php.ini</code>
sed -i "s/max_execution_time = .*/max_execution_time = 18000/" <code>/etc/php/7.1/cli/php.ini</code></pre>
<p>Now restart the PHP-fpm service and enable it to launch every time at system boot.<br></p>
<pre><code>systemctl restart php7.1-fpm&lt;br&gt;systemctl enable php7.1-fpm</code></pre>
<p>The PHP-FPM 7.1 installation and configuration has been completed, check the service using netstat command.</p>
<pre><code>netstat -pl | grep php</code></pre>
<p>And you will get the PHP-fpm socks file as below.<br><br>WARNING</p>
<p><a href="https://stackoverflow.com/questions/16002268/prevent-nginx-504-gateway-timeout-using-php-set-time-limit">https://stackoverflow.com/questions/16002268/prevent-nginx-504-gateway-timeout-using-php-set-time-limit</a>
<br></p>
<h2>or Step 2.1 &#8211; Install and Configure PHP-FPM 7.0</h2>
<pre><code>sudo apt install software-properties-common -y&lt;br&gt;sudo add-apt-repository ppa:ondrej/php -y</code></pre>
<p>Now install PHP-FPM 7.0 with all extensions needed.</p>
<pre><code>sudo apt install php7.0-fpm php7.0-mcrypt php7.0-curl php7.0-cli php7.0-mysql php7.0-gd php7.0-xsl php7.0-json php7.0-intl php-pear php7.0-dev php7.0-common php7.0-mbstring php7.0-zip php7.0-soap php7.0-bcmath -y&lt;br&gt;</code></pre>
<p>After the installation is complete, check the PHP version and installed extensions using PHP commands.</p>
<pre><code>php -v&lt;br&gt;php -me</code></pre>
<p>Next, we will configure the php.ini file for the PHP-FPM and PHP-CLI.</p>
<p>Edit the php.ini files using nano</p>
<pre><code>vim /etc/php/7.0/fpm/php.ini&lt;br&gt;vim /etc/php/7.0/cli/php.ini</code></pre>
<p>Change the value of those lines as below.</p>
<pre>memory_limit = 512M
max_execution_time = 180
zlib.output_compression = On</pre>
<p>Save and exit.</p>
<p>or </p>
<pre>sed -i "s/memory_limit = .*/memory_limit = 512M/" <code>/etc/php/7.0/fpm/php.ini</code>
sed -i "s/upload_max_filesize = .*/upload_max_filesize = 128M/" <code>/etc/php/7.0/fpm/php.ini</code>
sed -i "s/zlib.output_compression = .*/zlib.output_compression = on/" <code>/etc/php/7.0/fpm/php.ini</code>
sed -i "s/max_execution_time = .*/max_execution_time = 18000/" <code>/etc/php/7.0/fpm/php.ini</code>

sed -i "s/memory_limit = .*/memory_limit = 512M/" <code>/etc/php/7.0/cli/php.ini</code>
sed -i "s/upload_max_filesize = .*/upload_max_filesize = 128M/" <code>/etc/php/7.0/cli/php.ini</code>
sed -i "s/zlib.output_compression = .*/zlib.output_compression = on/" <code>/etc/php/7.0/cli/php.ini</code>
sed -i "s/max_execution_time = .*/max_execution_time = 18000/" <code>/etc/php/7.0/cli/php.ini</code></pre>
<p>Now restart the PHP-fpm service and enable it to launch every time at system boot.<br></p>
<pre><code>systemctl restart php7.0-fpm&lt;br&gt;systemctl enable php7.0-fpm</code></pre>
<p>The PHP-FPM 7.0 installation and configuration has been completed, check the service using netstat command.</p>
<pre><code>netstat -pl | grep php</code></pre>
<p>And you will get the PHP-fpm socks file as below.</p>
<h2>Step 3 &#8211; Install and Configure MySQL Server</h2>
<p>The Magento software requires MySQL 5.6.x, and the Magento 2.1.2 or
later require the MySQL 5.7.x. In this tutorial, we will install latest
MySQL server 5.8 on the Ubuntu 18.04 system.</p>
<p>Install MySQL 5.8 using the apt command below.</p>
<pre><code>sudo apt install mysql-server mysql-client -y</code></pre>
<p>After the installation is complete, start the MySQL service and enable it to launch every time at system boot.</p>
<pre><code>systemctl start mysql&lt;br&gt;systemctl enable mysql</code></pre>
<p>Now we will configure the MySQL root password using &#8216;mysql_secure_installation’ command.</p>
<pre><code>mysql_secure_installation</code></pre>
<p>In this MySQL 5.8 version, there is a security improvement for the
MySQL password policy. You need to choose the password policy &#8211; 0 for
the LOW policy, 1 for the MEDIUM policy, and 2 for a STRONG password
policy.</p>
<p>For this guide, we will be using the &#8216;MEDIUM’ password policy, and it’s recommended to use the &#8216;STRONG’ password policy on the </p>
<p>Choose number &#8216;1’ and press Enter, then type your new MySQL &#8216;root’ password.</p>
<pre> Remove anonymous users? (Press y|Y for Yes, any other key for No) : Y<br> Disallow root login remotely? (Press y|Y for Yes, any other key for No) : Y<br> Remove test database and access to it? (Press y|Y for Yes, any other key for No) : Y<br> Reload privilege tables now? (Press y|Y for Yes, any other key for No) : Y</pre>
<p>The MySQL root password has been set up.</p>
<p>You can increase the value for packet which is larger than Magento default by opening <b>/etc/mysql/mysql.cnf</b> in a text editor and navigate to <b>max_allowed_packet</b>.  </p>
<p>Then, save to <b>mysql.cnf</b> and restart MySQL by entering <b>service mysql restart</b>.</p>
<p>Run the following command at a <b>mysql&gt;</b> prompt to verify your set value:</p>
<pre>SHOW VARIABLES LIKE 'max_allowed_packet';
</pre>
<p>Next, we will create a new database for our Magento installation. We
will create a new database named  &#8216;magentodb’ with user &#8216;magentouser’
and the password is &#8216;Magento0463@#’.</p>
<p>Login to the MySQL shell using the root user.</p>
<pre><code>mysql -u root -p</code></pre>
<p>Now run MySQL queries below to create the database and user.</p>
<pre><code>create database magentodb;&lt;br&gt;create user magentouser@localhost identified by 'Magento0463@#';&lt;br&gt;grant all privileges on magentodb.* to magentouser@localhost identified by 'Magento0463@#';&lt;br&gt;flush privileges;</code></pre>
<p>The MySQL server installation and configuration for the Magento installation has been completed.</p>
<h2>Step 4 &#8211; Install and Configure Magento 2</h2>
<p>In this step, we will install Magento 2.2.4 latest version from
Github repository. We will install the PHP composer for installing the
Magento components, download Magento from Github repository, configure
Nginx virtual host for Magento, and install Magento using the web-based
post installation.</p>
<p>
&#8211; Install PHP Composer
</p>
<p>Install PHP Composer on ubuntu 18.04 using the apt command below.</p>
<pre><code>sudo apt install composer -y</code></pre>
<p>After the installation is complete, check the composer version installed on the system.</p>
<pre><code>composer -V</code></pre>
<p>The latest version PHP Composer has been installed.</p>
<p><b>
&#8211; Download Magento 2
</b></p>
<p>Go to the ’/var/www’ directory and download the Magento archive source code from Github using wget command.</p>
<pre><code>cd /var/www/&lt;br&gt;wget &lt;a href=&quot;https://github.com/magento/magento2/archive/2.2.6.tar.gz&quot;&gt;https://github.com/magento/magento2/archive/2.2.6.tar.gz&lt;/a&gt;</code></pre>
<p>Now extract the Magento archive file and rename the directory to &#8216;magento2’.</p>
<pre><code>tar -xf 2.2.6.tar.gz;&lt;br&gt;mv magento2-2.2.6/ magento2/;</code></pre>
<p>The Magento source code has been downloaded, and the ’/var/www/magento2’ directory will be the web root for the Magento site.</p>
<p>
&#8211; Install Magento Components
</p>
<p>Install Magento components using the PHP composer. Go to the
&#8216;magento2’ directory and install all the PHP components needed by
Magento using the &#8216;composer’ command.</p>
<pre><code>cd /var/www/magento2;&lt;br&gt;composer install -v;</code></pre>
<p>If you plan to install Sample data – refer to this <a href="http://devdocs.magento.com/guides/v1.0/install-gde/install/sample-data.html">link</a> for details. As for now Magento 2 is still under development, the best variant is to read the latest documentation at Magento <a href="http://devdocs.magento.com/guides/v1.0/install-gde/bk-install-guide.html">docs</a>.</p>
<h2>File permissions</h2>
<p>‘Admin’ user is the owner of all magento files on our server, and
Apache web server runs on behalf of ‘www-data’ user. Magento 2
documentation <a href="http://devdocs.magento.com/guides/v1.0/install-gde/install/composer-clone.html#instgde-prereq-compose-access">describes</a>
 the access permission settings for files and directories on the
principle that the web server runs on behalf of the user which is the
owner of all Magento files. Our opinion is: it’s not the best decision,
as it can lead to security issues (as the web server has permissions to
write and run the code) as well as issues with setting access
permissions for third party developers (as you’re not logging in as
www-data user). We normally use the following access permissions:</p>
<pre>cd /var/www/magento2
find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} ;
find var vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} ;
chmod u+x bin/magento</pre>
<p>If you’re going to install Magento from the web interface, then add write permissions for app/etc/ and vendor/:</p>
<p><code>chmod</code> <code>-R g+w /</code><code>var</code><code>/www/magento2/{app/etc,vendor}</code>

<br></p>
<h2> Configure nginx</h2>
<ol><li> Run the line to create a new virtual host for your Magento site:</li></ol>
<pre>vim /etc/nginx/sites-available/magento
</pre>
<ol><li> Make the following configuration:</li></ol>
<pre>upstream fastcgi_backend {
     server  unix:/run/php/php7.1-fpm.sock;
 }

 server {

    listen 80;
    #listen [::]:80;
    index  index.php index.html index.htm;
    server_name  example.com <a href="http://www.example.com">www.example.com</a>;
    set $MAGE_ROOT /var/www/magento2;
    #client_max_body_size 200M;
    #set $MAGE_MODE developer;
    include /var/www/magento2/nginx.conf.sample;
 }<b>
</b></pre>
<ol><li> Match your domain name with the base URL you chose when installing Magento.</li>
<li> Save and exit the editor.</li>
<li> Activate host by creating a symlink:</li></ol>
<pre>ln -s /etc/nginx/sites-available/magento /etc/nginx/sites-enabled
</pre>
<ol><li>Delete the default configuration:<br><br></li>
<li><b>sudo rm -f /etc/nginx/sites-enabled/default</b></li>
<li>Verify if the syntax is correct:<br><br></li></ol>
<p><i>nginx -t</i>
<br><br>Run the command to restart nginx:</p>
<pre>systemctl restart nginx</pre>
<h2>Verify the installation</h2>
<p>Now try your site’s URL on a web browser to verify the site yourself.</p>
<h2><b><a href="http://selmantunc.tumblr.com/post/180581648617/magento-2-if-you-would-like-to-ssl">If you would like to SSL </a> (<a href="http://selmantunc.tumblr.com/post/180581648617/magento-2-if-you-would-like-to-ssl">click</a>)</b></h2>
<p><b>Sample DATA INSTALL</b>
<br></p>
<p>install magento </p>
<p>cd /var/www/<br></p>
<pre><code>wget &lt;a href=&quot;https://t.umblr.com/redirect?z=https%3A%2F%2Fgithub.com%2Fmagento%2Fmagento2%2Farchive%2F2.2.6.tar.gz&amp;t=YWYxZWE0NTk4Y2YyYjJmYTU5OWYxYWM3NzI4MTBkMzU0ZDgyMDcyMixNcDNIejBZVA%3D%3D&amp;b=t%3AusB6gIQUr-9iJ_hZdVo9xw&amp;p=http%3A%2F%2Fselmantunc.tumblr.com%2Fpost%2F180306101827%2Fmagento-2-setup&amp;m=1&quot;&gt;&lt;/a&gt;
&lt;a href=&quot;https://github.com/magento/magento2-sample-data/archive/2.2.tar.gz&quot;&gt;&lt;/a&gt;
&lt;a href=&quot;https://codeload.github.com/magento/magento2-sample-data/zip/2.2.6&quot;&gt;&lt;/a&gt;
&lt;a href=&quot;https://github.com/magento/magento2/archive/2.2-develop.zip&quot;&gt;https://github.com/magento/magento2/archive/2.2-develop.zi&lt;/a&gt;p</code></pre>
<pre><code>&lt;a href=&quot;https://github.com/magento/magento2/archive/2.2-develop.zip&quot;&gt;unzip 2.2-develop.zip&lt;br&gt;&lt;/a&gt;</code>cd magento2-2.2-develop/<br><code>mv * ../</code>

</pre>
<pre>wget <a href="https://github.com/magento/magento2-sample-data/archive/2.2.6.zip">https://github.com/magento/magento2-sample-data/archive/2.2.6.zip</a>
<br></pre>
<pre><code>unzip 2.2.6.zip
cd magento2-sample-data-2.2.6/
mv * ../&lt;br&gt;</code></pre>
<p>Enable sample data modules (it’s important!):</p>
<pre><code>php bin/magento module:enable Magento_CustomerSampleData Magento_MsrpSampleData Magento_CatalogSampleData Magento_DownloadableSampleData Magento_OfflineShippingSampleData Magento_BundleSampleData Magento_ConfigurableSampleData Magento_ThemeSampleData Magento_ProductLinksSampleData Magento_ReviewSampleData Magento_CatalogRuleSampleData Magento_SwatchesSampleData Magento_GroupedProductSampleData Magento_TaxSampleData Magento_CmsSampleData Magento_SalesRuleSampleData Magento_SalesSampleData Magento_WidgetSampleData Magento_WishlistSampleData
</code></pre>
<p>Remove old files:</p>
<pre><code>rm -rf var/cache/* var/page_cache/* var/generation/*
</code></pre>
<p>Upgrade magento files:</p>
<pre><code>bin/magento setup:upgrade
</code></pre>
<p>Recompile files:</p>
<pre><code>php bin/magento setup:di:compile
</code></pre>
<p>Do reindex:</p>
<pre><code>php bin/magento indexer:reindex
</code></pre>
<p>Deploy static content:</p>
<pre><code>php bin/magento setup:static-content:deploy</code></pre>
<h2>FİXED BUGS </h2>
<p>Note: right now (15.05.2015) Magento Sample data can’t be install due to an unknown bug.</p>
<p>[Progress: 269 / 272]<br>Installing sample data:</p>
<p>[MagentoFrameworkExceptionLocalizedException]<br>Area code is already set</p>
<p>Thus, we advise to monitor <a href="https://github.com/magento/magento2/issues">known Magento 2 issues</a> and submit bugs if you notice any.</p>
<p>“””sample data error Fatal error: Cannot use &#8216;Void’ as class name as it is reserved in ….”</p>
<p><a href="https://magento.stackexchange.com/questions/128460/classnames-void-inside-vendor-magento">https://magento.stackexchange.com/questions/128460/classnames-void-inside-vendor-magento</a>
<br></p>
<h2>magento 2 Error “An error has happened during application run. See exception log for detail</h2>
<p>In my case this happens when runing a command as root user which is changes the file permissions.</p>
<p>A simple owner corecction can solve this:</p>
<p>chown -R www-data:www-data /var/www/magento2/</p>
<p>For me this was worked.</p>
<p>———————————————-</p>
<p>

php bin/magento maintenance:enable;<br>php bin/magento setup:upgrade;<br>php bin/magento setup:di:compile;<br>php bin/magento setup:static-content:deploy -f;<br>php bin/magento cache:clean;<br>php bin/magento maintenance:disable

<br></p>
<p>———</p>
<h2><b>Magento 2 first install –   How to fix Magento 500 Internal Server Errors

</b></h2>
<p>chown -R www-data:www-data /var/www/magento2/ </p>
<p> chmod 777 -R var<br>chmod 777 -R generated<br>chmod 777 -R app/etc<br></p>
<p>or  <a href="https://www.simicart.com/blog/magento-2-file-permissions/">https://www.simicart.com/blog/magento-2-file-permissions/</a></p>
<p>———-</p>
<p><b>

Adjusting Child Processes For PHP-FPM Nginx – Fix Server Reached pm.max_children Setting</b></p>
<p><a href="https://www.tecklyfe.com/adjusting-child-processes-php-fpm-nginx-fix-server-reached-pm-max_children-setting/">https://www.tecklyfe.com/adjusting-child-processes-php-fpm-nginx-fix-server-reached-pm-max_children-setting/</a>
<br></p>
<p>magento and varnish install </p>
<p><a href="https://www.rosehosting.com/blog/how-to-install-magento-2-with-apache-varnish-and-memcache/">https://www.rosehosting.com/blog/how-to-install-magento-2-with-apache-varnish-and-memcache/</a>
<br></p>
<p>PROBLEM  = in correct datetime value:</p>
<pre><code>
 SET sql_mode = 'NO_ZERO_DATE';

</code></pre>
<p><a href="https://askubuntu.com/questions/928191/how-to-open-a-closed-port-in-ubuntu">https://askubuntu.com/questions/928191/how-to-open-a-closed-port-in-ubuntu</a>
<br></p>
<p><b>sudo bin/magento setup:store-config:set –base-url=”<a href="https://www.google.com/url?q=https://ww.Site.com&amp;sa=D&amp;source=hangouts&amp;ust=1544219727399000&amp;usg=AFQjCNEHkDX2YWcngvwHb0nNwdTUR0qpmg">https://ww.Site.com</a>“</b></p>
<p><b>Source:</b>
<br></p>
<p><a href="https://websiteforstudents.com/a-very-quick-and-easy-way-to-install-magento-2-with-nginx-on-ubuntu/">https://websiteforstudents.com/a-very-quick-and-easy-way-to-install-magento-2-with-nginx-on-ubuntu/</a>
<br></p>
<p><a href="https://www.howtoforge.com/tutorial/how-to-install-magento-with-nginx-on-ubuntu/">https://www.howtoforge.com/tutorial/how-to-install-magento-with-nginx-on-ubuntu/</a>
<br></p>
<p><a href="https://www.rosehosting.com/blog/magento-2-with-redis-varnish-and-nginx-as-ssl-termination/">https://www.rosehosting.com/blog/magento-2-with-redis-varnish-and-nginx-as-ssl-termination/</a>
<br></p>
<p><a href="https://www.simicart.com/blog/magento-2-nginx/">https://www.simicart.com/blog/magento-2-nginx/</a></p>
<p><a href="https://gist.github.com/okovalov/37fa0ededf8878c616df7faab99afed7">https://gist.github.com/okovalov/37fa0ededf8878c616df7faab99afed7</a>
<br></p>
<p><a href="https://doc.zooextension.com/magento/magento-hosting/#/install-configure-php-fpm">https://doc.zooextension.com/magento/magento-hosting/#/install-configure-php-fpm</a>
<br></p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magento 2 Something went wrong with processing the default view and  &#8230; error (fixed)</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-2-something-went-wrong-with-processing-the/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 17 Nov 2018 14:06:06 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[Magento2]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/11/17/magento-2-something-went-wrong-with-processing-the/</guid>

					<description><![CDATA[Problem: Something went wrong with processing the default view and we have restored the filter to its original state. Fixed: File open: vendormagentoframeworkViewElementUiComponentDataProviderFulltextFilter.php Function change: public function apply(Collection $collection, Filter&#8230;]]></description>
										<content:encoded><![CDATA[<p><b>Problem:</b> Something went wrong with processing the default view and we have restored the filter to its original state.</p>
<p><b>Fixed:</b></p>
<p>File open: vendormagentoframeworkViewElementUiComponentDataProviderFulltextFilter.php</p>
<p>Function change:</p>
<pre>public function apply(Collection $collection, Filter $filter)<br>{<br>    if (!$collection instanceof AbstractDb) {<br>        throw new InvalidArgumentException('Database collection required.');<br>    }<br><br>    /** @var SearchResult $collection */<br>    $mainTable = $collection-&gt;getMainTable();<br>    $columns = $this-&gt;getFulltextIndexColumns($collection, $mainTable);<br>    if (!$columns) {<br>        return;<br>    }<br><br>    $columns = $this-&gt;addTableAliasToColumns($columns, $collection, $mainTable);<br>    $collection-&gt;getSelect()<br>        -&gt;where(<br>            'MATCH(' . implode(',', $columns) . ') AGAINST(?)',<br>          //  $filter-&gt;getValue()<br>            $this-&gt;escapeAgainstValue($filter-&gt;getValue())<br>        );<br>}</pre>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magento 2 öğrenmek için kaynaklar</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-2-ogrenmek-icin-kaynaklar/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 12 Nov 2018 15:51:21 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[Magento Tutorials]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/11/12/magento-2-ogrenmek-icin-kaynaklar/</guid>

					<description><![CDATA[https://firebearstudio.com/blog/the-ultimate-magento-2-developer-resource-list-docs-tools-books-courses.html Bu listeye sürekli ekleme yapacağım.]]></description>
										<content:encoded><![CDATA[<p><a href="https://firebearstudio.com/blog/the-ultimate-magento-2-developer-resource-list-docs-tools-books-courses.html">https://firebearstudio.com/blog/the-ultimate-magento-2-developer-resource-list-docs-tools-books-courses.html</a>
<br></p>
<p>Bu listeye sürekli ekleme yapacağım.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Magento Development / Debug Mode:</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-development-debug-mode/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 31 Jan 2018 20:50:29 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[magento ipuçu]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/01/31/magento-development-debug-mode/</guid>

					<description><![CDATA[Magento ile developmen modda çalışmak  1. Disable Cache (Cacheleri kapatınız )System &#62; Cache Management &#62; Select All [check-boxes] &#62; Actions = Disable  2. Re-Index AllSystem &#62; Index Management &#62; Select&#8230;]]></description>
										<content:encoded><![CDATA[<p>Magento ile developmen modda çalışmak </p>
<p><b>1.</b> Disable Cache (Cacheleri kapatınız )<br>System &gt; Cache Management &gt; Select All [check-boxes] &gt; Actions = Disable </p>
<p><b>2.</b> Re-Index All<br>System &gt; Index Management &gt; Select All [check-boxes] &gt; Actions = Reindex Data &gt; Gönder </p>
<p><b>3. </b>Derlemeyi devre dışı bırak <br>System &gt; Tools &gt; Compilation &gt; Disable</p>
<p>Not: Varsayılan olarak derleme modu devre dışıdır. Bu durumda Derleyici Durumunun Etkin olup olmadığını kontrol edin.</p>
<p><b>4.</b> Hata Raporlamayı Aç<br>a&gt; Index.php&#8217;yi açın ve aşağıdaki satırı kontol edin yoksa ekleyin</p>
<p><code>#ini_set('display_errors', 1);</code></p>
<p>b&gt;  Açın .htaccess ve sonuna aşağıdaki satırı ekleyin</p>
<p><code>SetEnv MAGE_IS_DEVELOPER_MODE &quot;true&quot;</code></p>
<p><b>5. </b>Günlüğü Etkinleştirme</p>
<p>System &gt; Configuration &gt; Advanced &gt; Developer &gt; Log Settings &gt; Enabled =&gt; Yes</p>
<p><b>6. </b>Magento Hata Sayfasını Yapılandırma<br>rename errors/local.xml.sample to errors/local.xml</p>
<p><b>7. </b>‘Kolay Şablon Yolu İpuçları’ açmak </p>
<figure class="tmblr-full" data-orig-height="607" data-orig-width="1132"><img decoding="async" src="https://selmantunc.com.tr/wp-content/uploads/2023/07/tumblr_inline_p3ftvyDXRu1tyldvk_540.jpg" data-orig-height="607" data-orig-width="1132"></figure>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
