<?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>My Web Development</title>
	<atom:link href="https://mywebdevelopment.org/feed/" rel="self" type="application/rss+xml" />
	<link>https://mywebdevelopment.org</link>
	<description>Always learning something new..</description>
	<lastBuildDate>Wed, 06 Feb 2019 19:35:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Linode with CentOS 6.5 need to disable dhclient</title>
		<link>https://mywebdevelopment.org/linode-centos-6-5-need-disable-dhclient/</link>
				<pubDate>Sat, 15 Nov 2014 04:10:20 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[bootproto=none]]></category>
		<category><![CDATA[disable dhclient]]></category>
		<category><![CDATA[eth0]]></category>
		<category><![CDATA[grep dh]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=865</guid>
				<description><![CDATA[<p>How to disable dhclient in CentOS If your running multiple IPs on Linode server using&#160;CentOS 6.5 with&#160;cPanel, you may have to disable dhclient. &#160;An issue with dhclient running process in CentOS server was creating conflict. # ps faux &#124;grep dh root 1931 0.0 0.0 2908 1160 ? Ss Sep15 0:01 /sbin/dhclient -1 -q -cf /etc/dhcp/dhclient-eth0.conf… <span class="read-more"><a href="https://mywebdevelopment.org/linode-centos-6-5-need-disable-dhclient/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/linode-centos-6-5-need-disable-dhclient/">Linode with CentOS 6.5 need to disable dhclient</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<h2>How to disable dhclient in CentOS</h2>
<p>If your running multiple IPs on Linode server using&nbsp;CentOS 6.5 with&nbsp;cPanel, you may have to disable dhclient. &nbsp;An issue with dhclient running process in CentOS server was creating conflict.</p>
<p><span style="color: #800000;"># ps faux |grep dh</span><br />
<span style="color: #800000;">root 1931 0.0 0.0 2908 1160 ? Ss Sep15 0:01 /sbin/dhclient -1 -q -cf /etc/dhcp/dhclient-eth0.conf -lf /var/lib/dhclient/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid eth0</span></p>
<p>cPanel recommends disable dhclient and configuring it accordingly. Linode provides some <a title="Linux static IP configuration" href="https://www.linode.com/docs/networking/linux-static-ip-configuration">great documentation</a>&nbsp;on how to disable dhclient. This article will help you better understand and shorten the process. &nbsp;Following Linode&#8217;s instructions, notice that there are three files that are part of&nbsp;configuration. &nbsp;For&nbsp;this instance, there are two only files necessary. &nbsp;Having a third file (ifcfg-eth0:1) is not necessary because that IP is already going to be configured in ifcfg-eth0.</p>
<p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-9218567626174444"
     data-ad-slot="1282062789"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></p>
<p>Use the Linode Manager or Putty to SSH into your server. &nbsp;Edit (use vi command) the following&nbsp;files&nbsp;<span style="color: #800000;">ifcfg-eth0</span> &amp; create another file <span style="color: #800000;">ifcfg-eth0:0</span> and use the bellow configuration as template. You will require the configuration information from your Linode Manager.&nbsp;Dashboard &gt; Remote Access: Public Network contains your IPs &amp; Gateways.</p>
<hr>
<p><strong>&lt;&#8211; file 1: /etc/sysconfig/network-scripts/ifcfg-eth0 &#8211;&gt;</strong></p>
<p>####<br />
# Configuration for eth0<br />
#</p>
<p>DEVICE=eth0<br />
BOOTPROTO=none</p>
<p># This line ensures that the interface will be brought up during boot.<br />
ONBOOT=yes</p>
<p># The address, netmask, and gateway are all necessary.<br />
IPADDR=01.234.56.78<br />
NETMASK=255.255.255.0<br />
GATEWAY=198.58.101.1</p>
<hr>
<p><strong>&lt;&#8211;file 2: /etc/sysconfig/network-scripts/ifcfg-eth0:0 &#8211;&gt;</strong></p>
<p>####<br />
# Configuration for eth0:0<br />
#</p>
<p>DEVICE=eth0:0<br />
BOOTPROTO=none</p>
<p># This line ensures that the interface will be brought up during boot.<br />
ONBOOT=yes</p>
<p># The address, and netmask, are necessary.<br />
IPADDR=09.010.11.12<br />
NETMASK=255.255.255.0</p>
<hr>
<p><em>*In second file eth0:0 you don&#8217;t need to include the gateway.</em></p>
<p>Restart the network!</p>
<p><span style="color: #800000;"># service network restart</span></p>
<p>That&#8217;s it, now you disable dhclient on your Linode server running CentOS 6.5!</p>
<p>Additionally, you may wan to set ipaliases as monitored within the servers Service Manager. &nbsp;An effort to ensure that IPs defined in /etc/ips remain bound to the system.</p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>Linux Static IP Configurations:&nbsp;<a title="Linux Static IP Configuration" href="https://www.linode.com/docs/networking/linux-static-ip-configuration">https://www.linode.com/docs/networking/linux-static-ip-configuration</a></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/linode-centos-6-5-need-disable-dhclient/">Linode with CentOS 6.5 need to disable dhclient</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>PrestaShop pHp.ini Location Does Not Go To Server&#8217;s Main pHp.ini</title>
		<link>https://mywebdevelopment.org/prestashop-php-ini-location/</link>
				<pubDate>Sat, 11 Oct 2014 01:16:21 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[PrestaShop]]></category>
		<category><![CDATA[pHp.ini]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=851</guid>
				<description><![CDATA[<p>PrestaShop pHp.ini Location Does not Go To Server&#8217;s Main pHp.ini location. The server is a VPS running multiple PS websites, sharing root php.ini file. I have one website for testing. And another website is my live PS store. Both websites were upgraded from v.1.4.4.1 over to v.1.6.0.9 successfully. On the testing site in PS BO,… <span class="read-more"><a href="https://mywebdevelopment.org/prestashop-php-ini-location/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/prestashop-php-ini-location/">PrestaShop pHp.ini Location Does Not Go To Server&#8217;s Main pHp.ini</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<p>PrestaShop pHp.ini Location Does not Go To Server&#8217;s Main pHp.ini location. The server is a VPS running multiple PS websites, sharing root php.ini file.</p>
<p>I have one website for testing.<br />
And another website is my live PS store.</p>
<p>Both websites were upgraded from v.1.4.4.1 over to v.1.6.0.9 successfully.</p>
<p>On the testing site in PS BO, Advanced Parameters &gt; Configuration Information: I configured Required parameters &amp; Optional parameters successfully.. “Optional parameters OK“</p>
<p>I did this by editing main pHp.ini file on the server (<span style="color: #800000;">/usr/local/lib/php.ini</span>).</p>
<p>Prior to upgrading the live PS store, I noticed that in live store BO, Advanced Parameters &gt; Configuration Information displayed Required &amp; Optional parameters that I had already configured in server’s main pHp.ini</p>
<p>To confirm configuration, I created phpinfo.php and both testing &amp; live sites display identical configurations.<br />
Configuration File (php.ini) Path <span style="color: #800000;">/usr/local/lib</span><br />
Loaded Configuration File<span style="color: #800000;"> /usr/local/lib/php.ini</span></p>
<p>Regardless, I upgraded live PS store in hopes that the upgrade process would resolve the issue.. It did not.</p>
<p>As a result, when I access PS live store running v.1.6.0.9 and attempt to access translations, I receive the following warning.</p>
<p><span style="color: #800000;">Warning! Your PHP configuration limits the maximum number of fields allowed in a form</span><br />
<span style="color: #800000;"> 1000 for max_input_vars.</span><br />
<span style="color: #800000;"> Please ask your hosting provider to increase this limit to 4043 at least, or you will have to edit the translation files.</span></p>
<p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-9218567626174444"
     data-ad-slot="1282062789"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></p>
<p>I posted some help on PS forum and I was directed with a free module (Display pHP Environment) that allowed me to see another pHp.ini file inside my <span style="color: #800000;">/admin/</span> folder. It was like looking for a needle in a hay stack, until I used the free Display pHp Environment module.</p>
<p><strong>Resources</strong></p>
<p>ps configuration not reflecting server&#8217;s main pHp.ini: <a title="ps configuration not reflecting server’s main php.ini" href="http://www.prestashop.com/forums/topic/367958-ps-configuration-not-reflecting-server%E2%80%99s-main-phpini/#entry1827905">http://www.prestashop.com/forums/topic/367958-ps-configuration-not-reflecting-server%E2%80%99s-main-phpini/#entry1827905</a><br />
Free Module, Display pHp Environmnet: <a title="[FREE MODULE] Display PHP Environment PHPINFO() Back Office" href="http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/">http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/</a></p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/prestashop-php-ini-location/">PrestaShop pHp.ini Location Does Not Go To Server&#8217;s Main pHp.ini</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>PrestaShop PayPal Module Login User Doesn&#8217;t Exist</title>
		<link>https://mywebdevelopment.org/prestashop-paypal-module-login-user-doesnt-exist/</link>
				<pubDate>Wed, 08 Oct 2014 17:20:22 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[CentOS]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=843</guid>
				<description><![CDATA[<p>Prestashop Paypal Module was a bit buggy in upgrading from v.1.4.4.1 to v.1.6.0.9 including some additional modules. PayPal v.3.7.2 &#38; PayPal USA, Canada. By default PayPal v.3.7.2. was enabled with correct configuration. However, upon testing the checkout process (edit /config/defines.ini.php to display errors) there where errors. PrestaShop PayPal Module; PayPal Login User Doesn&#8217;t Exist. [PrestaShopDatabaseException]… <span class="read-more"><a href="https://mywebdevelopment.org/prestashop-paypal-module-login-user-doesnt-exist/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/prestashop-paypal-module-login-user-doesnt-exist/">PrestaShop PayPal Module Login User Doesn&#8217;t Exist</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<p>Prestashop Paypal Module was a bit buggy in upgrading from v.1.4.4.1 to v.1.6.0.9 including some additional modules.</p>
<p>PayPal v.3.7.2 &amp; PayPal USA, Canada.</p>
<p>By default PayPal v.3.7.2. was enabled with correct configuration. However, upon testing the checkout process (edit /config/defines.ini.php to display errors) there where errors.</p>
<p>PrestaShop PayPal Module; PayPal Login User Doesn&#8217;t Exist.</p>
<h2>[PrestaShopDatabaseException]</h2>
<p><b>Table &#8216;domain_DBname.ps_paypal_login_user&#8217; doesn&#8217;t exist</b></p>
<p>Steps to resolve..</p>
<p><strong>Step 1.)</strong> Uninstall PayPal v.3.7.2 module.</p>
<p><strong>Step 2.)</strong> Install PayPal USA, Canada module.</p>
<p><strong>Step 3.)</strong> Configure PayPal USA, Canada module.. Module in section &#8216;PayPal API Settings&#8217;, enter your PayPal email you use to log with PayPal.</p>
<p><a href="https://mywebdevelopment.org/sites/wp-content/uploads/2014/10/prestashop_paypal-api-settings.jpg" rel="lightbox[843]"><img class="alignleft wp-image-845 size-medium" src="http://mywebdevelopment.org/sites/wp-dump/uploads/2014/10/prestashop_paypal-api-settings-300x191.jpg" alt="prestashop paypal api settings" width="300" height="191" srcset="https://mywebdevelopment.org/sites/wp-content/uploads/2014/10/prestashop_paypal-api-settings-300x191.jpg 300w, https://mywebdevelopment.org/sites/wp-content/uploads/2014/10/prestashop_paypal-api-settings.jpg 549w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>Test site..</p>
<p><strong>Success!</strong></p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>PayPal, USA, Canada problems: <a title="PayPal, USA, Canada problems" href="http://www.prestashop.com/forums/topic/295266-paypal-usacanada-problems/">http://www.prestashop.com/forums/topic/295266-paypal-usacanada-problems/</a></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/prestashop-paypal-module-login-user-doesnt-exist/">PrestaShop PayPal Module Login User Doesn&#8217;t Exist</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>Missing Files After PrestaShop Upgrade 1.5.6.2</title>
		<link>https://mywebdevelopment.org/missing-files-prestashop-upgrade-1-5-6-2/</link>
				<pubDate>Wed, 10 Sep 2014 00:22:59 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[PrestaShop]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=709</guid>
				<description><![CDATA[<p>Missing Files After PrestaShop Upgrade 1.5.6.2 from v.1.4.4.1 BO Advanced Parameters &#62; Configuration Information List of changed files Changed/missing files have been detected. Missing files (18) admin/autoupgrade/index.php override/classes/cache/index.php override/classes/controller/index.php override/classes/db/index.php override/classes/exception/index.php override/classes/helper/index.php override/classes/log/index.php override/classes/module/index.php override/classes/order/index.php override/classes/pdf/index.php override/classes/range/index.php override/classes/shop/index.php override/classes/stock/index.php override/classes/tax/index.php override/classes/webservice/index.php override/controllers/admin/index.php override/controllers/admin/templates/index.php override/controllers/front/index.php Steps to correct missing files from being detected.. Step 1.) Include… <span class="read-more"><a href="https://mywebdevelopment.org/missing-files-prestashop-upgrade-1-5-6-2/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/missing-files-prestashop-upgrade-1-5-6-2/">Missing Files After PrestaShop Upgrade 1.5.6.2</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<p>Missing Files After PrestaShop Upgrade 1.5.6.2 from v.1.4.4.1</p>
<p>BO Advanced Parameters &gt; Configuration Information</p>
<p>List of changed files<br />
Changed/missing files have been detected.<br />
Missing files (18)<br />
admin/autoupgrade/index.php<br />
override/classes/cache/index.php<br />
override/classes/controller/index.php<br />
override/classes/db/index.php<br />
override/classes/exception/index.php<br />
override/classes/helper/index.php<br />
override/classes/log/index.php<br />
override/classes/module/index.php<br />
override/classes/order/index.php<br />
override/classes/pdf/index.php<br />
override/classes/range/index.php<br />
override/classes/shop/index.php<br />
override/classes/stock/index.php<br />
override/classes/tax/index.php<br />
override/classes/webservice/index.php<br />
override/controllers/admin/index.php<br />
override/controllers/admin/templates/index.php<br />
override/controllers/front/index.php</p>
<p>Steps to correct missing files from being detected..</p>
<p><strong>Step 1.)</strong> Include a&nbsp;downloadable <a href="https://www.prestashop.com/forums/topic/288652-upgrading-to-prestashop-156-missing-files/">index.php</a> file provided from PrestaShop (PS) that was not included in upgrade, and place in each of the directories of missing files.</p>
<p><em>Results..</em></p>
<p><strong><span style="color: #800000;">Success</span></strong>, no missing files where detected!</p>
<p><!--adsense#article--></p>
<p>However, FYI.. I did this with default theme installed and not 3rd party. According to PS community forum the above solution 3rd party theme resulting in problems.</p>
<p><strong>Resources</strong></p>
<p>Upgradeing to PrestaShop 1.5.6 missing files:&nbsp;<a title="Upgrading PrestaShop 1.5.6. Missing Files" href="http://www.prestashop.com/forums/topic/288652-upgrading-to-prestashop-156-missing-files/">http://www.prestashop.com/forums/topic/288652-upgrading-to-prestashop-156-missing-files/</a></p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/missing-files-prestashop-upgrade-1-5-6-2/">Missing Files After PrestaShop Upgrade 1.5.6.2</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>PrestaShop Images Missing After Upgrade</title>
		<link>https://mywebdevelopment.org/prestashop-images-missing-after-upgrade/</link>
				<pubDate>Tue, 09 Sep 2014 18:38:31 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[PrestaShop]]></category>
		<category><![CDATA[settings.inc.php]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=169</guid>
				<description><![CDATA[<p>Upgrading PrestaShop v.1.4.4.2 over to v1.5+ or v1.6+ results in missing images for categories &#38; products. Steps taken to resolve PrestaShop images missing after upgrade. SOLVED I have performed the following steps to display some of PS missing product images. Step 1.) Confirm that your images do indeed exist on the server. Step 2.)  Edit the… <span class="read-more"><a href="https://mywebdevelopment.org/prestashop-images-missing-after-upgrade/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/prestashop-images-missing-after-upgrade/">PrestaShop Images Missing After Upgrade</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<p>Upgrading PrestaShop v.1.4.4.2 over to v1.5+ or v1.6+ results in missing images for categories &amp; products. Steps taken to resolve PrestaShop images missing after upgrade.</p>
<hr />
<p><span style="color: #993300;"><strong>SOLVED</strong></span></p>
<hr />
<p>I have performed the following steps to display some of PS missing product images.</p>
<p><strong>Step 1.)</strong> Confirm that your images do indeed exist on the server.</p>
<p><strong>Step 2.)</strong>  Edit the <span style="color: #800000;">/config/settings.inc.php</span> creation date to something early such as 2010-09-05</p>
<p><strong>Step 3.)</strong> BO preferences &gt; image = move images and regenerate thumbnails for all products.</p>
<p>Some of the missing products in my situation where contributed to PureFTPd LimitRecursion being set to 10000.. <a title="PrestaShop Product Images Missing After Migrating" href="http://mywebdevelopment.org/prestashop-product-images-missing/">How to edit Pure-FTPd.conf file</a>.</p>
<p><strong>NOTES:</strong></p>
<p>Images are stored in the <span style="color: #800000;">/img/</span> directory of your PS root installation.. Product images, are located in following sub-directories <span style="color: #800000;">/img/p/</span> &amp; Category images <span style="color: #800000;">/img/c/</span></p>
<p>Images uploaded will apply a number value for labels (<em>e.g.</em> 1.jpg) and re-size to values, such as;  1-home.jpg | 1-large.jpg | 1-medium.jpg | 1-small.jpg</p>
<p>PS v.1.4.4.1 uses image label as:<span style="color: #800000;"> /1030-1340-home/</span><br />
PS v.1.5+ uses image label as: <span style="color: #800000;">/1340-home_default/</span></p>
<p><strong>Resources</strong></p>
<p>Images disappear after regeneration: <a title="prestashop images disappear after regenerate thumbnails" href="http://www.prestashop.com/forums/topic/241159-solvedsome-images-disappeared-after-regenerate-thumbnails/">http://www.prestashop.com/forums/topic/241159-solvedsome-images-disappeared-after-regenerate-thumbnails/</a><br />
How to show product images after upgrade: <a title="How to show product images after upgrade" href="http://www.prestashop.com/forums/topic/272333-solved-how-to-dont-show-product-images-after-upgrade-to-155/">http://www.prestashop.com/forums/topic/272333-solved-how-to-dont-show-product-images-after-upgrade-to-155/</a></p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/prestashop-images-missing-after-upgrade/">PrestaShop Images Missing After Upgrade</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>PrestaShop Product Images Missing After Migrating</title>
		<link>https://mywebdevelopment.org/prestashop-product-images-missing/</link>
				<pubDate>Thu, 04 Sep 2014 16:56:13 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[PrestaShop]]></category>
		<category><![CDATA[LimitRecursion]]></category>
		<category><![CDATA[pure-ftpd]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=642</guid>
				<description><![CDATA[<p>In preparation for PrestaShop upgrade, I migrated a copy of my PrestaShop v.1.4.4.1 store onto a testing domain that resides on the same server.  Ensuring that all system requirements are met, there was an anomaly with a good majority of our PrestaShop product images missing from the migration. SOLVED It appears to be a default… <span class="read-more"><a href="https://mywebdevelopment.org/prestashop-product-images-missing/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/prestashop-product-images-missing/">PrestaShop Product Images Missing After Migrating</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<p>In preparation for PrestaShop upgrade, I migrated a copy of my PrestaShop v.1.4.4.1 store onto a testing domain that resides on the same server.  Ensuring that all system requirements are met, there was an anomaly with a good majority of our PrestaShop product images missing from the migration.</p>
<hr />
<p><span style="color: #993300;"><strong>SOLVED</strong></span></p>
<hr />
<p>It appears to be a default configuration for Pure-FTPd on the server.</p>
<p>By default, Pure-FTPd only displays 2,000 files; you must configure it to display more by increasing the LimitRecursion.</p>
<p><strong>How to edit pure-ftpd.conf file with CentOS</strong></p>
<p><strong>Step 1.)</strong> Open <span style="color: #993300;">/etc/pure-ftpd.conf</span><br />
<span style="color: #993300;">vi /etc/pure-ftpd.conf</span><br />
(type<em> <span style="color: #993300;">i</span></em> to insert text.. command line# <em><span style="color: #993300;">vi</span></em> to save/exit press esc and command# <em><span style="color: #993300;">:wq</span></em>)<br />
<span style="color: #993300;">:w</span> = save<br />
<span style="color: #993300;">:q</span> = quit<br />
<span style="color: #993300;">:q!</span> = force quit</p>
<p><strong>Step 2.)</strong> Adjust LimitRecursion<br />
<span style="text-decoration: underline;">Original</span>: LimitRecursion <span style="color: #993300;">10000 8</span><br />
<span style="text-decoration: underline;">Adjusted</span>: LimitRecursion <span style="color: #993300;">1000000 28</span><br />
<em>e.g.</em> you can increase LimitRecursion by adding two zeros for size and 28 for depth</p>
<p><strong>Step 3.)</strong> Restart PureFTPd<br />
<span style="color: #993300;">service pure-ftpd restart</span></p>
<p>Restart success!</p>
<p>Now, all product images are visible <img src="https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><strong>Resource</strong></p>
<p>Don&#8217;t show product images after upgrade to 1.5.5: <a title="Don't show product images after upgrade to 1.5.5" href="http://www.prestashop.com/forums/topic/272333-solved-how-to-dont-show-product-images-after-upgrade-to-155/">http://www.prestashop.com/forums/topic/272333-solved-how-to-dont-show-product-images-after-upgrade-to-155/</a><br />
How to increase file limits <a title="How to increase file limits" href="http://forums.cpanel.net/f5/pureftp-how-increase-file-limits-list-2000-entries-22879.html">http://forums.cpanel.net/f5/pureftp-how-increase-file-limits-list-2000-entries-22879.html</a><br />
How to cinfigure pure-FTPd <a title="How to configure Pure-FTPd" href="http://www.howtoforge.com/how-to-configure-pureftpd-to-accept-tls-sessions-on-centos-6.2">http://www.howtoforge.com/how-to-configure-pureftpd-to-accept-tls-sessions-on-centos-6.2</a></p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/prestashop-product-images-missing/">PrestaShop Product Images Missing After Migrating</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>1-Click Upgrade PrestaShop Auto Upgrade Module</title>
		<link>https://mywebdevelopment.org/prestashop-auto-upgrade-module-configuration/</link>
				<pubDate>Fri, 07 Mar 2014 07:08:07 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[cPanel]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[PrestaShop]]></category>
		<category><![CDATA[1-click upgrade module]]></category>
		<category><![CDATA[autoupgrade module]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=685</guid>
				<description><![CDATA[<p>Upgrade documentation for PrestaShop (PS) v.1.4.4.1 over to PS v.1.5.6.2 using Auto Upgrade Module, also known as the 1-Click Upgrade Module offered on addons.prestashop.com. Step 1.) Download and install the autoupgrade module onto your PS. Step 2.) Place your store under maintenance mode. Step 3.)&#160;Go to: Modules &#62; Administration; and configure 1-click Upgrade. Step 4.)… <span class="read-more"><a href="https://mywebdevelopment.org/prestashop-auto-upgrade-module-configuration/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/prestashop-auto-upgrade-module-configuration/">1-Click Upgrade PrestaShop Auto Upgrade Module</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<p>Upgrade documentation for PrestaShop (PS) v.1.4.4.1 over to PS v.1.5.6.2 using Auto Upgrade Module, also known as the 1-Click Upgrade Module offered on <a title="PrestaShop Auto Upgrade Module, 1-click upgrade from addons.prestashop" href="http://addons.prestashop.com/en/administration-tools-prestashop-modules/5496-1-click-upgrade-autoupgrade.html">addons.prestashop.com</a>.</p>
<p><strong>Step 1.)</strong> Download and install the autoupgrade module onto your PS.</p>
<p><strong>Step 2.)</strong> Place your store under maintenance mode.</p>
<p><strong>Step 3.)</strong>&nbsp;Go to: Modules &gt; Administration; and configure 1-click Upgrade.</p>
<p><strong>Step 4.)</strong> Backup your files &amp; Click on Upgrade!</p>
<p><em>Results..</em></p>
<p><span style="color: #000000;">Analyzing the situation &#8230;Shop deactivated. Now downloading (this can takes some times )&#8230;</span><br />
<span style="color: #800000;"> [Ajax / Server Error for action download] textStatus: &#8220;error &#8221; errorThrown:&#8221;Internal Server Error &#8221; jqXHR: &#8221; &#8220;</span></p>
<p>Steps to correct Ajax Error..</p>
<p><strong>Step 1.)</strong> Upload PS v.1.5.6.2 with FTP to:<span style="color: #800000;"> /admin/autoupgrade/latest/prestashop</span></p>
<p><strong>Step 2.)&nbsp;</strong>Within the configuration of autoupgrade module, select More options (Expert mode).</p>
<p><strong>Step 3.)</strong> Select the channel: Local directory and label your version.</p>
<p><strong>Step 4.)</strong> Save</p>
<p><em>Results..</em></p>
<p>Settings update successful.</p>
<p><strong>Step 5.)</strong> Click Upgrade PrestaShop Now!</p>
<p><em>Results..</em></p>
<p>Upgrade complete, with a few issues.. Apparently, these issues are common and can be resolved.</p>
<p>A to do list will generate after upgrade is complete, instructing on how to resolve common issues that may occur.</p>
<p>Out of the 5 to do list items, I experienced product images missing:</p>
<ol>
<li>Cookies have changed, you will need to log in again once you refreshed the page</li>
<li><span style="line-height: 1.5em;">Javascript and CSS files have changed, please clear your browser cache with CTRL-F5</span></li>
<li><span style="line-height: 1.5em;">Please check that your front office theme is&nbsp;</span>functional<span style="line-height: 1.5em;">&nbsp;(try to create an account, place an order&#8230;)</span></li>
<li>Product images does not appear in the front office? Try regenerating the thumbnails in Preferences &gt; Images</li>
<li>Do not forget to reactivate your shop once you have checked everything!</li>
</ol>
<p><!--adsense#article--></p>
<p>Steps to correct missing product images..</p>
<p><strong style="line-height: 1.5em;">Step 1.)</strong><span style="line-height: 1.5em;">&nbsp;BO: Preferences &gt; Image &#8211; Product Images: until you move all images to new file system, use Legacy Image File System; set this to &#8216;yes&#8217; and save.</span></p>
<p><em>Results..</em></p>
<p>Duplicate images were found when moving the product images. This is likely caused by unused demonstration images. Please make sure that the folder<span style="color: #800000;">/home/domain/public_html/img/p/duplicates/</span>only contains demonstration images, and then delete it.</p>
<p><strong>Step 1.)</strong> Delete folder&nbsp;<span style="color: #800000;">/home/domain/public_html/img/p/duplicates/</span></p>
<p><strong>Step 2.)</strong> Preferences &gt; Image &#8211; Regenerate thumbnails&nbsp;= select products, format: all &amp; DON&#8217;T erase previous image.</p>
<p><em>Results..</em></p>
<p>217 errors<br />
Original image is missing or empty (<span style="color: #800000;">/home/domain/public_html/img/p/1/7/0/170.jpg</span>) for product ID 96</p>
<p>Steps to correct error message &#8216;original image is missing or empty&#8217;.</p>
<p><strong>Step 1.)</strong> First, confirm images exist.</p>
<p><em>Results..</em></p>
<p><del></del>There are missing product images..</p>
<p>v.1.4.4.1 uses The Legacy File System where all product images are within <span style="color: #800000;">/img/p/</span></p>
<p>v.1.5+ uses&nbsp;the new File System using sub directories that match the image ID <span style="color: #800000;">/img/p/9/6/96-197.jpg</span>&nbsp;.</p>
<p><em style="line-height: 1.5em;">e.g.&nbsp;</em><br />
Legacy File System = <span style="color: #800000;">/img/p/96-197.jpg | <span style="color: #000000;"><span style="color: #800000;">96-</span> = image ID</span></span><br />
New File System = <span style="color: #800000;">/img/p/9/6/197.jpg | <span style="color: #000000;">folders</span> /9/6/<span style="color: #000000;"> = image ID</span></span></p>
<p><strong>Step 1.)</strong> BO: Preferences &gt; Image &#8211; Move Images; click on button &#8216;move images&#8217;.</p>
<p>Images moved successful</p>
<p><strong>Step 2.)</strong>&nbsp;BO: Preferences &gt; Image &#8211; Use the Legacy Image File System = No</p>
<p><strong>Step 3.)</strong> BO: Preferences &gt; Image&nbsp;&#8211;&nbsp;Regenerate thumbnails&nbsp;= select products, format: all &amp; <span style="text-decoration: underline;">erase</span> previous image.</p>
<p><em>Results..</em></p>
<p>401 errors<br />
Original image is missing or empty (<span style="color: #800000;">/home/domain/public_html/img/p/1/7/0/170.jpg)</span> for product ID 96</p>
<p><strong style="line-height: 1.5em;">Step 1.)</strong><span style="line-height: 1.5em;"> Investigate product ID 96</span></p>
<p><em>Results..</em></p>
<p>The product ID is missing from image path. I investigated both Live PrestaShop Store (LPS) and Testing Domain (TD); product ID is missing on TD.<br />
<em>e.g.</em>&nbsp;TD missing image = <span style="color: #800000;">/domain/170-thickbox_default/170.jpg</span> | LPS image displayed = <span style="color: #800000;">/domain/96-170-thickbox/170.jpg</span></p>
<p>This error occurred once before, during a copy of my LPS that I migrated to a TD; both running PSv.1.4.4.1.</p>
<p>And it was a permissions issue, the solution was to chmod <span style="color: #800000;">/img/</span>&nbsp;including all sub directories to 755; another post was dedicated to this issue.</p>
<p><strong>Step 1.)</strong>&nbsp;Set file permissions chmod to 755 to all directories &amp; sub directories.</p>
<p><strong>Step 2.)</strong>&nbsp;BO: Preferences &gt; Image &#8211;&nbsp;Regenerate thumbnails&nbsp;= select products, format: all &amp; DON&#8217;T erase previous image.</p>
<p><em>Results..</em></p>
<p>217 errors<br />
Original image is missing or empty (<span style="color: #800000;">/home/domain/public_html/img/p/1/7/0/170.jpg</span>) for product ID 96</p>
<p><strong>Step 1.)</strong>&nbsp;In the BO, clear the cache: Advanced Parameters &gt; Smarty = Clear Smarty cache &amp; Autoload cache</p>
<p>Update successful</p>
<p><em>Results..</em></p>
<p>The product images are still missing.</p>
<p>Investigate other options from PrestaShop forum..</p>
<p><span style="color: #888888;">&#8211;REVERTED&#8211;&nbsp;</span></p>
<p><span style="color: #888888;"><strong>Step 1.)</strong>&nbsp;Set creation date earlier than 2013-03-26&#8242;.&nbsp;Edit the settings file /config/settings.inc.php</span><br />
<span style="color: #888888;"> <em>e.g.</em> define(&#8216;_PS_CREATION_DATE_&#8217;, &#8216;2011-09-11&#8217;);</span></p>
<p><span style="color: #888888;"><strong><span style="text-decoration: underline;">REVERTED:</span></strong> /config/settings.inc.php, due to _PS_CREATION_DATE_ error:&nbsp;Notice: Constant _PS_CREATION_DATE_ already defined in /config/settings.inc.php on line 20</span></p>
<p><span style="color: #888888;">&#8211;END OF REVERTED&#8211;</span></p>
<p><strong>Step 1.)</strong> Edit <span style="color: #800000;">/controllers/admin/AdminImagesController.php</span><br />
56. <span style="color: #800000;">$this-&gt;display_move = true;</span></p>
<p><strong>Step 3.)</strong> BO: Preferences &gt; Image &#8211;&nbsp;Move Images; click on button &#8216;move images&#8217;.</p>
<p><strong>Step 4.)</strong> BO: Preferences &gt; Image &#8211;&nbsp;Regenerate thumbnails&nbsp;= select products, format: all &amp; <span style="text-decoration: underline;">DON&#8217;T erase</span> previous image.</p>
<p>Images moved successful</p>
<p><em>Results..</em></p>
<p>217 errors<br />
Original image is missing or empty (<span style="color: #800000;">/home/domain/public_html/img/p/1/7/0/170.jpg</span>)&nbsp;for product ID 96</p>
<p>Steps to correct errors through process of elimination using different regenerate options.</p>
<p><strong>Step 1.)</strong>&nbsp;BO: Preferences &gt; Image &#8211;&nbsp;Regenerate thumbnails = select products, format: all &amp; <span style="text-decoration: underline;">erase</span> previous image.</p>
<p>I&#8217;ve been hesitant on selecting the format option to &#8216;erase previous image&#8217;, however numerous of attempts have been performed without deleting. So far, this option actually seems to be doing something.. After I regenerated images, the web browser indicates it&#8217;s processing the action.</p>
<p>It timed out <img src="https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Let&#8217;s try another format..</p>
<p><strong>Step 2.)</strong>&nbsp;BO: Preferences &gt; Image &#8211;&nbsp;Regenerate thumbnails = select products, format: <span style="text-decoration: underline;">home &amp;&nbsp;erase</span>&nbsp;previous image.</p>
<p><em>Results..</em></p>
<p>401 errors<br />
Original image is missing or empty (<span style="color: #800000;">/home/domain/public_html/img/p/1/7/0/170.jpg</span>) for product ID 96</p>
<p>Let&#8217;s try another format..</p>
<p><strong>Step 3.)</strong>&nbsp;BO: Preferences &gt; Image &#8211;&nbsp;Regenerate thumbnails = select products, format:&nbsp;<span style="text-decoration: underline;">large &amp;&nbsp;erase</span>&nbsp;previous image.</p>
<p><em>Results..</em></p>
<p>401 errors<br />
Original image is missing or empty (<span style="color: #800000;">/home/domain/public_html/img/p/1/7/0/170.jpg</span>) for product ID 96</p>
<p>O.k., that is time consuming.. I need to investigate other options.</p>
<p><strong>Step 1.)</strong>&nbsp;First, investigate images by disabling Friendly URL.<br />
BO: preferences &gt; SEO &amp; URLs &#8211; Set up URLs = disable both Friendly URL &amp; Accented URL.</p>
<p>product image: <span style="color: #800000;">\public_html\img\p\1\3\4\0\1340-home.jpg</span><br />
product image: <span style="color: #800000;">\public_html\img\p\1\3\4\0\1340-home_default.jpg</span></p>
<p>If I remove <span style="color: #800000;">_default</span> from the image label <em>e.g.</em> <span style="color: #800000;">1340-home_default.jpg</span> = <span style="color: #800000;">1340-home.jpg</span><br />
Then product image is displayed!</p>
<p><span style="color: #808080;">&#8211;REVERT&#8211;</span></p>
<p><span style="color: #808080;">This is one method I tried and it did not work, so I reverted back.</span></p>
<p><span style="color: #888888;"><strong>Step 1.)</strong>&nbsp;Go to default 1.5.6.2 theme, edit product.tpl and remove _default from image tags:</span><br />
<span style="color: #888888;"> 186 large_default</span><br />
<span style="color: #888888;"> 191 -default-large_default</span><br />
<span style="color: #888888;"> 211 thickbox_default</span><br />
<span style="color: #888888;"> 212 medium_default</span><br />
<span style="color: #888888;"> 551 medium_default</span></p>
<p><span style="color: #888888;"><strong>Step 2.)</strong> Clear Smarty cache &amp; Autoload cache</span></p>
<p><span style="color: #888888;"><em>Results..</em></span></p>
<p><span style="color: #888888;">Did not work.. <img src="https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /></span></p>
<p><span style="color: #888888;"><strong>Step 3.)</strong> Revert product.tpl back to original state.</span></p>
<p><span style="color: #888888;">&#8211;END OF REVERT&#8211;</span></p>
<p>A post on PS forum mentioned a bug similar to mine, but was opposite in how the image label was represented. &nbsp;There issue was that by default image preferences were set:&nbsp;<span style="color: #800000;">small_default, medium_default, large_default, thickbox_default, category_default,&nbsp;etc.</span> and required the removal of <span style="color: #800000;">_default.&nbsp;</span>Mine is not the case.. I require&nbsp;<span style="color: #800000;">_default</span></p>
<p>Next, under BO: Preferences &gt; Image</p>
<p>I&#8217;ll edit the image names and add the extension&nbsp;<span style="color: #800000;">_default</span>.</p>
<p><strong>Step 1.)</strong>&nbsp;BO: Preferences &gt; Image = renamed all images with <span style="color: #800000;">_default</span> <em>e.g.</em><span style="color: #800000;"> small_default, medium_default, large_default, thickbox_default, catgeory_default, home_default large_scene_default, thumb_scene_default</span></p>
<p><strong>Step 2.)</strong>&nbsp;BO: Preferences &gt; Image = Regenerate thumbnails.. This time, I&#8217;m going to select one at a time.</p>
<p><em>e.g.</em> Select an image: products, Select a format, home_default &amp; <span style="text-decoration: underline;">erase</span> previous images.</p>
<p><em>Results..</em></p>
<p>Regenerated thumbnails and browser timed out after 30 or so minutes, however a good majority of product images now appeared!</p>
<p>Now, I need to replace missing images and figure out why it timed out.</p>
<p><strong>Step 1.)</strong>&nbsp;Upload the backup folder&nbsp;<span style="color: #800000;">/img/p/</span></p>
<p>Thousands of images, nearly 400MB re-uploaded.</p>
<p><strong>Step 2.)</strong>&nbsp;BO: Preferences &gt; Image = Regenerate thumbnails.. I&#8217;m going to select one at a time.</p>
<p><em>e.g.</em>&nbsp;Select an image: products, Select a format, home_default &amp; Erase previous images.</p>
<p><em>Results..</em></p>
<p>401 errors<br />
Original image is missing or empty (<span style="color: #800000;">/home/domain/public_html/img/p/1/7/0/170.jpg</span>) for product ID 96</p>
<p><strong>Step 1.)</strong>&nbsp;BO: Preferences &gt; Image = Regenerate thumbnails &#8211; select image: product, select format: all&nbsp;&amp; <span style="text-decoration: underline;">erase</span> previous images.</p>
<p><em>Results..</em></p>
<p><strong><span style="color: #993300;">All product images archived &amp; displayed!</span></strong> However, image categories are still missing.</p>
<p><strong>Step 1.)</strong> BO: Advanced Parameters &gt; Performance = Clear Smarty cache &amp; Autoload cache.</p>
<p><strong>Step 2.)</strong>&nbsp;BO: Preferences &gt; Image = Regenerate thumbnails &#8211; select image: categories, select format: all&nbsp;&amp; <span style="text-decoration: underline;">erase</span> previous images.</p>
<p><em>Results..</em></p>
<p>Browser indicated that PS was processing action, then delivered a blank page <img src="https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
<span style="color: #800000;">index.php?controller=AdminImages&amp;token</span></p>
<p><strong>&nbsp;Step 1.)</strong> Confirm all category images reside <span style="color: #800000;">/img/c/</span></p>
<p>Not all category images existed..</p>
<p><strong>Step 2.)</strong> Upload category images from backup <span style="color: #800000;">/img/c/</span></p>
<p><strong>Step 3.)</strong>&nbsp;BO: Preferences &gt; Image = Regenerate thumbnails &#8211; select image: categories, select format: all&nbsp;&amp;&nbsp;<span style="text-decoration: underline;">erase</span>&nbsp;previous images.</p>
<p><em>Results..</em></p>
<p>Did not work, received a blank page after 20 seconds <img src="https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><strong>Step 1.)</strong> Enable Troubleshooting by editing <span style="color: #800000;">/config/defines.inc.php</span></p>
<p>Line 28<br />
Find: <span style="color: #800000;">define(&#8216;_PS_MODE_DEV_&#8217;, false);</span><br />
Replace with: <span style="color: #800000;">define(&#8216;_PS_MODE_DEV_&#8217;, true);</span></p>
<p><strong>Step 2.)</strong> BO: Advanced Parameters &gt; Performance &#8211; Clear Smarty cache &amp; Autoload cache; received error.</p>
<p><span style="color: #993300;">&#8211;ERROR&#8211;</span></p>
<p><span style="color: #993300;">Notice: Constant _PS_CREATION_DATE_ already defined in /config/settings.inc.php on line 20</span><br />
<span style="color: #993300;"> Warning: Cannot modify header information &#8211; headers already sent by (output started at /config/settings.inc.php:20) in /classes/Tools.php on line 141</span></p>
<p><span style="color: #993300;">&#8211;END OF ERROR&#8211;</span></p>
<p>Steps to resolve error..</p>
<p><strong>Step 1.)</strong> Open <span style="color: #800000;">/config/settings.inc.php</span> and remove line 20.</p>
<p><strong>Step 2.)</strong>&nbsp;BO: Advanced Parameters &gt; Performance &#8211; Clear Smarty cache &amp; Autoload cache.</p>
<p><em>Results..</em></p>
<p><strong><span style="color: #993300;">SOLVED: Clear Smarty cache &amp; Autoload cache works!</span></strong></p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>Now, time to regenerate thumbnails..</p>
<p><strong>Step 1.)</strong>&nbsp;BO: Preferences &gt; Image = Regenerate thumbnails &#8211; select image: categories, select format: all&nbsp;&amp;&nbsp;<span style="text-decoration: underline;">erase</span>&nbsp;previous images.</p>
<p><em>Results..</em></p>
<p><b>Fatal error</b>: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9600 bytes) in&nbsp;<b>/classes/ImageManager.php</b>&nbsp;on line&nbsp;<b>365</b></p>
<p>Steps on how to increase the memory on your server from timing out. There are a couple of methods in achieving this.</p>
<p><strong>Step 1.)</strong>&nbsp;Using cPanel, select account and edit its php.ini file.<br />
Or you can log-in with SSH and root, edit the php.ini located in <span style="color: #800000;">/usr/local/lib/php.ini</span></p>
<p><strong>Step 2.)</strong>&nbsp;I adjusted the php.ini file residing on testing domain&#8217;s account, following cPanels instructions:&nbsp;<a title="increase php memory limit" href="http://forums.cpanel.net/f34/php-memory-limit-63777.html">http://forums.cpanel.net/f34/php-memory-limit-63777.html</a></p>
<p>Default settings:</p>
<p>cPanel PHP max execution time &#8211;&gt; 90 seconds<br />
cPanel PHP max POST size &#8211;&gt; 55 MB<br />
cPanel PHP max upload size &#8211;&gt; 50 MB</p>
<p>Desired settings:</p>
<p>cPanel PHP max execution time &#8211;&gt; 360 seconds<br />
cPanel PHP max POST size &#8211;&gt; 500 MB<br />
cPanel PHP max upload size &#8211;&gt; 250 MB</p>
<p><strong style="line-height: 1.5em;">Step 3.)</strong><span style="line-height: 1.5em;"> Save &amp; Restart Apache.</span></p>
<p><em>Results..</em></p>
<p><b>Fatal error</b>: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9600 bytes) in&nbsp;<b>/classes/ImageManager.php</b>&nbsp;on line&nbsp;<b>365</b></p>
<p>Apparently, the php.ini file that I restored to use for that particular account did not take effect.</p>
<p>Oh well, I&#8217;ll just edit the server&#8217;s main php.ini file..</p>
<p><strong>Step 1.)</strong>&nbsp;Edit main php.ini file by&nbsp;logging into your cPanel&#8217;s WHM and go to: PHP Configuration, adjust the following.<br />
Or you can log-in with SSH and root, edit the php.ini located in&nbsp;<span style="color: #993300;">/usr/local/lib/php.ini</span></p>
<p>memory_limit was 32M | changed to -1<br />
upload_max_filesize was 2M | changed to 500M<br />
max_execution_time was 30 | changed to 360<br />
max_input_time was 60 | changed to 360</p>
<p><strong>Step 3.)</strong>&nbsp;Save &amp; Restart Apache.</p>
<p><em>Results..</em></p>
<p><strong><img src="https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <img src="https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> SUCCESS !!! <img src="https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <img src="https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></strong></p>
<p>I&#8217;m no longer receiving blank pages when I regenerate images, and now all of them are displayed in both BO and FO.</p>
<p>Next, revert any edits made to file(s) during testing that are no longer required.</p>
<p><strong>Revert 1.)</strong>&nbsp;Edit&nbsp;<span style="color: #800000;">/controllers/admin/AdminImagesController.php;&nbsp;<span style="color: #000000;">change back to false.</span></span><br />
56.&nbsp;<span style="color: #800000;">$this-&gt;display_move = false;</span></p>
<p><strong>Revert 2.)</strong>&nbsp;Default PSv.1.5.6.2 theme, edit <span style="color: #800000;">product.tpl</span> and remove <span style="color: #800000;">_default</span> from image tags. This has been REVERTED back to original state.</p>
<p><strong>Revert 3.)</strong>&nbsp;<span style="color: #800000;">/config/settings.inc.php</span>, remove _PS_CREATION_DATE_:&nbsp;<span style="color: #800000;">define(&#8216;_PS_CREATION_DATE_&#8217;, &#8216;2011-09-11&#8217;);</span><br />
Due to error.. Notice: Constant _PS_CREATION_DATE_ already defined in<span style="color: #800000;"> /config/settings.inc.php</span> on line 20</p>
<p><span style="text-decoration: underline;">NOTES:</span> Apparently, when images are missing from <span style="color: #800000;">/img/p/</span> folder, and you attempt to regenerate thumbnails an improper file system takes place.</p>
<p><em>e.g.&nbsp;</em><br />
proper File System =&nbsp;<span style="color: #800000;">/img/p/9/6/197.jpg</span> |&nbsp;folders&nbsp;<span style="color: #800000;">/9/6/</span>&nbsp;= image ID<br />
improper File System =&nbsp;<span style="color: #800000;">/img/p/1/9/7/197.jpg</span> | image ID missing</p>
<p><span style="text-decoration: underline;">BEWARE:</span> Before upgrading to PSv.1.5.6.2, all product images using Legacy File System&nbsp;<span style="color: #800000;">/img/p/</span>&nbsp;existed and store displayed correctly with the migrated data from PSv.1.4.4.1 At some point during the upgrade process, PS deleted a good majority of images.&nbsp;As long as current backups are accessible, then there is little to worry about.</p>
<p><strong>Resources</strong></p>
<p>Can&#8217;t auto upgrade any version, same error every time:&nbsp;<a title="Can't auto upgrade any version, same error every time" href="http://www.prestashop.com/forums/topic/192406-cant-auto-upgrade-any-version-same-error-every-time/">http://www.prestashop.com/forums/topic/192406-cant-auto-upgrade-any-version-same-error-every-time/</a><br />
Product Images Missing: <a title="PrestaShop Product Images Missing" href="http://www.prestashop.com/forums/topic/272842-solved-product-image-missing/">http://www.prestashop.com/forums/topic/272842-solved-product-image-missing/</a><br />
Product Images Missing after upgrade: <a title="PrestaShop Product Images Missing after upgrade" href="http://www.prestashop.com/forums/topic/272333-solved-how-to-dont-show-product-images-after-upgrade-to-155/">http://www.prestashop.com/forums/topic/272333-solved-how-to-dont-show-product-images-after-upgrade-to-155/</a><br />
Troubleshooting:&nbsp;<a title="Troubleshooting errors on PrestaShop" href="http://doc.prestashop.com/display/PS15/Troubleshooting">http://doc.prestashop.com/display/PS15/Troubleshooting</a></p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/prestashop-auto-upgrade-module-configuration/">1-Click Upgrade PrestaShop Auto Upgrade Module</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>Using WAMP to test site, localhost redirects to live site</title>
		<link>https://mywebdevelopment.org/using-wamp-test-site-localhost-redirects-live-site/</link>
				<pubDate>Thu, 30 Jan 2014 00:25:20 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[PrestaShop]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[WAMP]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=631</guid>
				<description><![CDATA[<p>Using WAMP to test site, localhost redirects to live site when I migrated it using phpMyAdmin onto localhost WAMP server. Migration was successful, allowing access into PrestaShop Back Office.   However, in attempts to access Front Office, I would get redirected to the live site. To resolve this redirect issue, I logged into the BO and adjust… <span class="read-more"><a href="https://mywebdevelopment.org/using-wamp-test-site-localhost-redirects-live-site/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/using-wamp-test-site-localhost-redirects-live-site/">Using WAMP to test site, localhost redirects to live site</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<p><span style="line-height: 1.5em;">Using WAMP to test site, localhost redirects to live site when I migrated it using phpMyAdmin onto localhost WAMP server. </span></p>
<p><span style="line-height: 1.5em;">Migration was successful, allowing access into PrestaShop Back Office.  </span></p>
<p><span style="line-height: 1.5em;">However, in attempts to access Front Office, I would get redirected to the live site. </span></p>
<p><span style="line-height: 1.5em;">To resolve this redirect issue,</span><span style="line-height: 1.5em;"> I logged into the BO and adjust the following.</span></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<strong>preferences &gt; SEO &amp; URLs</strong></p>
<p><strong>PS directory:</strong> <span style="color: #800000;">/MyProject/</span></p>
<p><strong>Shop domain name:</strong> <span style="color: #800000;">localhost</span><br />
<strong>Shop domain name for SSL:</strong> <span style="color: #800000;">localhost</span></p>
<p><strong>save</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>If you are receiving <span style="text-decoration: underline;">&#8220;Page not found&#8221; or <span style="color: #800000; text-decoration: underline;">/MyProject/en/</span> is blank</span>, then a couple of things need to be done.</p>
<p><strong>Step 1.)</strong><br />
Generate a new .htaccess file in BO, or copy/paste your existing one into root of your PrestaShop installation.</p>
<p><strong>Step 2.)</strong><br />
Enable the rewrite_module for Apache on your WAMP Server, and restart Apache: <span style="color: #800000;">Apache &gt; Apache Modules &gt; rewrite_module</span></p>
<p><strong>Resource</strong></p>
<p>localhost keeps being redirected: <a title="localhost keeps being redirected" href="http://www.prestashop.com/forums/topic/211778-localhost-keeps-being-redirected/">http://www.prestashop.com/forums/topic/211778-localhost-keeps-being-redirected/</a><br />
&#8220;Page not found&#8221; with PrestaShop 1.4.8.2 on WAMP: <a title="&quot;Page not found&quot; with PrestaShop 1.4.8.2 on WAMP" href="http://www.prestashop.com/forums/topic/175273-page-not-found-with-prestashop-1482-on-wamp/">http://www.prestashop.com/forums/topic/175273-page-not-found-with-prestashop-1482-on-wamp/</a><br />
PrestaShop Blank Page: <a title="Blank Page" href="http://www.prestashop.com/forums/topic/10115-big-problem-blank-page/">http://www.prestashop.com/forums/topic/10115-big-problem-blank-page/</a></p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/using-wamp-test-site-localhost-redirects-live-site/">Using WAMP to test site, localhost redirects to live site</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>password change phpMyAdmin for user in PrestaShop</title>
		<link>https://mywebdevelopment.org/password-change-phpmyadmin-for-user-in-prestashop/</link>
				<pubDate>Wed, 29 Jan 2014 23:58:28 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[PrestaShop]]></category>
		<category><![CDATA[password change phpmyadmin]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=628</guid>
				<description><![CDATA[<p>Need to change password for PrestaShop user with phpMyAdmin? After a successful data migration onto WAMP, in attempts to log into the Back Office (BO) resulted with error &#8217;employee does not exist or incorrect password&#8217;.  To resolve this error, follow two simple steps for password change phpMyAdmin. Step 1.) You will need to copy your _COOKIE_KEY_ located… <span class="read-more"><a href="https://mywebdevelopment.org/password-change-phpmyadmin-for-user-in-prestashop/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/password-change-phpmyadmin-for-user-in-prestashop/">password change phpMyAdmin for user in PrestaShop</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<p>Need to change password for PrestaShop user with phpMyAdmin?</p>
<p>After a successful data migration onto WAMP, in attempts to log into the Back Office (BO) resulted with error &#8217;employee does not exist or incorrect password&#8217;.  To resolve this error, follow two simple steps for password change phpMyAdmin.</p>
<p><strong>Step 1.)</strong> You will need to copy your _COOKIE_KEY_ located in /config/settings.inc.php<br />
This will be a random alphanumeric string of characters (e.g. Pi32n2bx6koC31bq7mndpc32ihfYcZ1bKMCogBIq1LExF5nGcOdWm3gc)</p>
<p><strong>Step 2.)</strong> Log into phpMyAdmin and select SQL and enter the below syntax and click Go.<br />
Note: DO NOT<span style="text-decoration: underline;"> enter any spaces</span> between your _COOKIE_KEY_ and PASSWORD</p>
<p><span style="color: #800000;">UPDATE `ps_employee` SET `passwd` = MD5(&#8216;Pi32n2bx6koC31bq7mndpc32ihfYcZ1bKMCogBIq1LExF5nGcOdWm3gcNEWPASSWORD&#8217;) WHERE `ps_employee`.`id_employee` = 1;</span></p>
<p>There is no space between the _COOKIE_KEY_ and your password; they run together..</p>
<p><strong>Resources:</strong></p>
<p>Screen Shot Instructions on how to restet PrestaShop employee password via phpMyAdmin: <a title="Screen Shot Instructions on how to restet PrestaShop employee password" href="http://www.templatemonster.com/help/how-to-reset-prestashop-admin-details.html">http://www.templatemonster.com/help/how-to-reset-prestashop-admin-details.html</a></p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/password-change-phpmyadmin-for-user-in-prestashop/">password change phpMyAdmin for user in PrestaShop</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>PrestaShop Taxes Not Working In Product Page</title>
		<link>https://mywebdevelopment.org/prestashop-taxes-not-working-in-product-page/</link>
				<pubDate>Tue, 22 Oct 2013 22:07:35 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[PrestaShop]]></category>
		<category><![CDATA[product.tpl]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=605</guid>
				<description><![CDATA[<p>PrestaShop v.1.4+  PrestaShop taxes not working in the product page, when user enters &#8216;Pre-tax retail price&#8217; and selects the &#8216;Tax rule&#8217;, nothing changes in the Back Office or Front Office of PrestaShop. Step 1.) Confirm that you have enabled the feature to display tax in the Back Office as &#8216;tax included&#8217;: BO &#62; Customers &#62;… <span class="read-more"><a href="https://mywebdevelopment.org/prestashop-taxes-not-working-in-product-page/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/prestashop-taxes-not-working-in-product-page/">PrestaShop Taxes Not Working In Product Page</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<p>PrestaShop v.1.4+  <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>PrestaShop taxes not working in the product page, when user enters &#8216;Pre-tax retail price&#8217; and selects the &#8216;Tax rule&#8217;, nothing changes in the Back Office or Front Office of PrestaShop.</p>
<p>Step 1.) Confirm that you have enabled the feature to display tax in the Back Office as &#8216;tax included&#8217;: BO &gt; Customers &gt; Groups</p>
<p>If that did not resolve your taxes from displaying, then go on to step two.</p>
<p>Step 2.) Go to theme and edit product.tpl</p>
<p><strong>Line 256</strong></p>
<p>{if $tax_enabled &amp;&amp; ((isset($display_tax_label) &amp;&amp; $display_tax_label == 1) OR !isset($display_tax_label))}<br />
{if $priceDisplay == 1}{l s=&#8217;tax excl.&#8217;}{else}{l s=&#8217;tax incl.&#8217;}{/if}<br />
{/if}</p>
<p><em><span style="color: #800000;">Replace with..</span></em></p>
<p><span style="color: #800000;">{if $tax_enabled &amp;&amp; ((isset($display_tax_label) &amp;&amp; $display_tax_label == 1) OR !isset($display_tax_label))}</span><br />
<span style="color: #800000;"> {if $priceDisplay == 1}{l s=&#8217;tax excl.&#8217;}{else}{l s=&#8217;tax incl.&#8217;}{/if}</span><br />
<span style="color: #800000;"> {/if}</span></p>
<p><strong>Line 275</strong></p>
<p>{if $tax_enabled &amp;&amp; $display_tax_label == 1}<br />
{if $priceDisplay == 1}{l s=&#8217;tax excl.&#8217;}{else}{l s=&#8217;tax incl.&#8217;}{/if}<br />
{/if}</p>
<p><em><span style="color: #800000;">Replace with..</span></em></p>
<p><span style="color: #800000;">{if $tax_enabled &amp;&amp; $display_tax_label == 1}</span><br />
<span style="color: #800000;"> {if $priceDisplay == 1}{l s=&#8217;tax excl.&#8217;}{else}{l s=&#8217;tax incl.&#8217;}{/if}</span><br />
<span style="color: #800000;"> {/if}</span></p>
<p>Don&#8217;t forget to recompile your smarty template after editing any .tpl file in the Back Office.<br />
BO &gt; Preferences &gt; Performance &gt; Smarty &gt; Force compile</p>
<hr />
<p><strong>Resources</strong></p>
<p>Display (tax included) with the price PrestaShop:<a title="Display (tax included) with pricing in PrestaShop" href=" http://www.prestashop.com/forums/topic/243182-display-tax-included-with-the-price-prestashop-154-solved/"> http://www.prestashop.com/forums/topic/243182-display-tax-included-with-the-price-prestashop-154-solved/</a><br />
Price display and tax included: <a title="Price Display &amp; Tax Included" href="http://www.prestashop.com/forums/topic/246841-solved-pricedisplay-and-tax-included/">http://www.prestashop.com/forums/topic/246841-solved-pricedisplay-and-tax-included/</a></p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/prestashop-taxes-not-working-in-product-page/">PrestaShop Taxes Not Working In Product Page</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
	</channel>
</rss>
