<?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>Waterford Web Design</title>
	<atom:link href="http://www.waterfordwebdesign.ie/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.waterfordwebdesign.ie</link>
	<description>Professional Web Advice from a Web Developer in the Waterford Area</description>
	<lastBuildDate>Mon, 30 Aug 2010 14:13:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Glanbia Estates</title>
		<link>http://www.waterfordwebdesign.ie/glanbia-estates/</link>
		<comments>http://www.waterfordwebdesign.ie/glanbia-estates/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 14:11:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[UTD Web Design Portfolio]]></category>

		<guid isPermaLink="false">http://www.waterfordwebdesign.ie/?p=163</guid>
		<description><![CDATA[UTD Web Design has just launched Glanbia Estates new corporate website. Glanbia Estates is a branch of Glanbia focussing on the sale and development of some of their properties.
The site was kept clean and corporate looking with heavy use of pictures as we felt that the pictures would do the talking.
Click Glanbia Estates to visit [...]]]></description>
			<content:encoded><![CDATA[<p>UTD Web Design has just launched Glanbia Estates new corporate website. Glanbia Estates is a branch of Glanbia focussing on the sale and development of some of their properties.</p>
<p>The site was kept clean and corporate looking with heavy use of pictures as we felt that the pictures would do the talking.</p>
<p>Click <a title="Glanbia Estates" href="http://www.glanbiaestates.com" target="_blank">Glanbia Estates</a> to visit the site.</p>
<div id="attachment_164" class="wp-caption alignleft" style="width: 244px"><a href="http://www.waterfordwebdesign.ie/wp-content/uploads/2010/08/glanbia-estates.jpg"><img class="size-full wp-image-164" title="Glanbia Estates Website" src="http://www.waterfordwebdesign.ie/wp-content/uploads/2010/08/glanbia-estates.jpg" alt="Glanbia Estates Website" width="234" height="200" /></a><p class="wp-caption-text">Glanbia Estates Website</p></div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.waterfordwebdesign.ie%2Fglanbia-estates%2F&amp;linkname=Glanbia%20Estates"><img src="http://www.waterfordwebdesign.ie/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.waterfordwebdesign.ie/glanbia-estates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Putting Euro Symbol in Inner Text HTML using Javascript</title>
		<link>http://www.waterfordwebdesign.ie/putting-euro-symbol-in-innertext-html-javascrip/</link>
		<comments>http://www.waterfordwebdesign.ie/putting-euro-symbol-in-innertext-html-javascrip/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 14:58:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.waterfordwebdesign.ie/?p=159</guid>
		<description><![CDATA[Had a problem today whereby I tried to insert a euro symbol into the innertext of a div using javascript.
First I tried the actual euro symbol
e.g.
document.getElementById('theelementid').innerText ="€" + value;
This results in the user agent outputting an unrecognised symbol in place of the euro
Then I tried using the html escape code for the euro symbol:
i.e.
document.getElementById('theelementid').innerText ="&#38;euro;" [...]]]></description>
			<content:encoded><![CDATA[<p>Had a problem today whereby I tried to insert a euro symbol into the innertext of a div using javascript.</p>
<p>First I tried the actual euro symbol</p>
<p>e.g.</p>
<pre>document.getElementById('theelementid').innerText ="€" + value;</pre>
<p>This results in the user agent outputting an unrecognised symbol in place of the euro</p>
<p>Then I tried using the html escape code for the euro symbol:</p>
<p>i.e.</p>
<pre>document.getElementById('theelementid').innerText ="&amp;euro;" + value;</pre>
<p>But that resulted in the &amp;euro; being displayed verbatim by the browser as the DOM automatically encodes special characters such as the ampersand</p>
<p>Finally, I actually escaped it using the unicode value</p>
<p>i.e.</p>
<pre>document.getElementById('theelementid').innerText ="\u20AC" + value;</pre>
<p>and it worked like a treat.</p>
<p> <img src='http://www.waterfordwebdesign.ie/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">http://www.thejesusalien.com/michael-jackson-is-not-dead-hes-an-ancient-egyptian-princess/</div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.waterfordwebdesign.ie%2Fputting-euro-symbol-in-innertext-html-javascrip%2F&amp;linkname=Putting%20Euro%20Symbol%20in%20Inner%20Text%20HTML%20using%20Javascript"><img src="http://www.waterfordwebdesign.ie/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.waterfordwebdesign.ie/putting-euro-symbol-in-innertext-html-javascrip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centering a Website &#8211; Cross Browser</title>
		<link>http://www.waterfordwebdesign.ie/centering-a-website-cross-browser/</link>
		<comments>http://www.waterfordwebdesign.ie/centering-a-website-cross-browser/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 14:02:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS & HTML]]></category>
		<category><![CDATA[Web Basics]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.waterfordwebdesign.ie/?p=153</guid>
		<description><![CDATA[Most sites these days are centred and have a fixed with be it 800, 1024 pixels wide or whatever.  If any of you have used divs and css and tried using standard centering you might have, at one stage or another, scratched your head while viewing it on different browsers.
Let&#8217;s say we want a webpage with [...]]]></description>
			<content:encoded><![CDATA[<p>Most sites these days are centred and have a fixed with be it 800, 1024 pixels wide or whatever.  If any of you have used divs and css and tried using standard centering you might have, at one stage or another, scratched your head while viewing it on different browsers.</p>
<p>Let&#8217;s say we want a webpage with a width of a nice round 1000 pixels. To do this we might create a new div within the body tag called page:</p>
<pre>&lt;body&gt;
&lt;div class="page"&gt;Content goes here&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;
&lt;/body&gt;</pre>
<p>In order to centre this on IE7 and less we simply set the width in the div and in the body tag set text-align to center i.e.</p>
<pre>body
{
 text-align: center;
}</pre>
<pre>.page
{
 width: 1000px;
 text-align: center; /*don't forget to reset alignment for child elements*/

}</pre>
<p>On IE8+, Firefox and other browsers this is not correct behaviour however and they will left align the inner div, therefore we need to centre the inner div using the margin tag by setting it to margin: 0 auto e.g.</p>
<pre>body
{
 text-align: center;

}</pre>
<pre>.page
{
 <strong>margin: 0 auto;</strong>
 text-align: left;
 width: 1000px;
 background-color:red;

}</pre>
<p>By specifiying margin: 0 auto and by setting the div&#8217;s width, the browser can calculate how much distance to place between the left side of the div and the left margin of the browser window.</p>
<p>So there you have it, simple and effective and cross browser compatible.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.waterfordwebdesign.ie%2Fcentering-a-website-cross-browser%2F&amp;linkname=Centering%20a%20Website%20%26%238211%3B%20Cross%20Browser"><img src="http://www.waterfordwebdesign.ie/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.waterfordwebdesign.ie/centering-a-website-cross-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Caching Issue on IE</title>
		<link>http://www.waterfordwebdesign.ie/flash-caching-issue-on-ie/</link>
		<comments>http://www.waterfordwebdesign.ie/flash-caching-issue-on-ie/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 09:47:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.waterfordwebdesign.ie/?p=145</guid>
		<description><![CDATA[I had a problem with a client of a client whereby they had a flash gallery component called simpleviewer on the site.  Basically depending on the page the browser viewed, the component would load up a dynamic xml file and present a different slideshow on each page.
The problem happened when users have caching turned to [...]]]></description>
			<content:encoded><![CDATA[<p>I had a problem with a client of a client whereby they had a flash gallery component called simpleviewer on the site.  Basically depending on the page the browser viewed, the component would load up a dynamic xml file and present a different slideshow on each page.</p>
<p>The problem happened when users have caching turned to automatic.</p>
<p>I tried various things like, setting the various meta tags for browser caching in the head section of the html document</p>
<pre>&lt;META HTTP-EQUIV="Expires" CONTENT="0"&gt;
&lt;META HTTP-EQUIV="Pragma" CONTENT="no-cache"&gt;
&lt;META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"&gt;</pre>
<p>I tried setting this in the footer also because of IEs caching problem.</p>
<p>I then tried setting this sort of stuff on the server through php headers even setting the last modified date:</p>
<pre>header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header ("Last-Modified: " . gmdate ("D, d M Y H:i:s") . " GMT");</pre>
<p>I then tried setting parameters on the .swf file itself hoping that it would see it as a new request for a different swf file each time (where contentid is the id of the page loading).</p>
<pre>var fo = new SWFObject("viewer.swf?unique=&lt;?php echo $contentid ?&gt;",
"viewer", "640", "380", "8", "#ffffff");</pre>
<p>In the end i figured out that the flash file itself was caching the xml document that it was loading  so this had to be different for each page request (I had been using cookies to store the currently selected page). </p>
<pre>fo.addVariable("xmlDataPath",
"gallery.php?contentid=&lt;?php echo $contentid ?&gt;");</pre>
<p>And low and behold, problem solved.</p>
<p>Talk about beating about the bush!</p>
<p>Anyway, hope this helps someone else out there.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.waterfordwebdesign.ie%2Fflash-caching-issue-on-ie%2F&amp;linkname=Flash%20Caching%20Issue%20on%20IE"><img src="http://www.waterfordwebdesign.ie/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.waterfordwebdesign.ie/flash-caching-issue-on-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sensible Link Building Strategy</title>
		<link>http://www.waterfordwebdesign.ie/sensible-link-building-strategy/</link>
		<comments>http://www.waterfordwebdesign.ie/sensible-link-building-strategy/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 12:12:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Search Engine Optimisation (SEO)]]></category>

		<guid isPermaLink="false">http://www.waterfordwebdesign.ie/?p=143</guid>
		<description><![CDATA[Here is an interesting blog from the Google Webmasters Blog: http://googlewebmastercentral.blogspot.com/2010/06/quality-links-to-your-site.html.  Anyone interested in SEO should read the article carefully.
Here is a summary of the points made in the article:

Promote within your particular community and CONTRIBUTE to blogs and forums. This does not mean spam forums and blogs but actually share your knowledge and experience with the [...]]]></description>
			<content:encoded><![CDATA[<p>Here is an interesting blog from the Google Webmasters Blog: <a href="http://googlewebmastercentral.blogspot.com/2010/06/quality-links-to-your-site.html">http://googlewebmastercentral.blogspot.com/2010/06/quality-links-to-your-site.html</a>.  Anyone interested in SEO should read the article carefully.</p>
<p>Here is a summary of the points made in the article:</p>
<ul>
<li>Promote within your particular community and CONTRIBUTE to blogs and forums. This does not mean spam forums and blogs but actually share your knowledge and experience with the community.  Solving problems for people is a great way of doing this.</li>
<li>Use of humour can be good to get lots of hits quickly but that it shouldn&#8217;t be relied on as a long term strategy.</li>
<li>Beware of low quality directories and link sharing with random sites, these will ultimately damage your sites reputation</li>
<li>Another great tip is to make linking to your site easy through social bookmarking tools</li>
</ul>
<p>So if you have quality link backs in mind, start sharing your knowledge today.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.waterfordwebdesign.ie%2Fsensible-link-building-strategy%2F&amp;linkname=Sensible%20Link%20Building%20Strategy"><img src="http://www.waterfordwebdesign.ie/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.waterfordwebdesign.ie/sensible-link-building-strategy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The New Google Keyword Tool</title>
		<link>http://www.waterfordwebdesign.ie/the-new-google-keyword-tool/</link>
		<comments>http://www.waterfordwebdesign.ie/the-new-google-keyword-tool/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 16:15:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Making Money from the Web]]></category>
		<category><![CDATA[Search Engine Optimisation (SEO)]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Basics]]></category>

		<guid isPermaLink="false">http://www.waterfordwebdesign.ie/?p=134</guid>
		<description><![CDATA[Last week I tried using the Google Keyword tool and it wasn&#8217;t working the way I expected it to and I thought to myself that this was the end of an era.
How could I survive without the trusted Google Keyword Tool?
Thankfully, when I logged in today it seemed to be back to normal with an [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I tried using the Google Keyword tool and it wasn&#8217;t working the way I expected it to and I thought to myself that this was the end of an era.</p>
<p><strong>How could I survive without the trusted Google Keyword Tool?</strong></p>
<p>Thankfully, when I logged in today it seemed to be back to normal with an improved interface.</p>
<p>For anyone that doesn&#8217;t know at this stage, the Google Keyword tool is an indispensable application for anyone who wishes to do keyword research on-line.  The tool allows you to put in a keyword or phrase and it will show you how many people search for this word/phrase and variants of it worldwide and also locally (i.e. your target area) for the previous month.  It also gives an indication of how many advertisers are paying for advertising off the back of these key words and phrases.</p>
<p>This information is critical to anyone who wishes to promote their site online.</p>
<p>From a Search Engine Optimisation point of view it facilitates decision making on what names to give pages on a website, what keywords and phrases to put on them etc.  I mean there&#8217;s no point in creating a page with a certain title if nobody is ever going to search for it.</p>
<p>It now also asks for a website address as well as a key phrase, which can be very handy to see what your competitors are up to as regards keyword targeting.</p>
<p>It is an invaluable tool for anyone who takes their on-line presences seriously.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.waterfordwebdesign.ie%2Fthe-new-google-keyword-tool%2F&amp;linkname=The%20New%20Google%20Keyword%20Tool"><img src="http://www.waterfordwebdesign.ie/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.waterfordwebdesign.ie/the-new-google-keyword-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is Google Page Rank (PR)</title>
		<link>http://www.waterfordwebdesign.ie/what-is-google-page-rank-pr/</link>
		<comments>http://www.waterfordwebdesign.ie/what-is-google-page-rank-pr/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 17:41:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.waterfordwebdesign.ie/?p=128</guid>
		<description><![CDATA[Page rank is a measure of how important your website is to Google.  A page can have a rank between 0 and 10 (0 being the lowest rank). In fact a page can have no page rank at all, which means it hasn&#8217;t even been picked up by the search engine bots or spiders.
Note: Page [...]]]></description>
			<content:encoded><![CDATA[<p>Page rank is a measure of how important your website is to Google.  A page can have a rank between 0 and 10 (0 being the lowest rank). In fact a page can have no page rank at all, which means it hasn&#8217;t even been picked up by the search engine bots or spiders.</p>
<p><strong>Note: Page Rank is not the same as your position on the search engine results page (SERP). </strong></p>
<p>Page rank is calculated based on how many other web pages link back to your website, these link backs are considered votes, however not all of these votes are of the same worth.  A link back page that is already considered important and has a good page rank is worth more than a page with a low page rank.  Also, a page with lots of links is worth less to you than a page with only a few links&#8230; therefore the link backs that are most sought after are from pages with a high page rank and low link count. Here is the Wikipedia entry on Page Rank.</p>
<p><a href="http://en.wikipedia.org/wiki/PageRank" target="_blank">http://en.wikipedia.org/wiki/PageRank</a></p>
<p>Sites with good page rank generally do better on the search results page than pages with poor page rank, however, if the content on the page is not right then it won&#8217;t make a difference how much page rank your site has. Also, the links that gave you the page rank should make good use of keywords in those links to let Google know what your page is about.</p>
<p>You can check a page&#8217;s Page Rank by installing the Google toolbar on your browser and customise it to show Page rank, this shows a little progress bar icon on the toolbar showing the current page&#8217;s page rank. You could also use a site such as <a href="http://www.prchecker.info/check_page_rank.php" target="_blank">PR Checker</a> to check a page&#8217;s page rank.</p>
<div id="attachment_130" class="wp-caption alignleft" style="width: 310px"><a href="http://www.waterfordwebdesign.ie/wp-content/uploads/2010/04/utd-pr1.jpg"><img class="size-medium wp-image-130" title="UTD Google Page Rank" src="http://www.waterfordwebdesign.ie/wp-content/uploads/2010/04/utd-pr1-300x159.jpg" alt="UTD Google Page Rank" width="300" height="159" /></a><p class="wp-caption-text">UTD Google Page Rank on The Google Toolbar</p></div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.waterfordwebdesign.ie%2Fwhat-is-google-page-rank-pr%2F&amp;linkname=What%20is%20Google%20Page%20Rank%20%28PR%29"><img src="http://www.waterfordwebdesign.ie/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.waterfordwebdesign.ie/what-is-google-page-rank-pr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Double Home Page Problem Wordpress</title>
		<link>http://www.waterfordwebdesign.ie/double-home-problem-wordpress/</link>
		<comments>http://www.waterfordwebdesign.ie/double-home-problem-wordpress/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 23:26:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Basics]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.waterfordwebdesign.ie/?p=123</guid>
		<description><![CDATA[Many of us Wordpress users will have come up with the double Home Page problem.
If you are using Wordpress to create a website often you want a static home page on the site and not have it default to the latest blog entry.  To do this you must log in to the admin area, go [...]]]></description>
			<content:encoded><![CDATA[<p>Many of us Wordpress users will have come up with the double Home Page problem.</p>
<p>If you are using Wordpress to create a website often you want a static home page on the site and not have it default to the latest blog entry.  To do this you must log in to the admin area, go to setttings-&gt;reading and set a static page as your homepage.</p>
<p>Often times you will want to create this page and title it &#8216;Home&#8217; however on most themes if you do this you will end up with two home pages.</p>
<p>To get around this, without editing the theme, you need to create a dummy static page that is hidden from public view.  Once this static page is created you must go back and edit the newly created home page and set its parent to this new dummy page.</p>
<p>And that should be it!</p>
<p>If you want to have your blogs appear on another page, simply create another static page (with no content) and again go to settings-&gt;reading and set the posts page to this page. You must do this before you make the dummy page private, however.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.waterfordwebdesign.ie%2Fdouble-home-problem-wordpress%2F&amp;linkname=Double%20Home%20Page%20Problem%20Wordpress"><img src="http://www.waterfordwebdesign.ie/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.waterfordwebdesign.ie/double-home-problem-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows IIS, PHP &amp; Error 500: The page cannot be displayed because an internal server error has occurred.</title>
		<link>http://www.waterfordwebdesign.ie/windows-iis-php-error-500-the-page-cannot-be-displayed-because-an-internal-server-error-has-occurred/</link>
		<comments>http://www.waterfordwebdesign.ie/windows-iis-php-error-500-the-page-cannot-be-displayed-because-an-internal-server-error-has-occurred/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 10:52:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.waterfordwebdesign.ie/?p=121</guid>
		<description><![CDATA[I was pulling my hair out this morning when I transferred my PHP Content Management System to an Windows IIS Shared Server and started getting the message Error 500: The page cannot be displayed because an internal server error has occurred.
Debugging wasn&#8217;t working, there were no syntax errors, I was stumped. So I started breaking [...]]]></description>
			<content:encoded><![CDATA[<p>I was pulling my hair out this morning when I transferred my PHP Content Management System to an Windows IIS Shared Server and started getting the message Error 500: The page cannot be displayed because an internal server error has occurred.</p>
<p>Debugging wasn&#8217;t working, there were no syntax errors, I was stumped. So I started breaking down the code into little modules to test.</p>
<p>I tried printing out a variable that wasn&#8217;t initialised and low and behold the dreaded error appeared.</p>
<p>echo $test;</p>
<p>If I initialised the variable first there were no problems i.e.</p>
<p>$test  =  &#8220;Hello, World!&#8221;;<br />
echo $test;</p>
<p>So, basically, the problem was that php was spitting out some debug warnings, however the shared hosting account was interpreting this as an internal error and hence the error message on the client browser.</p>
<p>An ideal fix would be to get rid of all warnings from the code, however, a quick workaround was to simply turn off error reporting altogether using the following line of code:</p>
<p>error_reporting(0);</p>
<p>Hope this helps someone out there!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.waterfordwebdesign.ie%2Fwindows-iis-php-error-500-the-page-cannot-be-displayed-because-an-internal-server-error-has-occurred%2F&amp;linkname=Windows%20IIS%2C%20PHP%20%26%23038%3B%20Error%20500%3A%20The%20page%20cannot%20be%20displayed%20because%20an%20internal%20server%20error%20has%20occurred."><img src="http://www.waterfordwebdesign.ie/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.waterfordwebdesign.ie/windows-iis-php-error-500-the-page-cannot-be-displayed-because-an-internal-server-error-has-occurred/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Waterford Links Directory &#8211; Irish Links Directory</title>
		<link>http://www.waterfordwebdesign.ie/free-waterford-links-directory-irish-links-directory/</link>
		<comments>http://www.waterfordwebdesign.ie/free-waterford-links-directory-irish-links-directory/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 18:04:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Search Engine Optimisation (SEO)]]></category>
		<category><![CDATA[irish links directory]]></category>
		<category><![CDATA[link directory]]></category>
		<category><![CDATA[search engine optimisation]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[waterford links]]></category>
		<category><![CDATA[waterford links directory]]></category>

		<guid isPermaLink="false">http://www.waterfordwebdesign.ie/?p=100</guid>
		<description><![CDATA[Just a short blog to let you know that upthedeise.com has a new links directory at the following URL
Waterford Links Directory
This directory has an impressive root Google Page Rank of 5 and so anyone with a website in Waterford (and a bit of sense) should submit their site to it as soon as they read [...]]]></description>
			<content:encoded><![CDATA[<p>Just a short blog to let you know that upthedeise.com has a new links directory at the following URL</p>
<p><a title="Waterford Links Directory - Irish Links Directory" href="http://www.upthedeise.com/links/" target="_blank">Waterford Links Directory</a></p>
<p>This directory has an impressive root Google Page Rank of 5 and so anyone with a website in Waterford (and a bit of sense) should submit their site to it as soon as they read this!!!</p>
<p>Another free directory, which will soon become popular is <a href="http://www.linklusters.com">LinkLusters.com, an Irish Links Directory</a></p>
<p>They are both moderated directories and so only quality links will appear on them which means your own site can only benefit from being on it.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.waterfordwebdesign.ie%2Ffree-waterford-links-directory-irish-links-directory%2F&amp;linkname=Free%20Waterford%20Links%20Directory%20%26%238211%3B%20Irish%20Links%20Directory"><img src="http://www.waterfordwebdesign.ie/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.waterfordwebdesign.ie/free-waterford-links-directory-irish-links-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
