<?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>cPanel &#8211; My Web Development</title>
	<atom:link href="https://mywebdevelopment.org/tag/cpanel/feed/" rel="self" type="application/rss+xml" />
	<link>https://mywebdevelopment.org</link>
	<description>Always learning something new..</description>
	<lastBuildDate>Wed, 06 Feb 2019 19:10:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<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><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>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>How Much Does a Website Cost?</title>
		<link>https://mywebdevelopment.org/much-website-cost/</link>
				<pubDate>Fri, 27 Sep 2013 03:07:50 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[Authors Column]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[linode]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=557</guid>
				<description><![CDATA[<p>Are you familiar with what a website cost? If I only had a dollar for every time that question has been posed to me, I could afford an iBrain! First off, there is no standard price in what a website cost. This really depends on budget and comfort level you have. Websites can range from FREE,… <span class="read-more"><a href="https://mywebdevelopment.org/much-website-cost/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/much-website-cost/">How Much Does a Website Cost?</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<h2>Are you familiar with what a website cost?<br />
<img class="alignleft wp-image-489" title="webmaster thx2012" src="http://mywebdevelopment.org/sites/wp-dump/uploads/2013/08/Elias.jpg" alt="what a website cost" width="58" height="58" srcset="https://mywebdevelopment.org/sites/wp-content/uploads/2013/08/Elias.jpg 96w, https://mywebdevelopment.org/sites/wp-content/uploads/2013/08/Elias-24x24.jpg 24w, https://mywebdevelopment.org/sites/wp-content/uploads/2013/08/Elias-36x36.jpg 36w, https://mywebdevelopment.org/sites/wp-content/uploads/2013/08/Elias-48x48.jpg 48w, https://mywebdevelopment.org/sites/wp-content/uploads/2013/08/Elias-64x64.jpg 64w" sizes="(max-width: 58px) 100vw, 58px" /></h2>
<p>If I only had a dollar for every time that question has been posed to me, I could afford an iBrain!</p>
<p>First off, there is no standard price in what a website cost. This really depends on budget and comfort level you have. Websites can range from FREE, to thousands of dollars.</p>
<p>Here&#8217;s my layman analogy..</p>
<p>Let&#8217;s say you&#8217;re in the market for a car; you must have some budget in mind before shopping. You want to research performance, safety, reliability, etc.. And if possible, test drive the vehicle before purchasing.</p>
<p>The same goes with your web presence.</p>
<p>Regarding your requirements, you can go from an economical website cost to a very pricey one. Think of terms of transportation..</p>
<p>For example, riding the buss could be comparable to a website hosted on a shared hosting environment. Both are inexpensive and commonly used. However, travel will not be as efficient riding the buss.  Your limited to the destination a buss can travel. And your not the only one riding that buss. It has to drop off patrons; slowing you down with constant interruptions. Also, if a patron is sick, then the potential to catch the virus is prevalent.  Just like your website would become vulnerable to the environment it&#8217;s hosted on.  Now, if you had your own vehicle (VPS or dedicated server). Then your travel becomes more efficient, and limitations are greatly reduced!</p>
<p>Limitations may become greatly reduced on VPS or dedicated server with proper configurations &amp; management.  Your VPS and Dedicated Server are comparable to automobile different makes &amp; models. The differences are your configuration options. You can configure your server to respond like a sports car, light weight and fast.  Or configure server like a semi truck, heavy duty and moderate speed. But when a semi catches momentum, it can be very fast. Just don&#8217;t expect the same type of maneuverability as you would a small car.</p>
<p>Shopping for a car can become cumbersome, same applies to configuring your server. You want an efficient, secure and affordable vehicle; just like your server. These are operational and necessary in what a website cost.</p>
<p><span style="line-height: 1.5em;">Most hosting companies offer a control panel, or interface of some kind. Allowing you to configure sever to your requirements. Just like buying a car with options and extended warranties, your server is treated much the same. If your not comfortable handling server configurations, then you will have to find a managed solution. </span>Don&#8217;t fret, because as soon as you drive out of that dealership, the open road is all yours!</p>
<p>So, driving your own car (VPS) verses riding the buss (shared hosting) can become costly in either direction. And you can&#8217;t have a website without a web server!</p>
<p>Over 95% of the people I encounter are capable of achieving there online objectives economically.  Using open source software, you can have a website up and running easily.  There are a lot of open source programs (<a title="Why Use WordPress As a Website or Blog?" href="http://mywebdevelopment.org/why-use-wordpress-as-a-website-or-blog/">wordpress</a>, Joomla, etc.) that can be used to develop your website.  And if your host is using cPanel, then more likely open source programs are available for easy install using Softaculous plug-in.</p>
<p>And finally, the last necessary website cost. The domain name. Have you chosen a domain name? This is relevant to your branding and SEO on the web. More about <a title="About Domain Names" href="http://#">domain names</a> &amp; SEO practices.</p>
<hr />
<p><strong>Resources</strong></p>
<p>Softaculous, a library script that automates web application installs: <a title="Softaculous" href="https://www.softaculous.com/">https://www.softaculous.com/</a><br />
Shared Hosting account with Hostrocket:<br />
Linode VPS: <a title="Linode VPS" href="https://www.linode.com/">https://www.linode.com/</a><br />
cPanel Server &amp; Website Management: <a title="cPanel web-based Control Panel" href="http://cpanel.net/">http://cpanel.net/</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/much-website-cost/">How Much Does a Website Cost?</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>Installing cPanel on Linode Server CentOS 7</title>
		<link>https://mywebdevelopment.org/installing-cpanel-on-linode-server-wit-centos-7/</link>
				<pubDate>Thu, 29 Aug 2013 16:35:43 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Putty]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=356</guid>
				<description><![CDATA[<p>Need to setup Linode CentOS 7 for cPanel How to setup Linode Server running CentOS 7 for cPanel installation.. Linode &#38; cPanel documentation provided excellent documentation, however there was some confusion for me, so I documented my process. I&#8217;ve built several Lindoe&#8217;s, all using CentOS 6 or CentOS 7 for cPanel installations. I&#8217;ve fine tuned my process… <span class="read-more"><a href="https://mywebdevelopment.org/installing-cpanel-on-linode-server-wit-centos-7/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/installing-cpanel-on-linode-server-wit-centos-7/">Installing cPanel on Linode Server CentOS 7</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<h2>Need to setup Linode CentOS 7 for cPanel</h2>
<p>How to setup Linode Server running CentOS 7 for cPanel installation..</p>
<p>Linode &amp; cPanel documentation provided excellent documentation, however there was some confusion for me, so I documented my process. I&#8217;ve built several Lindoe&#8217;s, all using CentOS 6 or CentOS 7 for cPanel installations. I&#8217;ve fine tuned my process along with Linode &amp; cPanel&#8217;s documentation. It should take roughly half an hour (30 minutes) to complete the following steps with roughly 3.5 hours for cPanel to download and install. Setting up cPanel on Linode Server with CentOS 6.2 or 7 takes roughly 4 hours to set-up.</p>
<p>First you must purchase, build &amp; provision the linode using CentOS 6.2</p>
<p><strong><span style="text-decoration: underline;">Total ETA to complete steps: 4.5 hours</span></strong></p>
<ul>
<li>steps 1-6 = 5 minutes</li>
<li>steps 7 = 20 minutes</li>
<li>steps 8 = 1 minute</li>
<li>steps 9 = x minutes</li>
<li>steps 10-13 = 5 minutes</li>
<li>steps 14 = 3.5 hours</li>
<li>steps 15 = 20 minutes</li>
</ul>
<p><strong>step 1.)</strong> Order your linode.<br />
<strong>step 2.)</strong> Chose geographic location for new linode.<br />
<strong>step 3.)</strong> Build linode (centos 6.2):<br />
<strong>step 4.)</strong> Boot linode</p>
<p><strong>step 5.)</strong> Configure CentOS 6.2 (<span style="text-decoration: underline;">ETA to complete= 2 minutes</span>)<br />
There are a couple of procedures necessary for this step..</p>
<p>Connect your Linode with Putty (or use the console inside Linode Manager) to set the host name &amp; update hosts file. The hostname should be unique, in this example, I&#8217;ll use a planetary name &#8220;pluto&#8221;.</p>
<ul>
<li><strong>step 5a.)</strong> set the *hostname</li>
</ul>
<p># <span style="color: #993300;">echo &#8220;HOSTNAME=hname&#8221; &gt;&gt; /etc/sysconfig/network</span><br />
# <span style="color: #993300;">hostname &#8220;pluto&#8221;</span></p>
<ul>
<li><strong>step 5b.)</strong> update /etc/hosts file.</li>
</ul>
<p>Linux Server default text editor is nano, use the command # <span style="color: #993300;">nano /etc/hosts</span> to save/exit press <span style="color: #993300;">Ctlr-x</span></p>
<p>By default, Linode /etc/hosts file contains two rows of redundant localhost information.. Just delete &amp; have match the following example bellow.</p>
<p><em>default /etc/hosts</em><br />
<em>127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4</em><br />
<em> ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6</em></p>
<p><span style="color: #993300;"><em>example /etc/hosts</em><br />
# <span style="color: #993300;">127.0.0.1 localhost.localdomain localhost</span><br />
# <span style="color: #993300;">196.69.101.111 myhostname.mydomain.com myhostname</span></span></p>
<p><strong>step 6.)</strong> Update time zone (ETA to complete= 1 minutes)<br />
# <span style="color: #993300;"><span style="font-weight: 400;">timedatectl set-timezone &#8216;America/Mexico_City&#8217;</span></span></p>
<p><strong>step 7.)</strong> Update CentOS (ETA to download/update = roughly 20+ minutes)<br />
#<span style="color: #993300;"> <span style="font-weight: 400;">yum update</span></span></p>
<p><strong>step 8.)</strong> Check that the current date did not revert after update.. (if reverted repeat step 6)<br />
#<span style="color: #993300;"> <span style="font-weight: 400;">date</span></span></p>
<p>SECURE YOUR LINODE</p>
<p><strong>step 9.)</strong> Automatic Security Updates<br />
# <span style="color: #993300;">yum-cron</span></p>
<p><strong>step 10.)</strong> Configure /etc/fstab for cPanel&#8217;s disk sizes to display correctly. (<span style="text-decoration: underline;">ETA to complete= 1 minutes</span>)<br />
# <span style="color: #993300;">nano /etc/fstab</span></p>
<p><em>enter the following</em><br />
# <span style="color: #993300;">/dev/xvda / ext3 noatime,usrquota,grpquota,errors=remount-ro 0 1</span><br />
to save/exit press <span style="color: #993300;">Ctlr-x</span></p>
<p><strong>step 11.)</strong> Be sure to disable SELinux security features. (<span style="text-decoration: underline;">ETA to complete= 1 minutes</span>)<br />
# <span style="color: #993300;">nano /etc/selinux/config</span><br />
SELINUX=disabled</p>
<p><strong>step 12.)</strong> Only SSH, Yum &amp; Perl should be installed. (<span style="text-decoration: underline;">ETA to complete= 2 minute</span>s)<br />
To view a list of groups installed:<br />
# <span style="color: #993300;">yum grouplist</span></p>
<p>Installed Groups:<br />
E-mail server<br />
Console internet tools<br />
Graphical Administration Tools<br />
Hardware monitoring utilities<br />
Legacy UNIX compatibility<br />
Networking Tools<br />
Perl Support</p>
<p>In this sample, I need to remove E-mail server.<br />
# <span style="color: #993300;">yum groupremove &#8220;E-mail server&#8221;</span></p>
<p>*If you don’t see Perl Support or if you want to confirm perl installation, type the following commands..<br />
# <span style="color: #993300;">which perl</span><br />
# <span style="color: #993300;">perl -v</span></p>
<p><strong>step 13.)</strong> Deactivate default firewall (<span style="text-decoration: underline;">ETA to complete= 1 minutes</span>)</p>
<p># <span style="color: #993300;">service iptables save</span><br />
# <span style="color: #993300;">service iptables stop</span><br />
# <span style="color: #993300;">chkconfig iptables off</span></p>
<p><strong>step 14.)</strong> Install cPanel (<span style="text-decoration: underline;">ETA to download/install = roughly 3.5 hours</span>)</p>
<p># <span style="color: #993300;">cd /home</span><br />
# <span style="color: #993300;">wget -N http://httpupdate.cpanel.net/latest</span><br />
#<span style="color: #993300;"> sh latest</span></p>
<p><strong>step 15.)</strong> Virus scan (<span style="text-decoration: underline;">ETA to complete= 20 minutes</span>)</p>
<p>It&#8217;s best practice to check your system for any vulnerabilities after you install applications and modules as you customize your web server.  You can find <a title="Determine Your System's Status" href="http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CompSystem" target="_blank">documentation on cPanel&#8217;s website</a> for this.</p>
<p><strong>Final step, configure cPanel for your purposes..</strong></p>
<hr />
<p><strong>Resources</strong></p>
<p>How to disable firewall for CentOS: <a title="How to disable firewall for CentOS" href="http://www.cyberciti.biz/faq/fedora-redhat-centos-5-6-disable-firewall/">http://www.cyberciti.biz/faq/fedora-redhat-centos-5-6-disable-firewall/</a><br />
cPanel documentation on checking your system for trojans and viruses: <a title="cPanel Documentation, checking for trojans." href="http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CompSystem">http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CompSystem</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/installing-cpanel-on-linode-server-wit-centos-7/">Installing cPanel on Linode Server CentOS 7</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>Securing Linode Server with Cpanel ClamAV.</title>
		<link>https://mywebdevelopment.org/securing-linode-server-with-cpanel-clamav/</link>
				<pubDate>Wed, 22 May 2013 05:05:11 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Anti-Virus]]></category>
		<category><![CDATA[ClamAV]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=384</guid>
				<description><![CDATA[<p>Read the following tips in securing your Linode Server with cPanel ClamAV. Log into your WHM and enable the following plugins. Home &#62; cPanel &#62; Manage Plugins Enable ClamAV It takes roughly 40 minutes for installation to complete.. Now to enable your ClamAV scans to be run and visit the accounts cPanel to access virus… <span class="read-more"><a href="https://mywebdevelopment.org/securing-linode-server-with-cpanel-clamav/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/securing-linode-server-with-cpanel-clamav/">Securing Linode Server with Cpanel ClamAV.</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<p>Read the following tips in securing your Linode Server with cPanel ClamAV.</p>
<p>Log into your WHM and enable the following plugins.</p>
<p>Home &gt; cPanel &gt; Manage Plugins</p>
<p>Enable ClamAV</p>
<p>It takes roughly 40 minutes for installation to complete..</p>
<p>Now to enable your ClamAV scans to be run and visit the accounts cPanel to access virus scans.. A good tutorial on how to do this can be found <a title="Installing ClamAV step-by-step" href="http://www.thecpaneladmin.com/installing-clamav-on-a-cpanel-server/">here</a>.</p>
<p>Beware of redundancies and how much memory your server is operating with.</p>
<hr />
<p><strong>Resources</strong></p>
<p>Installing ClamAV on a Cpanel server: <a title="Installing ClamAV" href="http://www.thecpaneladmin.com/installing-clamav-on-a-cpanel-server/">http://www.thecpaneladmin.com/installing-clamav-on-a-cpanel-server/</a><br />
spamdconf cPanel plugin: <a title="cPanel spamdconf" href="http://forums.cpanel.net/f5/spamd-startup-configuration-spamdconf-tips-46758.html">http://forums.cpanel.net/f5/spamd-startup-configuration-spamdconf-tips-46758.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/securing-linode-server-with-cpanel-clamav/">Securing Linode Server with Cpanel ClamAV.</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>Awstats, Links From an External Page.</title>
		<link>https://mywebdevelopment.org/awstats-links-from-an-external-page/</link>
				<pubDate>Fri, 16 Nov 2012 02:15:03 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[awstats]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[webalizer]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=8</guid>
				<description><![CDATA[<p>I use cPanel on my server and there is a section for raw server stats called Awstats &#38; Webalizer. Both stats show slightly different data, so I compare them every so often for anything that may require further attention. In Awstats, one area of concern was the section &#8216;Links from an external page&#8217; that contained… <span class="read-more"><a href="https://mywebdevelopment.org/awstats-links-from-an-external-page/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/awstats-links-from-an-external-page/">Awstats, Links From an External Page.</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<p>I use cPanel on my server and there is a section for raw server stats called Awstats &amp; Webalizer. Both stats show slightly different data, so I compare them every so often for anything that may require further attention.</p>
<p>In Awstats, one area of concern was the section &#8216;Links from an external page&#8217; that contained a tremendous amount of websites that where from Russia (.ru).  When I attempted to view by visiting the listed sites, there was no obvious placement (or within the source code) where my domain existed.  Strange?</p>
<p>In researching Awstats, I came across a forum post where a couple of people where discussing the very same experiences that I&#8217;ve encountered.  Apparently, this is known as &#8220;referring spamming&#8221;, where some sites use robots that simulate visits by the user; <a title="Links from an external page in Awstas explained." href="http://sourceforge.net/p/awstats/discussion/43428/thread/eb750fd1" target="_blank"><em>read more..</em></a></p>
<p>Referering Spam is a technique that sends fake referer URL to your website, that points to the site the spammers want to infiltrate. Thus allowing the spammer to finds it&#8217;s way into your stats directory.</p>
<p>Since I&#8217;m using cPanel, there exists mod_security Module in the EasyApache; <a title="EasyApache mod_security Module" href="http://docs.cpanel.net/twiki/bin/view/AllDocumentation/EasyapacheModsecurity" target="_blank"><em>read more..</em></a><br />
ModSecurity 2.7 Available; <a title="Mod Security" href="http://www.modsecurity.org/" target="_blank"><em>read more..</em></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><em>Need help understanding Awstats?</em><br />
Here is a pretty good knowledge base article, explaining <a title="Explaining Awstats" href="http://kb.siteground.com/article/Awstats_Stats_Explained.html" target="_blank">Awstats</a>.</p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/awstats-links-from-an-external-page/">Awstats, Links From an External Page.</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>Installing pdo &#038; pdo_mysql Using cPanel</title>
		<link>https://mywebdevelopment.org/installing-pdo-pdo_mysql-using-cpanel/</link>
				<pubDate>Fri, 16 Nov 2012 02:13:37 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Putty]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=10</guid>
				<description><![CDATA[<p>If your using cPanel to run your server, then it&#8217;s very simple to enable PDO &#38; PDO_MYSQL within the WHM. Access your WHM and navigate to your EasyApache. Home &#62;&#62; Software &#62;&#62; EasyApache (Apache Update). First, begin by selecting a profile to load. Previously Saved Config (**DEFAULT**) ! This option loads the last saved configuration.… <span class="read-more"><a href="https://mywebdevelopment.org/installing-pdo-pdo_mysql-using-cpanel/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/installing-pdo-pdo_mysql-using-cpanel/">Installing pdo &#038; pdo_mysql Using cPanel</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<p>If your using cPanel to run your server, then it&#8217;s very simple to enable PDO &amp; PDO_MYSQL within the WHM.</p>
<p>Access your WHM and navigate to your EasyApache.<br />
<strong>Home &gt;&gt; Software &gt;&gt; EasyApache (Apache Update).</strong></p>
<p>First, begin by selecting a profile to load.<br />
<em>Previously Saved Config (**DEFAULT**)</em><br />
<em> ! This option loads the last saved configuration. If the configuration is missing, then default values will be provided.</em><br />
Continue through the build process, until you reach the Exhaustive Options List section. When you reach the Exhaustive Options List, rebuild with PDO &amp; PDO_MYSQL enabled. With PHP 5.3, PDO &amp; PDO_MYSQL options are available, however by default they are disabled.</p>
<p>Prior to using cPanel, I attempted to install PDO &amp; PDO_MYSQL via command and have spent a considerable amount of time installing with no prevail.. Using cPanel, it took me 2 minutes with EasyApache rebuilding in the background for about 12 minutes.</p>
<p>If your not using cPanel and have SSH access, then use command lines to install PDO &amp; PDO_MYSQL.</p>
<p>Bellow, are a couple of suggested methods..</p>
<p>First,<br />
Use PUTTY look up PHP version in order to determine suggested install.</p>
<p><span style="color: #993300;"><strong>[~]# php -v</strong></span><br />
<span style="color: #993300;"> PHP 5.3.17 (cli) (built: Oct 15 2012 22:06:55)</span><br />
<span style="color: #993300;"> Copyright (c) 1997-2012 The PHP Group</span><br />
<span style="color: #993300;"> Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies</span></p>
<p>According to source: <a href="http://www.webhostingtalk.com/showthread.php?t=1119422">http://www.webhostingtalk.com/showthread.php?t=1119422</a><br />
Run the following command:</p>
<p><span style="color: #993300;"><strong>[~]# yum install php-pdo</strong></span><br />
This command resolved the forum post above, however I was unable to install.</p>
<p>Then I came across a blog &#8216;ForLinux&#8217;, offering instructions on how to install PDO &amp; PDO_MYSQL using PECL: <a title="How to install PDO &amp; PDO_MYSQL on cpanel server" href="http://www.forlinux.co.uk/expertise/blog/2012/07/30/installing-pdo-and-pdo_mysql-extensions-on-cpanel-server/" target="_blank">http://www.forlinux.co.uk/expertise/blog/2012/07/30/installing-pdo-and-pdo_mysql-extensions-on-cpanel-server/</a></p>
<p>I opened my PUTTY and followed instructions to no prevail.</p>
<p>As suggested by website <a title="How to install PDO &amp; PDO_MYSQL in cPanel." href="http://www.ehow.com/how_8774853_install-pdomysql-cpanel.html" target="_blank">ehow.com</a>, I used the command<span style="color: #993300;"># &#8211;enable-pdo</span><br />
<em>No prevail..</em></p>
<p>Conclusion,<br />
Using cPanel saved me tremendous amount of time, as I would be on an expedition looking to resolve a simple task..</p>
<hr />
<p><strong>Resources</strong>:</p>
<p>cPanel Documentation: <a title="The Apache Web Server with cPanel &amp; WHM documentation" href="http://docs.cpanel.net/twiki/bin/view/EasyApache3/WebHome" target="_blank">The Apache Web Server with cPanel &amp; WHM</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>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/installing-pdo-pdo_mysql-using-cpanel/">Installing pdo &#038; pdo_mysql Using cPanel</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
		<item>
		<title>CentOS Cannot stat() mounted device /dev/root</title>
		<link>https://mywebdevelopment.org/cannot-stat-mounted-device-devroot/</link>
				<pubDate>Wed, 14 Nov 2012 17:48:36 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[fstab]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=113</guid>
				<description><![CDATA[<p>cannot stat() mounted device /dev/root No such file or directory CentOS 6.2 &#38; Xen Linode VPS The DISK USED in both cPanel &#38; WHM, do not reflect correct data size. According to cPanel, I require /dev/root in order for userquota to be mounted. root@host [/]# quota -sv quota: Cannot stat() mounted device /dev/root: No such… <span class="read-more"><a href="https://mywebdevelopment.org/cannot-stat-mounted-device-devroot/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/cannot-stat-mounted-device-devroot/">CentOS Cannot stat() mounted device /dev/root</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<h2><strong>cannot stat() mounted device /dev/root No such file or directory</strong></h2>
<p><strong>CentOS 6.2 &amp; Xen Linode VPS</strong></p>
<p>The DISK USED in both cPanel &amp; WHM, do not reflect correct data size.</p>
<p>According to cPanel, I require /dev/root in order for userquota to be mounted.</p>
<p><span style="color: #993300;">root@host [/]# quota -sv</span><br />
<span style="color: #993300;"> quota: Cannot stat() mounted device /dev/root: No such file or directory</span></p>
<p>As such, cPanel cannot run it&#8217;s account usage calculation properly (database sizes are calculated separately).</p>
<p>According to cPanel,<br />
It will likely require that /dev/ assuming the kernel does not force create it when usrquota is enabled. The primary partition should also be mounted with usrquota, and currently, it doesn&#8217;t appear that journaled quotas are supported by cPanel at this time, and will likely interfere with functionality, we would recommend disabling it.</p>
<hr />
<p>Someone posted on <a title="Frustrating Quota Error with CentOS &amp; Xen" href="http://forums.cpanel.net/f5/frustrating-quota-error-centos-6-2-xen-260462.html" target="_blank">cPanel&#8217;s forum</a> the problem with solution.<br />
They resolved there error, by contacting hosting VPS provider, and host made it so VPS is booted with it&#8217;s own kernal.</p>
<p>However, if you&#8217;re using Linode..<br />
<span style="color: #000080;">&#8220;I&#8217;m not sure Linode would do that for you but it&#8217;s definitely their problem and you may ask them to update their guest systems kernel because you experience problems. Or just use my other work around &#8211; which is the best way to live in that situation.&#8221; -Grigor</span></p>
<p>Just create a new rule for the udev daemon and add:<br />
<span style="color: #993300;"># KERNEL==&#8221;xvda1&#8243;, SUBSYSTEM==&#8221;block&#8221;, SYMLINK+=&#8221;root&#8221;</span></p>
<p>Here&#8217;s how to do it in one line:<br />
<span style="color: #993300;"># echo &#8216;KERNEL==&#8221;xvda1&#8243;, SUBSYSTEM==&#8221;block&#8221;, SYMLINK+=&#8221;root&#8221;&#8216; &gt; /etc/udev/rules.d/99-root-link.rules</span></p>
<p><em>and reboot!</em><br />
<span style="color: #800000;"># reboot</span></p>
<hr />
<p><strong>Resources:</strong></p>
<p>Quota Error on CentOS &amp; Xen: <a title="Frustrating Error with Quota &amp; Disk Space with CentOS &amp; Xen" href="http://forums.cpanel.net/f5/frustrating-quota-error-centos-6-2-xen-260462.html" target="_blank">http://forums.cpanel.net/f5/frustrating-quota-error-centos-6-2-xen-260462.html</a><br />
Quotas problem on CentOS 6.2 64bit: <a title="Quotas problem on CentOS 6.2 64bit" href="http://forum.linode.com/viewtopic.php?t=8294" target="_blank">http://forum.linode.com/viewtopic.php?t=8294</a><br />
How the fstab is commonly used: <a title="fstab and how it's commonly used WikiPedia" href="http://en.wikipedia.org/wiki/Fstab" target="_blank">http://en.wikipedia.org/wiki/Fstab</a><br />
Fix for File System Quotas: <a title="FIX FOR FILE SYSTEM QUOTAS /DEV/ROOT SYMLINK BREAKS (LINODE CENTOS 6.X)" href="http://www.daftspunk.com/code/fix-for-file-system-quotas-devroot-symlink-breaks-linode-centos-6-x">http://www.daftspunk.com/code/fix-for-file-system-quotas-devroot-symlink-breaks-linode-centos-6-x</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/cannot-stat-mounted-device-devroot/">CentOS Cannot stat() mounted device /dev/root</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
	</channel>
</rss>
