<?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>mkWebDesign &#187; Tutorials</title> <atom:link href="http://www.mkwebdesign.ca/category/tutorials/feed" rel="self" type="application/rss+xml" /><link>http://www.mkwebdesign.ca</link> <description>Website Design, Development and SEO for SMB</description> <lastBuildDate>Thu, 26 Apr 2012 17:04:15 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Parse error after deactivating W3 Total Cache</title><link>http://www.mkwebdesign.ca/tutorials/parse-error-deactivating-w3-total-cache.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=parse-error-deactivating-w3-total-cache</link> <comments>http://www.mkwebdesign.ca/tutorials/parse-error-deactivating-w3-total-cache.html#comments</comments> <pubDate>Sun, 04 Dec 2011 03:24:20 +0000</pubDate> <dc:creator>Mikael</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Cloudflair]]></category> <category><![CDATA[Pair.com]]></category> <category><![CDATA[W3 Total Cache]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[WSOD]]></category><guid
isPermaLink="false">http://www.mkwebdesign.ca/?p=312</guid> <description><![CDATA[Wordpress White Screen Of Death (WSOD) caused by W3 Total CacheLast night I migrated my websites to a VPS server on pair.com  and one of my websites ended up showing the dreaded Wordpress White Screen Of Death (WSOD).I was using the latest version of W3 Total Cache (0.9.2.4) and CloudFlare on the website, and was not sure why I got the WSOD. I was able to view html and php files on the same website fine, but Wordpress files just showed the white screen of death on the front end of the website.]]></description> <content:encoded><![CDATA[<h3>WordPress White Screen Of Death (WSOD) caused by W3 Total Cache</h3><p>Last night I migrated my websites to a VPS server on <a
title="Pair Networds" href="http://promote.pair.com/direct.pl?mkwebdesign.ca+88607">pair.com</a>  and one of my websites ended up showing the dreaded WordPress White Screen Of Death (WSOD).</p><p><span
id="more-312"></span>I was using the latest version of <a
title="W3 Total Cache" href="http://wordpress.org/extend/plugins/w3-total-cache/">W3 Total Cache</a> (0.9.2.4) and <a
title="Cloudflare" href="http://www.cloudflare.com">CloudFlare</a> on the website, and was not sure why I got the WSOD. I was able to view html and php files on the same website fine, but WordPress files just showed the white screen of death on the front end of the website.</p><p>Both the domain name which goes through the CloudFlare system as well as my dedicated IP address for the website which by-passes the CloudFlare system, showed both the WSOD, so I could rule out CloudFlare.</p><p>The Admin backend was still functional, so I went and cleared the W3TC cache, but nothing changed, still a white homepage. I then started by disabling plugins in WordPress to see what could cause the WSOD.</p><p>As soon as I deactivated W3 Total Cache I got a &#8220;<strong><em>Parse error: syntax error, unexpected T_STRING in /&#8230;&#8230;./wp-config.php on line 17</em></strong>&#8220;.</p><p>I looked in the wp-config.php and on line 17 was the <strong>define(&#8216;DB_NAME&#8217;, &#8221;); </strong>code. everything looked fine, but it still was giving me the error.</p><p><img
class="alignright size-medium wp-image-313" title="Wordpress Parse Error W3 Total Cache" src="http://www.mkwebdesign.ca/wp-content/uploads/2011/12/wordpress-parse-error-w3-total-cache-300x147.jpg" alt="Wordpress Parse Error W3 Total Cache" width="300" height="147" />After examining an older copy of the wp-config.php, I could see that W3 Total Cache removed it&#8217;s own code from the wp-config.sys and pushed the default comment field right into the &lt;?php syntax.</p><p>By moving the start of the comment to a new line solved the parse error.</p><blockquote><p><em>&lt;?php/**</em><br
/> to<br
/> <em>&lt;?php</em><br
/> <em>/**</em></p></blockquote><p>After fixing the parse error and having CloudFlare in Development Mode as well trying my direct IP address to the website, I was able to see that the site loaded again and no issue with WSOD.</p><p>I am not sure why W3TC gave me the WSOD, but after uninstalling it and re-installing it and then removing some of the options that I had on my previous settings, it now seems to work.  I am still investigating which setting that caused WordPress to display the WSOD.</p><p>I also would like to mention that Pair.com support was also very helpful, checking my settings and helping me re-syncing the the new site with my old content when experiencing the issues.</p> ]]></content:encoded> <wfw:commentRss>http://www.mkwebdesign.ca/tutorials/parse-error-deactivating-w3-total-cache.html/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Making SimpleViewer SEO friendly</title><link>http://www.mkwebdesign.ca/tutorials/making-simpleviewer-seo-friendly.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=making-simpleviewer-seo-friendly</link> <comments>http://www.mkwebdesign.ca/tutorials/making-simpleviewer-seo-friendly.html#comments</comments> <pubDate>Sun, 16 May 2010 12:52:57 +0000</pubDate> <dc:creator>Mikael</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[caption]]></category> <category><![CDATA[code]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[gallery]]></category> <category><![CDATA[google search engine]]></category> <category><![CDATA[non-flash]]></category> <category><![CDATA[photos]]></category> <category><![CDATA[php]]></category> <category><![CDATA[seo]]></category> <category><![CDATA[simpleviewer]]></category> <category><![CDATA[solution]]></category> <category><![CDATA[spider]]></category><guid
isPermaLink="false">http://www.mkwebdesign.ca/blog/?p=68</guid> <description><![CDATA[I had a issue with my images and captions not being indexed by Google and other search engines because my images were being displayed in the flash viewer SimpleViewer. The solution for the problem was to create a small php script that would pull the images and caption from the gallery.xml file that SimpleViewer uses [...]]]></description> <content:encoded><![CDATA[<p>I had a issue with my images and captions not being indexed by Google and other search engines because my images were being displayed in the flash viewer <a
href="http://www.simpleviewer.net/simpleviewer/">SimpleViewer</a>.<br
/> <span
id="more-68"></span></p><div
id="attachment_69" class="wp-caption alignright" style="width: 265px"><img
class="size-medium wp-image-69" title="flash" src="http://www.mkwebdesign.ca/wp-content/uploads/2009/07/flash-255x200.jpg" alt="SimpleViewer Flash viewer" width="255" height="200" /><p
class="wp-caption-text">SimpleViewer Flash viewer</p></div><p>The solution for the problem was to create a small php script that would pull the images and caption from the gallery.xml file that SimpleViewer uses and then display them on the webpage for the spiders and non-flash viewers to see.</p><p>This code if for websites that are not running on a CMS system.  You should be able to edit your pages directly for this script to work.</p><p>There are several different ways of displaying the images, but I put the PHP include command into the flashcontent DIV which you can see below.</p><p><em>&lt;div id=&#8221;flashcontent&#8221;&gt;Your browser requires JavaScript and the Flash Player to view the content on this site.<br
/> <span
style="font-style: normal;"><em>&lt;a href=&#8221;http://www.macromedia.com/go/getflashplayer/&#8221;&gt;Get Flash.&lt;/a&gt;<br
/> </em><span
style="font-style: normal;"><em>&lt;?php include(&#8220;simpleviewer-seo.php&#8221;); ?&gt;<br
/> &lt;/div&gt;</em></span></span></em></p><p>The code will fetch your thumbnails and captions.</p><p>You will have to change the $imgpath variable to your gallery directory.</p><p>The code also puts the first 50 characters of your caption into the image&#8217;s ALT and Title tag.</p><p>To see if the plugin is working, enter the url simpleviewer-seo.php file in your browser and you can see what it put&#8217;s out.  Another way is to disable javascript in the browser and you should then see the script running rather than the SimpleViewer flash gallery.</p><p>If you need any help, feel free to send me an email.</p><div
id="attachment_70" class="wp-caption alignright" style="width: 281px"><img
class="size-medium wp-image-70" title="non-flash" src="http://www.mkwebdesign.ca/wp-content/uploads/2009/07/non-flash-271x200.jpg" alt="Gallery Output for non-flash browsers and spiders." width="271" height="200" /><p
class="wp-caption-text">Gallery output for non-flash browsers and spiders.</p></div><p>Mikael Kjellstrom</p><p>You can download the code below and try it out.</p><p><a
title="SimpleViewer SEO Solution with PHP script." href="http://www.mkwebdesign.ca/codes/simpleviewer-seo.zip" target="_blank">http://www.mkwebdesign.ca/codes/simpleviewer-seo.zip</a></p><p>This code is provided without guarantee and  &#8217;AS IS&#8217; .</p><p>Note: SimpleViewer SEO does not work with the WordPress Plugin of SimpleViewer. I might support a modified plugin in the future for WordPress, so if you are interested, please leave a comment.</p> ]]></content:encoded> <wfw:commentRss>http://www.mkwebdesign.ca/tutorials/making-simpleviewer-seo-friendly.html/feed</wfw:commentRss> <slash:comments>14</slash:comments> </item> <item><title>SlideShowPro Director photos in WordPress posts</title><link>http://www.mkwebdesign.ca/tutorials/30.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=30</link> <comments>http://www.mkwebdesign.ca/tutorials/30.html#comments</comments> <pubDate>Sat, 13 Dec 2008 01:26:02 +0000</pubDate> <dc:creator>Mikael</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[albums]]></category> <category><![CDATA[director]]></category> <category><![CDATA[slideshowpro]]></category> <category><![CDATA[wordpress]]></category><guid
isPermaLink="false">http://www.mkwebdesign.ca/blog/?p=30</guid> <description><![CDATA[This post have been revised and refelect the new way I insert photographs from SlideShowPro Director into my WordPress blog. The plugin is available as a public beta. To read more about the plugin (including a download link), click here.]]></description> <content:encoded><![CDATA[<p>This post have been revised and refelect the new way I insert photographs from SlideShowPro Director into my WordPress blog.</p><p>The plugin is available as a public beta. To read more about the plugin (including a download link), <a
href="http://slideshowpro.net/news/archive/2010/12/slideshowpro-director-plugin-for-wordpress-now-available.php/" target="_blank">click here</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.mkwebdesign.ca/tutorials/30.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How to embed Vimeo into your WordPress blog</title><link>http://www.mkwebdesign.ca/tutorials/how-to-embed-vimeo-into-your-wordpress-blog.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-embed-vimeo-into-your-wordpress-blog</link> <comments>http://www.mkwebdesign.ca/tutorials/how-to-embed-vimeo-into-your-wordpress-blog.html#comments</comments> <pubDate>Thu, 11 Dec 2008 23:17:45 +0000</pubDate> <dc:creator>Mikael</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[embed]]></category> <category><![CDATA[embedding]]></category> <category><![CDATA[movie]]></category> <category><![CDATA[tutorial]]></category> <category><![CDATA[video]]></category> <category><![CDATA[vimeo]]></category> <category><![CDATA[wordpress]]></category><guid
isPermaLink="false">http://www.mkwebdesign.ca/blog/?p=3</guid> <description><![CDATA[This is a short video showing you how to put video from Vimeo into a post on your WordPress blog.  Make sure you select an video size that is smaller than your column width, otherwise the video will throw off the column.]]></description> <content:encoded><![CDATA[<p>This is a short video showing you how to put video from Vimeo into a post on your WordPress blog.  Make sure you select an video size that is smaller than your column width, otherwise the video will throw off the column.</p><p><object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="450" height="289" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="allowFullScreen" value="true" /><param
name="allowScriptAccess" value="sameDomain" /><param
name="bgcolor" value="#000000" /><param
name="flashvars" value="content=http://www.mkwebdesign.ca/videos/vimeo_wordpress.flv&amp;extenral=true" /><param
name="src" value="http://www.mkwebdesign.ca/videos/cinemaplayer.swf" /><param
name="allowfullscreen" value="true" /><embed
type="application/x-shockwave-flash" width="450" height="289" src="http://www.mkwebdesign.ca/videos/cinemaplayer.swf" flashvars="content=http://www.mkwebdesign.ca/videos/vimeo_wordpress.flv&amp;extenral=true" bgcolor="#000000" allowscriptaccess="sameDomain" allowfullscreen="true"></embed></object></p> ]]></content:encoded> <wfw:commentRss>http://www.mkwebdesign.ca/tutorials/how-to-embed-vimeo-into-your-wordpress-blog.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
<!-- Served from: www.mkwebdesign.ca @ 2012-05-18 23:17:55 by W3 Total Cache -->
