<?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>king host Archives - Dicas de PHP</title>
	<atom:link href="https://dicasdephp.com.br/tags/king-host/feed/" rel="self" type="application/rss+xml" />
	<link>https://dicasdephp.com.br/tags/king-host/</link>
	<description>PHP de um jeito muito fácil!</description>
	<lastBuildDate>Sun, 27 Mar 2022 01:56:56 +0000</lastBuildDate>
	<language>pt-BR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>&#8220;Cannot add the item to shopping cart.&#8221; Magento Bug</title>
		<link>https://dicasdephp.com.br/cannot-add-the-item-to-shopping-cart-magento-bug/</link>
		
		<dc:creator><![CDATA[dicasdephp]]></dc:creator>
		<pubDate>Wed, 16 Sep 2015 14:10:59 +0000</pubDate>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[king host]]></category>
		<category><![CDATA[locaweb]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[shopping cart]]></category>
		<guid isPermaLink="false">http://www.dicasdephp.com.br/?p=508</guid>

					<description><![CDATA[<p>Se você já passou por essa mensagem de erro no Magento &#8211; Cannot add the item to shopping cart. &#8211; vou mostrar neste post como é possível resolver ele. Basicamente, esse erro vai ocorrer quando o Magento não conseguir localizar o diretório de cache do sistema. Ele só será apresetando quando um cliente tentar inserir um produto no carrinho de ... <a title="&#8220;Cannot add the item to shopping cart.&#8221; Magento Bug" class="read-more" href="https://dicasdephp.com.br/cannot-add-the-item-to-shopping-cart-magento-bug/" aria-label="More on &#8220;Cannot add the item to shopping cart.&#8221; Magento Bug">Ler mais</a></p>
<p>The post <a href="https://dicasdephp.com.br/cannot-add-the-item-to-shopping-cart-magento-bug/">&#8220;Cannot add the item to shopping cart.&#8221; Magento Bug</a> appeared first on <a href="https://dicasdephp.com.br">Dicas de PHP</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Se você já passou por essa mensagem de <strong>erro no Magento</strong> &#8211; <strong>Cannot add the item to shopping cart.</strong> &#8211; vou mostrar neste post como é possível resolver ele.</p>
<p>Basicamente, esse erro vai ocorrer quando o Magento não conseguir localizar o diretório de cache do sistema. Ele só será apresetando quando um cliente tentar inserir um produto no <strong>carrinho de compras</strong>.</p>
<p>Se você habilitar os logs de erro do Magento, irá encontrar a seguinte mensagem no arquivo exception.log: &#8220;<strong>Exception message: cache_dir must be a directory</strong>&#8220;.</p>
<p>Siga os passos seguintes para corrigir o problema. Localize o arquivo lib/Zend/Cache/Backend/File.php e edite as seguintes configurações:</p>
<pre>'cache_dir' =&gt; null</pre>
<pre>'cache_dir' =&gt; 'tmp'</pre>
<p>Após salvar o arquivo e subir ele novamente para o servidor, confira se o problema foi resolvido.</p>
<p>Caso o problema persista, talvez a pasta que você esteja definido como tmp não seja válida. Por isso, recomendo você criar uma pasta no servidor e definir ela com a tmp.</p>
<p>Espero que isso ajude. Se o problema não for resolvido, deixe um comentário com o seu problema.</p>
<p>The post <a href="https://dicasdephp.com.br/cannot-add-the-item-to-shopping-cart-magento-bug/">&#8220;Cannot add the item to shopping cart.&#8221; Magento Bug</a> appeared first on <a href="https://dicasdephp.com.br">Dicas de PHP</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
