<?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 Coder &#187; PHP</title>
	<atom:link href="http://magentocoder.jigneshpatel.co.in/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://magentocoder.jigneshpatel.co.in</link>
	<description>hacks &#38; solutions for Magento Ecommerce development</description>
	<lastBuildDate>Sun, 19 Jun 2011 16:13:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Magento &#8211; Fatal error: Maximum execution time of 60 seconds exceeded in &#8230;</title>
		<link>http://magentocoder.jigneshpatel.co.in/magento-fatal-error-maximum-execution-time-of-60-seconds-exceeded-in/</link>
		<comments>http://magentocoder.jigneshpatel.co.in/magento-fatal-error-maximum-execution-time-of-60-seconds-exceeded-in/#comments</comments>
		<pubDate>Tue, 18 May 2010 05:36:24 +0000</pubDate>
		<dc:creator>Jignesh</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://magentocoder.jigneshpatel.co.in/?p=103</guid>
		<description><![CDATA[Have you ever encountered the following kind of error while installing Magento 1.4 ? Fatal error: Maximum execution time of 120 seconds exceeded in... To fix it, open your php.ini and replace the value for &#8216;max_execution_time&#8217; and &#8216;max_input_time&#8217; as per below. max_execution_time = 3600 max_input_time = 3600]]></description>
			<content:encoded><![CDATA[<p>Have you ever encountered the following kind of error while installing Magento 1.4 ?</p>
<p><code style='color:red;'><strong>Fatal error</strong>: Maximum execution time of 120 seconds exceeded in...</code></p>
<p>To fix it, open your php.ini and replace the value for &#8216;max_execution_time&#8217; and &#8216;max_input_time&#8217; as per below.</p>
<pre class="brush:php">

max_execution_time = 3600
max_input_time = 3600
</pre>
]]></content:encoded>
			<wfw:commentRss>http://magentocoder.jigneshpatel.co.in/magento-fatal-error-maximum-execution-time-of-60-seconds-exceeded-in/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Magento Redirection loop problem after installing SSL</title>
		<link>http://magentocoder.jigneshpatel.co.in/magento-redirection-loop-problem-after-installing-ssl/</link>
		<comments>http://magentocoder.jigneshpatel.co.in/magento-redirection-loop-problem-after-installing-ssl/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 06:15:09 +0000</pubDate>
		<dc:creator>Jignesh</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://magentocoder.jigneshpatel.co.in/?p=55</guid>
		<description><![CDATA[On one of the Magento based project, I am working on I was facing lot many issues after having SSL on Godaddy hosting. Godaddy hosting is always having issues. The biggest problem was, one page checkout page was getting infinite redirection loops. So it was not opening anyhow. The solution was in Magento Admin only: System -&#62; Configuration -&#62; Web. Disable everything under the &#8216;Session Validation Settings&#8217; box.]]></description>
			<content:encoded><![CDATA[<p>On one of the Magento based project, I am working on I was facing lot many issues after having SSL on Godaddy hosting. Godaddy hosting is always having issues.</p>
<p>The biggest problem was, one page checkout page was getting infinite redirection loops. So it was not opening anyhow.</p>
<p>The solution was in Magento Admin only:</p>
<p>System -&gt; Configuration -&gt; Web.<br />
Disable everything under the &#8216;Session Validation Settings&#8217; box.</p>
<p><img class="alignnone size-full wp-image-56" title="Session_Validation_Settings" src="http://magentocoder.jigneshpatel.co.in/wp-content/uploads/2009/08/Session_Validation_Settings.png" alt="Session_Validation_Settings" width="478" height="201" /></p>
]]></content:encoded>
			<wfw:commentRss>http://magentocoder.jigneshpatel.co.in/magento-redirection-loop-problem-after-installing-ssl/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Magento: Clear the cache with PHP script.</title>
		<link>http://magentocoder.jigneshpatel.co.in/magento-clear-the-cache-with-php-script/</link>
		<comments>http://magentocoder.jigneshpatel.co.in/magento-clear-the-cache-with-php-script/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 17:15:12 +0000</pubDate>
		<dc:creator>Jignesh</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://magentocoder.jigneshpatel.co.in/?p=18</guid>
		<description><![CDATA[It always take time to get rid of the Magento cache. However cache is needed to execute the request faster. One way of clearing the cache is delete all the directories inside the /var/cache directory. Doing that manually it will take some time if you are connected to the FTP server. The easiest way of clearing the cache in Magento is here. &#60;?php ini_set('max_execution_time', 3600); ini_set("memory_limit","256M"); $script = "rm -rf var/cache/*"; $results = system($script,$retval); echo [...]]]></description>
			<content:encoded><![CDATA[<p>It always take time to get rid of the Magento cache. However cache is needed to execute the request faster. One way of clearing the cache is delete all the directories inside the /var/cache directory. Doing that manually it will take some time if you are connected to the FTP server.<br />
The easiest way of clearing the cache in Magento is here. </p>
<pre class="brush:php">
&lt;?php

ini_set('max_execution_time', 3600);
ini_set("memory_limit","256M");

$script = "rm -rf var/cache/*";
$results = system($script,$retval);
echo " Cache cleared, RETURN VALUE: $retval\n";

?&gt;
</pre>
<p>Name the file clearcache.php. Put it in the root directory of the Magento setup &#038; execute in the browser.</p>
]]></content:encoded>
			<wfw:commentRss>http://magentocoder.jigneshpatel.co.in/magento-clear-the-cache-with-php-script/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Search in Files using PHP Script with unix commands</title>
		<link>http://magentocoder.jigneshpatel.co.in/search-in-files-with-php-script/</link>
		<comments>http://magentocoder.jigneshpatel.co.in/search-in-files-with-php-script/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 10:13:29 +0000</pubDate>
		<dc:creator>Jignesh</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://magentocoder.jigneshpatel.co.in/?p=6</guid>
		<description><![CDATA[Search in large number files is painful &#038; slow for the Magento based projects. If you are using your editor&#8217;s built-in search feature, then also it may take lots of time to search within all directories. In case of you are editing the files on the live server, its very awful to search in even small no. of files for code. However, there is a solution, if your Magento store is hosted on Linux server. [...]]]></description>
			<content:encoded><![CDATA[<p>Search in large number files is painful &#038; slow for the Magento based projects.</p>
<p>If you are using your editor&#8217;s built-in search feature, then also it may take lots of time to search within all directories. In case of you are editing the files on the live server, its very awful to search in even small no. of files for code.</p>
<p>However, there is a solution, if your Magento store is hosted on Linux server. You can get advantages of unix commands.</p>
<p>I made a PHP script which can search in the directory. You can set the directory path in which you want to perform the search.</p>
<p>The example script below can search in &#8216;app&#8217; directory of your Magento setup. Put the script in the root directory.</p>
<pre class="brush:php">
&lt;?php

ini_set('max_execution_time', 3600);
ini_set("memory_limit","256M");

$item = $_GET['item'];
if(trim($item) != '')
{
	$script = "grep -n -r '$item' ".dirname(__FILE__)."/app";

	// replace 'exe c' with 'exec' in this line
	$results = exe c($script,$retval);
	if($results) {
		echo "Search Done";
		foreach ($retval as $value) {
			echo "".$value;
		}
	}
	else {
		echo "Search Done, No results found.\n";
	}
}
else {
	echo "No Search performed";
}

?&gt;
</pre>
<p>Name it search.php, then you will need to execute the script from browser this way: http(s)://{host}/search.php?item={keyword}</p>
]]></content:encoded>
			<wfw:commentRss>http://magentocoder.jigneshpatel.co.in/search-in-files-with-php-script/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

