<?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>Adrian&#039;s Web Log</title>
	<atom:link href="http://blog.inceweb.com/adrian/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.inceweb.com/adrian</link>
	<description>Adrian&#039;s second brain.</description>
	<lastBuildDate>Wed, 29 Feb 2012 13:19:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Kindle 500 Days Later</title>
		<link>http://blog.inceweb.com/adrian/2012/02/29/kindle-500-days-later/</link>
		<comments>http://blog.inceweb.com/adrian/2012/02/29/kindle-500-days-later/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 10:37:02 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[Play]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[ebook]]></category>
		<category><![CDATA[kindle]]></category>

		<guid isPermaLink="false">http://blog.inceweb.com/adrian/?p=399</guid>
		<description><![CDATA[It occurred to me this week that I have now had my Kindle (keyboard, WIFI) for just over 500 days. In that time I have charged it up from a flat battery no more than 10 times, whilst using it for an average 45 minutes a day. Pretty impressive battery life. Also, while I have [...]]]></description>
			<content:encoded><![CDATA[<p>It occurred to me this week that I have now had my Kindle (keyboard, WIFI) for just over 500 days. In that time I have charged it up from a flat battery no more than 10 times, whilst using it for an average 45 minutes a day. Pretty impressive battery life.<br />
Also, while I have a couple of hundred books on the thing, I have spent less than £10 on Kindle titles from Amazon &#8211; there is a remarkable range of PD ebooks out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.inceweb.com/adrian/2012/02/29/kindle-500-days-later/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento 1.6 Customer Address Edit Error Invalid backend Model Specified</title>
		<link>http://blog.inceweb.com/adrian/2011/12/12/magento-1-6-customer-address-edit-error-invalid-backend-model-specified/</link>
		<comments>http://blog.inceweb.com/adrian/2011/12/12/magento-1-6-customer-address-edit-error-invalid-backend-model-specified/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 23:49:12 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[1.6]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[backend model]]></category>
		<category><![CDATA[checkout]]></category>
		<category><![CDATA[edit]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://blog.inceweb.com/adrian/?p=371</guid>
		<description><![CDATA[Following an upgrade from Magento 1.5 to 1.6 the error: Invalid backend model specified: customer_entity/address_attribute_backend_region occurs during customer address edit or checkout address entry. This is because in the eav_attribute table, backend_model values are incorrect. Fix with the following SQL: UPDATE `eav_attribute` SET `backend_model` = 'customer/entity_address_attribute_backend_street' WHERE `attribute_code` ='street' LIMIT 1 ; UPDATE `eav_attribute` SET [...]]]></description>
			<content:encoded><![CDATA[<p>Following an upgrade from Magento 1.5 to 1.6 the error:<br />
Invalid backend model specified: customer_entity/address_attribute_backend_region<br />
occurs during customer address edit or checkout address entry.<br />
This is because in the eav_attribute table, backend_model values are incorrect. Fix with the following SQL:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #ff0000;">`eav_attribute`</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #ff0000;">`backend_model`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'customer/entity_address_attribute_backend_street'</span> <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #ff0000;">`attribute_code`</span> <span style="color: #66cc66;">=</span><span style="color: #ff0000;">'street'</span> <span style="color: #993333; font-weight: bold;">LIMIT</span> <span style="color: #cc66cc;">1</span> ;
<span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #ff0000;">`eav_attribute`</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #ff0000;">`backend_model`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'customer/entity_address_attribute_backend_region'</span> <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #ff0000;">`attribute_code`</span> <span style="color: #66cc66;">=</span><span style="color: #ff0000;">'region'</span> <span style="color: #993333; font-weight: bold;">LIMIT</span> <span style="color: #cc66cc;">1</span> ;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.inceweb.com/adrian/2011/12/12/magento-1-6-customer-address-edit-error-invalid-backend-model-specified/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editing Magento&#8217;s Invoice &amp; Despatch PDF Layouts</title>
		<link>http://blog.inceweb.com/adrian/2011/11/24/editing-magentos-invoice-despatch-pdf-layouts/</link>
		<comments>http://blog.inceweb.com/adrian/2011/11/24/editing-magentos-invoice-despatch-pdf-layouts/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 17:01:08 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[credit]]></category>
		<category><![CDATA[despatch]]></category>
		<category><![CDATA[invoice]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[shipping]]></category>

		<guid isPermaLink="false">http://blog.inceweb.com/adrian/?p=364</guid>
		<description><![CDATA[Magento Invoice and Shipping (Despatch) PDF files are delivered with a reasonable layout, already suited toA4 printing, but benefit from some layout improvements, increasing font sizes, and lightening the greyscale boxes in the interests of readability. Take a copy of the relevant core files and place them in: /app/code/local/Mage/Sales/Model/Order/Pdf The relevant files are Invoice.php &#38; [...]]]></description>
			<content:encoded><![CDATA[<p>Magento Invoice and Shipping (Despatch) PDF files are delivered with a reasonable layout, already suited toA4 printing, but benefit from some layout improvements, increasing font sizes, and lightening the greyscale boxes in the interests of readability.<br />
Take a copy of the relevant core files and place them in:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>app<span style="color: #000000; font-weight: bold;">/</span>code<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>Mage<span style="color: #000000; font-weight: bold;">/</span>Sales<span style="color: #000000; font-weight: bold;">/</span>Model<span style="color: #000000; font-weight: bold;">/</span>Order<span style="color: #000000; font-weight: bold;">/</span>Pdf</pre></div></div>

<p>The relevant files are Invoice.php &amp; Shipment.php, but Abstract.php contains functions common to both, and the subdirectory Items contains formatting for the line items of each document type.<br />
The following snippet can be used to format database values as currency values:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$formattedPrice</span> <span style="color: #339933;">=</span> Mage<span style="color: #339933;">::</span><span style="color: #004000;">helper</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'core'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>currency<span style="color: #009900;">&#40;</span><span style="color: #000088;">$Price</span><span style="color: #339933;">,</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.inceweb.com/adrian/2011/11/24/editing-magentos-invoice-despatch-pdf-layouts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento claims it is in Maintenance Mode (and it isn&#8217;t)</title>
		<link>http://blog.inceweb.com/adrian/2011/08/28/magento-claims-it-is-in-mainteance-mode/</link>
		<comments>http://blog.inceweb.com/adrian/2011/08/28/magento-claims-it-is-in-mainteance-mode/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 10:49:07 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[503]]></category>
		<category><![CDATA[flag]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[mode]]></category>

		<guid isPermaLink="false">http://blog.inceweb.com/adrian/?p=357</guid>
		<description><![CDATA[Assuming that Magento is not actually in maintenance mode (i.e. downloader is not being used) then the following error is the result of a lock file not being removed, probably as the result of an ungraceful exit from the downloader: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance [...]]]></description>
			<content:encoded><![CDATA[<p>Assuming that Magento is not actually in maintenance mode (i.e. downloader is not being used) then the following error is the result of a lock file not being removed, probably as the result of an ungraceful exit from the downloader:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.</pre></div></div>

<p>To take Magento out of maintenance mode, just delete the file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">maintenance.flag</pre></div></div>

<p>from the Magento root.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.inceweb.com/adrian/2011/08/28/magento-claims-it-is-in-mainteance-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get CT600 to balance</title>
		<link>http://blog.inceweb.com/adrian/2011/04/23/how-to-get-ct600-to-balance/</link>
		<comments>http://blog.inceweb.com/adrian/2011/04/23/how-to-get-ct600-to-balance/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 22:30:06 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[accounts]]></category>
		<category><![CDATA[Balance Sheet]]></category>
		<category><![CDATA[Comapnies House]]></category>
		<category><![CDATA[CT600]]></category>
		<category><![CDATA[filing]]></category>
		<category><![CDATA[P&L]]></category>

		<guid isPermaLink="false">http://blog.inceweb.com/adrian/?p=339</guid>
		<description><![CDATA[You have put the correct figures into both the Balance Sheet and P&#038;L, but the Companies House abbreviated pages won&#8217;t balance (red errors) The problem is that the PDF is not recalculating correctly, you must save, quit and re-open the PDF. If you have already got as far as &#8220;Accounts review&#8221; then that will re-calculate, [...]]]></description>
			<content:encoded><![CDATA[<p>You have put the correct figures into both the Balance Sheet and P&#038;L, but the Companies House abbreviated pages won&#8217;t balance (red errors) The problem is that the PDF is not recalculating correctly, you must save, quit and re-open the PDF.<br />
If you have already got as far as &#8220;Accounts review&#8221; then that will re-calculate, but until you have balanced each section this entry in the contents list will not be active.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.inceweb.com/adrian/2011/04/23/how-to-get-ct600-to-balance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eye-Fi Support Response</title>
		<link>http://blog.inceweb.com/adrian/2011/04/20/eye-fi-support-response/</link>
		<comments>http://blog.inceweb.com/adrian/2011/04/20/eye-fi-support-response/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 13:22:06 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[annoyances]]></category>
		<category><![CDATA[Eye-Fi]]></category>

		<guid isPermaLink="false">http://blog.inceweb.com/adrian/?p=330</guid>
		<description><![CDATA[Problem:Eye-Fi center doesn&#8217;t appear when I click on it in the tool tray, following an upgrade. Eye-Fi answer: Your request (#27954) has been deemed solved. ________________________________________ Michal, Apr-20 05:25 (PDT): Hello Adrian, As discussed could you please do the following: - format the card in your camera - uninstall Eye-Fi software as well as Adobe [...]]]></description>
			<content:encoded><![CDATA[<p>Problem:Eye-Fi center doesn&#8217;t appear when I click on it in the tool tray, following an upgrade.<br />
Eye-Fi answer:</p>
<blockquote><p>Your request (#27954) has been deemed solved.<br />
________________________________________</p>
<p>Michal, Apr-20 05:25 (PDT):<br />
Hello Adrian,<br />
As discussed could you please do the following:<br />
- format the card in your camera<br />
- uninstall Eye-Fi software as well as Adobe AIR<br />
- install the latest version of the Adobe AIR from the following link:</p>
<p>http://get.adobe.com/air/</p>
<p>- download and install the latest version of the Eye-Fi software:</p>
<p>http://support.eye.fi/support-resources/downloads/software/eye-fi-manager-desktop-software/</p>
<p>Please feel free to contact us again if you have questions or would like further assistance.<br />
Kind regards,<br />
Michal<br />
Eye-Fi Customer Care</p></blockquote>
<p>&#8230; or to put it another way, turn it off and turn it back on again!<br />
Sometimes I think that things haven&#8217;t really changed since I did support back in the 1990s. </p>
<p>Update:<br />
The correct solution is to uninstall &#038; reinstall Adobe Air.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.inceweb.com/adrian/2011/04/20/eye-fi-support-response/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento 1.3 to 1.5 upgrade notes</title>
		<link>http://blog.inceweb.com/adrian/2011/04/07/magento-1-3-to-1-5-upgrade-notes/</link>
		<comments>http://blog.inceweb.com/adrian/2011/04/07/magento-1-3-to-1-5-upgrade-notes/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 15:06:06 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[1.3]]></category>
		<category><![CDATA[1.5]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mage]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://blog.inceweb.com/adrian/?p=326</guid>
		<description><![CDATA[The upgrade to 1.5 has a number of &#8220;gotchas&#8221; so while I am debugging the process on the test / staging instance, here are a few notes. Basic process Empty some or all of the log tables as they are potentially huge and are not needed: TRUNCATE `log_customer`; TRUNCATE `log_quote`; TRUNCATE `log_summary`; TRUNCATE `log_url`; TRUNCATE [...]]]></description>
			<content:encoded><![CDATA[<p>The upgrade to 1.5 has a number of &#8220;gotchas&#8221; so while I am debugging the process on the test / staging instance, here are a few notes.</p>
<h3>Basic process</h3>
<p>Empty some or all of the log tables as they are potentially huge and are not needed:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">TRUNCATE</span> <span style="color: #ff0000;">`log_customer`</span>;
<span style="color: #993333; font-weight: bold;">TRUNCATE</span> <span style="color: #ff0000;">`log_quote`</span>;
<span style="color: #993333; font-weight: bold;">TRUNCATE</span> <span style="color: #ff0000;">`log_summary`</span>;
<span style="color: #993333; font-weight: bold;">TRUNCATE</span> <span style="color: #ff0000;">`log_url`</span>;
<span style="color: #993333; font-weight: bold;">TRUNCATE</span> <span style="color: #ff0000;">`log_url_info`</span>;
<span style="color: #993333; font-weight: bold;">TRUNCATE</span> <span style="color: #ff0000;">`log_visitor`</span>;
<span style="color: #993333; font-weight: bold;">TRUNCATE</span> <span style="color: #ff0000;">`log_visitor_info`</span>;
<span style="color: #993333; font-weight: bold;">TRUNCATE</span> <span style="color: #ff0000;">`log_visitor_online`</span>;
<span style="color: #993333; font-weight: bold;">TRUNCATE</span> <span style="color: #ff0000;">`report_viewed_product_index`</span>;
<span style="color: #993333; font-weight: bold;">TRUNCATE</span> <span style="color: #ff0000;">`report_compared_product_index;`</span>
<span style="color: #993333; font-weight: bold;">TRUNCATE</span> <span style="color: #ff0000;">`report_event`</span>;
<span style="color: #993333; font-weight: bold;">TRUNCATE</span> <span style="color: #ff0000;">`catalog_compare_item`</span>;</pre></div></div>

<p>Backup the 1.3 instance using Magento&#8217;s built in backup.</p>
<p>Edit the resulting .sql file and uncomment the FOREIGN_KEY controls at the top and bottom of the file:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SET</span> @OLD_FOREIGN_KEY_CHECKS<span style="color: #66cc66;">=</span>@@FOREIGN_KEY_CHECKS<span style="color: #66cc66;">,</span> FOREIGN_KEY_CHECKS<span style="color: #66cc66;">=</span><span style="color: #cc66cc;">0</span>;
<span style="color: #993333; font-weight: bold;">SET</span> FOREIGN_KEY_CHECKS<span style="color: #66cc66;">=</span>@OLD_FOREIGN_KEY_CHECKS;</pre></div></div>

<p>If the domain or subdomain is changing, do a search &amp; replace e.g. replace www.myshop.com with test5.myshop.com</p>
<p>Create the new database instance, and execute the SQL from the previous step. Make sure it doesn&#8217;t time out, last table created is normally &#8220;wishlist_item&#8221;</p>
<p>Yoast Metarobots breaks product maintenance in Magento 1.4+, so remove relevant fields:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">DELETE</span> <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #ff0000;">`core_resource`</span> <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #ff0000;">`core_resource`</span><span style="color: #66cc66;">.</span><span style="color: #ff0000;">`code`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'metarobots_setup'</span>;
<span style="color: #993333; font-weight: bold;">DELETE</span> <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #ff0000;">`eav_attribute`</span> <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #ff0000;">`eav_attribute`</span><span style="color: #66cc66;">.</span><span style="color: #ff0000;">`attribute_code`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'meta_robots'</span>;
<span style="color: #993333; font-weight: bold;">UPDATE</span> eav_entity_type <span style="color: #993333; font-weight: bold;">SET</span> additional_attribute_table<span style="color: #66cc66;">=</span><span style="color: #ff0000;">'catalog/eav_attribute'</span><span style="color: #66cc66;">,</span>entity_attribute_collection<span style="color: #66cc66;">=</span><span style="color: #ff0000;">'catalog/product_attribute_collection'</span> <span style="color: #993333; font-weight: bold;">WHERE</span> entity_type_id<span style="color: #66cc66;">=</span><span style="color: #cc66cc;">4</span>;</pre></div></div>

<p>Now FTP the Magento downloader.php onto the target site, check file permissions and execute it with http://test5.myshop.com/downloader.php</p>
<p>Follow the setup process including specifying the correct database name, user and password.</p>
<p>Use the same encryption key from the original site &#8211; find it in /app/etc/local.xml</p>
<p>If there are problems with the setup not accepting the admin user / password combination, simply re-run the installer by pointing your web browser at http://test5.myshop.com</p>
<p>Remember that the original admin user already exists in the database export, so create a temporary one and delete it later.</p>
<h3>Fixing problems</h3>
<h4>Can&#8217;t access the admin site, gives 404 error</h4>
<p>The database import will have incorrectly sequenced the sites, so run the following:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SET</span> @OLD_FOREIGN_KEY_CHECKS<span style="color: #66cc66;">=</span>@@FOREIGN_KEY_CHECKS<span style="color: #66cc66;">,</span> FOREIGN_KEY_CHECKS<span style="color: #66cc66;">=</span><span style="color: #cc66cc;">0</span>;
<span style="color: #993333; font-weight: bold;">UPDATE</span> core_website <span style="color: #993333; font-weight: bold;">SET</span> website_id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #993333; font-weight: bold;">WHERE</span> core_website<span style="color: #66cc66;">.</span>code<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;admin&quot;</span> <span style="color: #993333; font-weight: bold;">LIMIT</span> <span style="color: #cc66cc;">1</span>;
<span style="color: #993333; font-weight: bold;">UPDATE</span> core_store <span style="color: #993333; font-weight: bold;">SET</span> store_id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #993333; font-weight: bold;">WHERE</span> core_store<span style="color: #66cc66;">.</span>code<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;admin&quot;</span> <span style="color: #993333; font-weight: bold;">LIMIT</span> <span style="color: #cc66cc;">1</span>;
<span style="color: #993333; font-weight: bold;">SET</span> FOREIGN_KEY_CHECKS<span style="color: #66cc66;">=</span>@OLD_FOREIGN_KEY_CHECKS;</pre></div></div>

<h4>Admin site is &#8220;white&#8221; i.e. CSS not working and plain HTML is displayed</h4>
<p>Delete contents of /var/cache/</p>
<h4>&#8220;There are no products matching the selection&#8221; when browsing front end</h4>
<p>Wrong customer group ID for users that are no logged in. Execute the following SQL:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SET</span> @OLD_FOREIGN_KEY_CHECKS<span style="color: #66cc66;">=</span>@@FOREIGN_KEY_CHECKS<span style="color: #66cc66;">,</span> FOREIGN_KEY_CHECKS<span style="color: #66cc66;">=</span><span style="color: #cc66cc;">0</span>;
<span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #ff0000;">`customer_group`</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #ff0000;">`customer_group_id`</span> <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">0</span> <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #ff0000;">`customer_group_code`</span> <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">'NOT LOGGED IN'</span>;
<span style="color: #993333; font-weight: bold;">SET</span> FOREIGN_KEY_CHECKS<span style="color: #66cc66;">=</span>@OLD_FOREIGN_KEY_CHECKS;</pre></div></div>

<h4>No product images</h4>
<p>Check correct permissions and then copy the images directory structure from the source site eg:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>httpdocs<span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>catalog<span style="color: #000000; font-weight: bold;">/*</span> <span style="color: #000000; font-weight: bold;">/</span>subdomains<span style="color: #000000; font-weight: bold;">/</span>test5<span style="color: #000000; font-weight: bold;">/</span>httpdocs<span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>catalog<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Now login to admin site and run a  re-index on everything, and update all of the caches.</p>
<h4>Error File does not exist: &#8230; media/catalog/product/no_selection</h4>
<p>Review the System Configuration and under Catalogue / Catalogue / Product Image Placeholders and add the missing placeholders. Add back in the watermarks too in General / Design / Product Image Watermarks.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.inceweb.com/adrian/2011/04/07/magento-1-3-to-1-5-upgrade-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Binary &#8211; ASCII conversion</title>
		<link>http://blog.inceweb.com/adrian/2011/03/23/binary-ascii-conversion/</link>
		<comments>http://blog.inceweb.com/adrian/2011/03/23/binary-ascii-conversion/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 21:56:27 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[Reference]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[binary]]></category>
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://blog.inceweb.com/adrian/?p=323</guid>
		<description><![CDATA[This page has bidirectional binary &#8211; ASCII conversion. This is useful if you are following @cjsupercomputer.]]></description>
			<content:encoded><![CDATA[<p><a title="Binary ASCII conversion" href="http://www.roubaixinteractive.com/PlayGround/Binary_Conversion/Binary_To_Text.asp">This page</a> has bidirectional binary &#8211; ASCII conversion. This is useful if you are following <a title="CJ Super Computer" href="http://twitter.com/#!/cjsupercomputer">@cjsupercomputer</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.inceweb.com/adrian/2011/03/23/binary-ascii-conversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pressure Cooked Shoulder of Pork</title>
		<link>http://blog.inceweb.com/adrian/2011/03/03/pressure-cooked-shoulder-of-pork/</link>
		<comments>http://blog.inceweb.com/adrian/2011/03/03/pressure-cooked-shoulder-of-pork/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 14:57:00 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[Recipes]]></category>

		<guid isPermaLink="false">http://blog.inceweb.com/adrian/?p=315</guid>
		<description><![CDATA[Ingredients 2 kg boneless pork shoulder 2 tablespoon olive oil 300g mushrooms, thick sliced 1 onion, diced 2 carrots, diced 2 tbsp tomato paste 500ml stock, either chicken or vegetable 2 bay leaves salt &#38; ground pepper to season Method Salt and pepper a board, roll the meat on it. Heat 1 tbsp oil in [...]]]></description>
			<content:encoded><![CDATA[<h3>Ingredients</h3>
<p>2 kg boneless pork shoulder<br />
2 tablespoon olive oil<br />
300g mushrooms, thick sliced<br />
1 onion, diced<br />
2 carrots, diced<br />
2 tbsp tomato paste<br />
500ml stock, either chicken or vegetable<br />
2 bay leaves<br />
salt &amp; ground pepper to season</p>
<h3>Method</h3>
<p>Salt and pepper a board, roll the meat on it. Heat 1 tbsp oil in the pressure cooker and brown meat all over. Temporarily remove meat. Fry onion and carrot in the remaining oil until softened. Add tomato paste, stock, and bay leaves. Place roast on top, add sliced mushrooms,  cover and bring up to full pressure. Cook for 50 minutes. Reduce pressure using the natural method. Remove meat to rest for 10 minutes. Separate fat from stock and thicken with cornflour to make a gravy.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.inceweb.com/adrian/2011/03/03/pressure-cooked-shoulder-of-pork/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parsnip and Butternut Squash Soup</title>
		<link>http://blog.inceweb.com/adrian/2010/11/06/parsnip-and-butternut-squash-soup/</link>
		<comments>http://blog.inceweb.com/adrian/2010/11/06/parsnip-and-butternut-squash-soup/#comments</comments>
		<pubDate>Sat, 06 Nov 2010 20:54:38 +0000</pubDate>
		<dc:creator>Adrian</dc:creator>
				<category><![CDATA[Recipes]]></category>
		<category><![CDATA[butter nut]]></category>
		<category><![CDATA[parsnip]]></category>
		<category><![CDATA[soup]]></category>

		<guid isPermaLink="false">http://blog.inceweb.com/adrian/?p=308</guid>
		<description><![CDATA[Here is a nice combination of Autumn flavours. Ingredients 2 large onions, halved 3 large parsnips, peeled and halved 2 medium butter-nut squash, sliced in half lengthways, de-seeded Small handful of lemon thyme Olive oil Salt and pepper 1.5 litres vegetable stock 2 tablespoons crème fraîche Method Place the vegetables on a baking tray, pour [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a nice combination of Autumn flavours.</p>
<h3>Ingredients</h3>
<p>2 large onions, halved<br />
3 large parsnips, peeled and halved<br />
2 medium butter-nut squash, sliced in half lengthways, de-seeded<br />
Small handful of lemon thyme<br />
Olive oil<br />
Salt and pepper<br />
1.5 litres vegetable stock<br />
2 tablespoons crème fraîche</p>
<h3>Method</h3>
<p>Place the vegetables on a baking tray, pour over some olive oil, season and add the thyme. Bake at 180 degrees Celsius for one hour.</p>
<p>Scrape the flesh from the squash, remove any twigs from the thyme, and blitz the cooked vegetables in a food processor adding the stock a third at a time.</p>
<p>Put in a pan and bring to a simmer, balance the seasoning, take off the heat and stir in the crème fraîche. Serve.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.inceweb.com/adrian/2010/11/06/parsnip-and-butternut-squash-soup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

