<?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>Web Hosting Blog From Pixel Internet &#187; Problems/Solutions</title>
	<atom:link href="http://www.pixelinternet.co.uk/blog/category/web-hosting-problems-solutions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pixelinternet.co.uk/blog</link>
	<description>Web Hosting Blog from Pixel Internet</description>
	<lastBuildDate>Thu, 09 Feb 2012 08:28:39 +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>Quick Tips To Reduce Your Website Bounce Rate</title>
		<link>http://www.pixelinternet.co.uk/blog/1216/quick-tips-to-reduce-your-website-bounce-rate/</link>
		<comments>http://www.pixelinternet.co.uk/blog/1216/quick-tips-to-reduce-your-website-bounce-rate/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 08:04:01 +0000</pubDate>
		<dc:creator>Freya</dc:creator>
				<category><![CDATA[Problems/Solutions]]></category>
		<category><![CDATA[Analytics]]></category>
		<category><![CDATA[bounce rate]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.pixelinternet.co.uk/blog/?p=1216</guid>
		<description><![CDATA[Your website bounce rate is usually shown as a percentage, and refers to the number of people who land on your website and then leave again without navigating to another page on the same website. A low bounce rate can suggest that the user hasn&#8217;t found what they&#8217;re looking for, or that they don&#8217;t consider [...]
Related posts:<ol>
<li><a href='http://www.pixelinternet.co.uk/blog/1167/top-tips-for-improving-your-site-speed/' rel='bookmark' title='Top Tips For Improving Your Site Speed'>Top Tips For Improving Your Site Speed</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/34/seo-tips-our-top-10-on-how-to-improve-your-website-rankings/' rel='bookmark' title='SEO Tips &#8211; Our top 10 on how to improve your website rankings'>SEO Tips &#8211; Our top 10 on how to improve your website rankings</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/158/website-builder-plus/' rel='bookmark' title='Website Builder Plus'>Website Builder Plus</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pixelinternet.co.uk%2Fblog%2F1216%2Fquick-tips-to-reduce-your-website-bounce-rate%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pixelinternet.co.uk%2Fblog%2F1216%2Fquick-tips-to-reduce-your-website-bounce-rate%2F&amp;source=pixelinternet&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Your website bounce rate is usually shown as a percentage, and refers to the number of people who land on your website and then leave again without navigating to another page on the same website.</p>
<p>A low bounce rate can suggest that the user hasn&#8217;t found what they&#8217;re looking for, or that they don&#8217;t consider the content on your site valuable enough to be worth sticking around. Having said that, it&#8217;s worth noting that a high bounce rate isn&#8217;t always a bad thing, and certain pages can lend themselves to having high bounce rates (blog posts for example, or in-depth, detailed content that gives the user exactly what they were looking for so they don&#8217;t feel they need to continue reading).</p>
<p>It&#8217;s also worth trying to lower your bounce rate however, even on these kinds of pages, as your visitors sticking around and viewing more pages can only be a good thing. Whilst bounce rate is often related to the quality of your content, there are a few simple steps you can take to try and improve your bounce rate, either on specific pages or on a sitewide basis:</p>
<ul>
<li>Use &#8216;Read More&#8217; or &#8216;Related Posts&#8217;<br />
This is an excellent way of keeping users on your site, and is used by most of the big blogging, news and magazine sites (e-commerce sites also use a similar tactic to try and keep you spending, like Amazon&#8217;s &#8216;Customers who bought this also bought&#8230;&#8217; section). Adding some related posts or pages at the bottom of your content can be a great way of ensuring your bounce rate decreases &#8211; if you&#8217;re using a WordPress based blog, there are a bunch of excellent plugins that can automate the process for you.</li>
</ul>
<ul>
<li>Include links on your 404 pages<br />
If someone clicks on a broken link to your site, or mistypes the URL, they&#8217;ll likely land on a 404 error page. If there&#8217;s nothing on this page but a simple error, they may well leave altogether (and probably never come back). Try adding some links to your 404 pages so that if someone does land on one, they&#8217;re more likely to stay on the site and continue reading.</li>
</ul>
<ul>
<li>Try and improve the overall loading speed of your website<br />
Not only is site speed an important factor when it comes to search engine optimisation, but it&#8217;s an essential element of your overall usability and can have a notable impact on your bounce rate. Internet users aren&#8217;t always the most patient of people and if your site loads slowly then you might find that people click away before the page has loaded. Improving your site speed therefore can remove these clicks away from your site, subsequently improving your bounce rate.</li>
</ul>
<ul>
<li>Improve your content<br />
Poor or shallow content is a big factor when it comes to high bounce rates; isolate the pages on your website with the highest bounce rate (you can do this using Google Analytics) and evaluate the content on those pages. Try tweaking it or adding to it, add images and video or find a new angle on the subject matter &#8211; whatever it takes to improve the quality of the content for the user. You can then monitor these changes in terms of bounce rate via Google Analytics and try to get a good idea of what works and what doesn&#8217;t in terms of content (you can then use this to inform the content for the rest of your website).</li>
</ul>
<p>The most important thing is to always be trying to improve your website, in terms of usability, navigation and content. The more useful you can make your content to the visitor, the more likely you are to have a website with a low bounce rate and a high quality, dedicated audience-based (which can then be leveraged or monetised through a wide variety of methods).</p>
<p>Related posts:<ol>
<li><a href='http://www.pixelinternet.co.uk/blog/1167/top-tips-for-improving-your-site-speed/' rel='bookmark' title='Top Tips For Improving Your Site Speed'>Top Tips For Improving Your Site Speed</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/34/seo-tips-our-top-10-on-how-to-improve-your-website-rankings/' rel='bookmark' title='SEO Tips &#8211; Our top 10 on how to improve your website rankings'>SEO Tips &#8211; Our top 10 on how to improve your website rankings</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/158/website-builder-plus/' rel='bookmark' title='Website Builder Plus'>Website Builder Plus</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelinternet.co.uk/blog/1216/quick-tips-to-reduce-your-website-bounce-rate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top Tips For Improving Your Site Speed</title>
		<link>http://www.pixelinternet.co.uk/blog/1167/top-tips-for-improving-your-site-speed/</link>
		<comments>http://www.pixelinternet.co.uk/blog/1167/top-tips-for-improving-your-site-speed/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 12:57:01 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Problems/Solutions]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[site speed]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.pixelinternet.co.uk/blog/?p=1167</guid>
		<description><![CDATA[The loading speed of your website is a crucial element to the overall popularity, traffic and subsequent conversions of your site, for numerous different reasons. The speed of a website is an important SEO element, as Google (and other search engines) are reluctant to reward slow-loading sites with high rankings. So your site speed can [...]
Related posts:<ol>
<li><a href='http://www.pixelinternet.co.uk/blog/1216/quick-tips-to-reduce-your-website-bounce-rate/' rel='bookmark' title='Quick Tips To Reduce Your Website Bounce Rate'>Quick Tips To Reduce Your Website Bounce Rate</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/358/give-wordpress-a-kick-start/' rel='bookmark' title='Tips to Give WordPress a Kick Start'>Tips to Give WordPress a Kick Start</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/42/fatal-error-allowed-memory-size-of-8388608-bytes-exhausted/' rel='bookmark' title='Fatal error: Allowed memory size of 8388608 bytes exhausted'>Fatal error: Allowed memory size of 8388608 bytes exhausted</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pixelinternet.co.uk%2Fblog%2F1167%2Ftop-tips-for-improving-your-site-speed%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pixelinternet.co.uk%2Fblog%2F1167%2Ftop-tips-for-improving-your-site-speed%2F&amp;source=pixelinternet&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>The loading speed of your website is a crucial element to the overall popularity, traffic and subsequent conversions of your site, for numerous different reasons. The speed of a website is an important SEO element, as Google (and other search engines) are reluctant to reward slow-loading sites with high rankings.</p>
<p>So your site speed can affect the amount of traffic your website receives, particularly from search engines, but what about when users reach your website? Research has shown that a significant percentage of people will click away from a website that takes too long to load, with the vast majority of those users <em>never </em>returning to the website after that one negative experience.</p>
<p>Even if a user is patient and waits for your content to load, it&#8217;s unlikely that they will wait for every page to load, and if you&#8217;re an ecommerce site they&#8217;re far more unlikely to trust your site with their credit card details if it&#8217;s slow loading.</p>
<p>With such an impact on the perception and usage of your website, you can see why a site with a low speed should be addressed as quickly as possible. So how can we go about improving our site speed? Here are some top tips for doing just that:</p>
<p><strong>1. Find out your current site speed</strong><br />
You&#8217;ll need to figure out how fast your site is compared to other websites before you start addressing any potential issues; whilst general checks are a good way to judge generally, a lot of it could be related to your internet connection so you&#8217;ll need to use an external tool that can give you far more specific information.</p>
<p>The best tool for this is the site speed section in Google Webmaster Tools, as this is provided by Google and gives you an accurate idea of your site speed compared to the majority of other sites.</p>
<p><strong>2. Combine and externalise CSS files<br />
</strong>Your website is far more likely to load quickly if it can reference one <em>external </em>cascading style sheet (CSS), rather than a difference CSS file for each page. Combine them all into one and minimise the source code as much as you can.</p>
<p><strong>3. Compress your content<br />
</strong>HTTP compression can be an excellent method for reducing your site speed, as it combines all of your website data into one file, rather than needed to request and reference numerous different files.</p>
<p><strong>4. Optimise your website images<br />
</strong>This is an important element in improving your overall site speed and can have a surprisingly notable impact. Different file formats (jpg, jpeg, png, gif, etc) have a varying impact on site speed, with some file extensions causing a substantial increase in file size. Know when to use the correct formats and optimise your images with site speed in mind (for example, GIF files tend to load quicker than JPEG or PNG files).</p>
<p><strong>5. Put your Google Analytics code in the footer or at the bottom<br />
</strong>If your GA code is at the top of your HTML document, then the browser will load this information before anything below, giving the impression that the site is loading slowly. Move your GA code to the footer or lower down the HTML body to ensure that browsers load your page content before the analytics, making the page seem much faster to users.</p>
<p>&nbsp;</p>
<p>Related posts:<ol>
<li><a href='http://www.pixelinternet.co.uk/blog/1216/quick-tips-to-reduce-your-website-bounce-rate/' rel='bookmark' title='Quick Tips To Reduce Your Website Bounce Rate'>Quick Tips To Reduce Your Website Bounce Rate</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/358/give-wordpress-a-kick-start/' rel='bookmark' title='Tips to Give WordPress a Kick Start'>Tips to Give WordPress a Kick Start</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/42/fatal-error-allowed-memory-size-of-8388608-bytes-exhausted/' rel='bookmark' title='Fatal error: Allowed memory size of 8388608 bytes exhausted'>Fatal error: Allowed memory size of 8388608 bytes exhausted</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelinternet.co.uk/blog/1167/top-tips-for-improving-your-site-speed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Hosting for Game Servers</title>
		<link>http://www.pixelinternet.co.uk/blog/155/web-hosting-for-game-servers/</link>
		<comments>http://www.pixelinternet.co.uk/blog/155/web-hosting-for-game-servers/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 21:25:09 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Did You Know?]]></category>
		<category><![CDATA[Problems/Solutions]]></category>
		<category><![CDATA[game hosting]]></category>
		<category><![CDATA[game servers]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://www.pixelinternet.co.uk/blog/?p=155</guid>
		<description><![CDATA[The internet offers you many games to play.These games are played online through game server connections, which are offered by game server providers.A game server is a remotely or locally run server that game clients use to play multiplayer games. Dedicated game servers are provided by companies called game server providers.Today, game server web hosting [...]
Related posts:<ol>
<li><a href='http://www.pixelinternet.co.uk/blog/371/new-dedicated-servers/' rel='bookmark' title='New Dedicated Servers!'>New Dedicated Servers!</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/157/static-and-shared-ip-web-hosting/' rel='bookmark' title='Static and Shared IP Web Hosting'>Static and Shared IP Web Hosting</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/149/multi-domain-hosting-and-the-concept-behind-it/' rel='bookmark' title='Multi Domain Hosting and the Concept behind it'>Multi Domain Hosting and the Concept behind it</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pixelinternet.co.uk%2Fblog%2F155%2Fweb-hosting-for-game-servers%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pixelinternet.co.uk%2Fblog%2F155%2Fweb-hosting-for-game-servers%2F&amp;source=pixelinternet&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>The internet offers you many games to play.These games are played online through game server connections, which are offered by game server providers.A game server is a remotely or locally run server that game clients use to play multiplayer games.</p>
<p>Dedicated game servers are provided by companies called game server providers.Today, game server web hosting is one of the fastest growing segments of the web hosting industry.</p>
<p>Game server web hosting is found in two varieties; listen and dedicated servers.In case of listen servers, a player can play simultaneously host and take part in the game as the server runs with the game.These servers are usually operated by individuals in LAN networks and not over the internet.</p>
<p>It is also possible for dedicated game server web hosting to be run by individuals.The difference here is that it is usually run on dedicated hardware that is found in data centres so that they can provide more bandwidth and dedicated processing power.Most of the PC based multiplayer games found today use dedicated servers for their hosting purposes.</p>
<p>When compared to traditional hosting, game hosting proves to be a more demanding form of web hosting.The reason is that it needs a specific amount of formatted server space so that it can meet the requirements of all players simultaneously playing a game.With millions of consumers looking to play online games, game servers have to provide reliable and dedicated web hosting.</p>
<p>Apart from heavy traffic, you also have to make sure that the game server provides you with easy to use control panels .These control panels should let the site owner automate and organize processes easily.This feature is important in game servers because online gaming players look out for efficient customers support and services in gaming sites.These sites also use many applications and software updates, which can be provided only through a good control panel feature in the web hosting plan.</p>
<p>Related posts:<ol>
<li><a href='http://www.pixelinternet.co.uk/blog/371/new-dedicated-servers/' rel='bookmark' title='New Dedicated Servers!'>New Dedicated Servers!</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/157/static-and-shared-ip-web-hosting/' rel='bookmark' title='Static and Shared IP Web Hosting'>Static and Shared IP Web Hosting</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/149/multi-domain-hosting-and-the-concept-behind-it/' rel='bookmark' title='Multi Domain Hosting and the Concept behind it'>Multi Domain Hosting and the Concept behind it</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelinternet.co.uk/blog/155/web-hosting-for-game-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fatal error: Allowed memory size of 8388608 bytes exhausted</title>
		<link>http://www.pixelinternet.co.uk/blog/42/fatal-error-allowed-memory-size-of-8388608-bytes-exhausted/</link>
		<comments>http://www.pixelinternet.co.uk/blog/42/fatal-error-allowed-memory-size-of-8388608-bytes-exhausted/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 08:04:49 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Problems/Solutions]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php errors]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[web hosting tutorials]]></category>

		<guid isPermaLink="false">http://www.pixelinternet.co.uk/blog/?p=42</guid>
		<description><![CDATA[It todays Web Hosting Tutorial we are going to cover how to change your PHP file upload limit to avoind the following error: &#8216;Fatal error: Allowed memory size of 8388608 bytes exhausted&#8217;? PHP has a built-in limit on the amount of memory it will allocate. If that limit is reached, the process will exit with [...]
Related posts:<ol>
<li><a href='http://www.pixelinternet.co.uk/blog/40/my-php-script-gives-the-error-call-to-undefined-function-mysql_connect/' rel='bookmark' title='My PHP script gives the error &#8216;Call to undefined function: mysql_connect()&#8217;'>My PHP script gives the error &#8216;Call to undefined function: mysql_connect()&#8217;</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/32/how-to-create-a-custom-phpini-file/' rel='bookmark' title='How to create a custom php.ini file'>How to create a custom php.ini file</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/116/how-to-fix-internet-explorer-cannot-open-the-internet-site-operation-aborted-error/' rel='bookmark' title='How to Fix “Internet Explorer Cannot Open the Internet Site- Operation Aborted” Error'>How to Fix “Internet Explorer Cannot Open the Internet Site- Operation Aborted” Error</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pixelinternet.co.uk%2Fblog%2F42%2Ffatal-error-allowed-memory-size-of-8388608-bytes-exhausted%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pixelinternet.co.uk%2Fblog%2F42%2Ffatal-error-allowed-memory-size-of-8388608-bytes-exhausted%2F&amp;source=pixelinternet&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>It todays Web Hosting Tutorial we are going to cover how to change your PHP file upload limit to avoind the following error:</p>
<p><strong>&#8216;Fatal error: Allowed memory size of 8388608 bytes exhausted&#8217;?</strong></p>
<p>PHP has a built-in limit on the amount of memory it will allocate. If that limit is reached, the process will exit with this error message. This is usually the result of the PHP script trying to load a large file, such as an image, into memory all at once. While it is better if you can arrange for the script not to do such things, it is also possible to increase the memory limit some to avoid this problem. To do that, edit the php.ini file with your PHP scripts (create it if it does not exist) and add the following line:</p>
<p><strong>memory_limit=16M</strong></p>
<p>You should replace the &#8217;16&#8242; with whatever value is appropriate. The default is 8M (8 megabytes, the 8388608 bytes from the error message).</p>
<p>Thats it! You&#8217;ve just increased your PHP file upload limit. Well done you!</p>
<p>Click here to find out <a title="How to create a custom php.ini file" href="http://www.pixelinternet.co.uk/blog/2008/06/how-to-create-a-custom-phpini-file/">how to create a custom php.ini</a> file.</p>
<p>Related posts:<ol>
<li><a href='http://www.pixelinternet.co.uk/blog/40/my-php-script-gives-the-error-call-to-undefined-function-mysql_connect/' rel='bookmark' title='My PHP script gives the error &#8216;Call to undefined function: mysql_connect()&#8217;'>My PHP script gives the error &#8216;Call to undefined function: mysql_connect()&#8217;</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/32/how-to-create-a-custom-phpini-file/' rel='bookmark' title='How to create a custom php.ini file'>How to create a custom php.ini file</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/116/how-to-fix-internet-explorer-cannot-open-the-internet-site-operation-aborted-error/' rel='bookmark' title='How to Fix “Internet Explorer Cannot Open the Internet Site- Operation Aborted” Error'>How to Fix “Internet Explorer Cannot Open the Internet Site- Operation Aborted” Error</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelinternet.co.uk/blog/42/fatal-error-allowed-memory-size-of-8388608-bytes-exhausted/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Possible issues with OSCommerce and MySQL5</title>
		<link>http://www.pixelinternet.co.uk/blog/41/possible-issues-with-oscommerce-and-mysql5/</link>
		<comments>http://www.pixelinternet.co.uk/blog/41/possible-issues-with-oscommerce-and-mysql5/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 07:52:19 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Problems/Solutions]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL5]]></category>
		<category><![CDATA[OSCommerce]]></category>

		<guid isPermaLink="false">http://www.pixelinternet.co.uk/blog/?p=41</guid>
		<description><![CDATA[We have been made aware that some customers may have issues with their OSCommerce installations after your recent upgrade to MySQL5. To solve this, two files in the installation directory need to be changed. the first set of changes are needed to index.php. Remove the code below from that file &#8230; // show the products [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pixelinternet.co.uk%2Fblog%2F41%2Fpossible-issues-with-oscommerce-and-mysql5%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pixelinternet.co.uk%2Fblog%2F41%2Fpossible-issues-with-oscommerce-and-mysql5%2F&amp;source=pixelinternet&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>We have been made aware that some customers may have issues with their OSCommerce installations after your recent upgrade to MySQL5.</p>
<p>To solve this, two files in the installation directory need to be changed. the first set of changes are needed to index.php.</p>
<p>Remove the code below from that file &#8230;</p>
<p><code>// show the products of a specified manufacturer<br />
if (isset($HTTP_GET_VARS['manufacturers_id'])) {<br />
if (isset($HTTP_GET_VARS['filter_id']) &amp;&amp; tep_not_null($HTTP_GET_VARS['filter_id'])) {<br />
// We are asked to show only a specific category<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'";<br />
} else {<br />
// We show them all<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'";<br />
}<br />
} else {<br />
// show the products in a given categorie<br />
if (isset($HTTP_GET_VARS['filter_id']) &amp;&amp; tep_not_null($HTTP_GET_VARS['filter_id'])) {<br />
// We are asked to show only specific catgeory<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";<br />
} else {<br />
// We show them all<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";<br />
}<br />
}</code></p>
<p>Replace the code with this :-</p>
<p><code>// show the products of a specified manufacturer<br />
if (isset($HTTP_GET_VARS['manufacturers_id'])) {<br />
if (isset($HTTP_GET_VARS['filter_id']) &amp;&amp; tep_not_null($HTTP_GET_VARS['filter_id'])) {<br />
// We are asked to show only a specific category<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c ) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'";<br />
} else {<br />
// We show them all<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'";<br />
}<br />
} else {<br />
// show the products in a given categorie<br />
if (isset($HTTP_GET_VARS['filter_id']) &amp;&amp; tep_not_null($HTTP_GET_VARS['filter_id'])) {<br />
// We are asked to show only specific catgeory<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";<br />
} else {<br />
// We show them all<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from ((" . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p) left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";<br />
}<br />
}<br />
</code></p>
<p>The second line that needs editing is advanced_search_results.php</p>
<p>Remove the following code &#8230;..</p>
<p><code>// show the products of a specified manufacturer<br />
if (isset($HTTP_GET_VARS['manufacturers_id'])) {<br />
if (isset($HTTP_GET_VARS['filter_id']) &amp;&amp; tep_not_null($HTTP_GET_VARS['filter_id'])) {<br />
// We are asked to show only a specific category<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'";<br />
} else {<br />
// We show them all<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'";<br />
}<br />
} else {<br />
// show the products in a given categorie<br />
if (isset($HTTP_GET_VARS['filter_id']) &amp;&amp; tep_not_null($HTTP_GET_VARS['filter_id'])) {<br />
// We are asked to show only specific catgeory<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";<br />
} else {<br />
// We show them all<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";<br />
}<br />
} </code></p>
<p>Replace the code with this :-</p>
<p><code>// show the products of a specified manufacturer<br />
if (isset($HTTP_GET_VARS['manufacturers_id'])) {<br />
if (isset($HTTP_GET_VARS['filter_id']) &amp;&amp; tep_not_null($HTTP_GET_VARS['filter_id'])) {<br />
// We are asked to show only a specific category<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c ) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'";<br />
} else {<br />
// We show them all<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'";<br />
}<br />
} else {<br />
// show the products in a given categorie<br />
if (isset($HTTP_GET_VARS['filter_id']) &amp;&amp; tep_not_null($HTTP_GET_VARS['filter_id'])) {<br />
// We are asked to show only specific catgeory<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from (" . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";<br />
} else {<br />
// We show them all<br />
$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from ((" . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p) left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";<br />
}<br />
} </code></p>
<p>The second line that needs editing is advanced_search_results.php</p>
<p>Remove the following code &#8230;..</p>
<p><code>$from_str = "from " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m using(manufacturers_id), " . TABLE_PRODUCTS_DESCRIPTION . " pd left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_CATEGORIES . " c, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c"; </code></p>
<p>Replace it with this &#8230;..</p>
<p><code>$from_str = "from ((" . TABLE_PRODUCTS . " p) left join " . TABLE_MANUFACTURERS . " m using(manufacturers_id), " . TABLE_PRODUCTS_DESCRIPTION . " pd) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_CATEGORIES . " c, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c"; </code></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelinternet.co.uk/blog/41/possible-issues-with-oscommerce-and-mysql5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My PHP script gives the error &#8216;Call to undefined function: mysql_connect()&#8217;</title>
		<link>http://www.pixelinternet.co.uk/blog/40/my-php-script-gives-the-error-call-to-undefined-function-mysql_connect/</link>
		<comments>http://www.pixelinternet.co.uk/blog/40/my-php-script-gives-the-error-call-to-undefined-function-mysql_connect/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 07:35:11 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Problems/Solutions]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php errors]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[web hosting tutorials]]></category>

		<guid isPermaLink="false">http://www.pixelinternet.co.uk/blog/?p=40</guid>
		<description><![CDATA[My PHP script gives the error &#8216;Call to undefined function: mysql_connect()&#8217; This is usually due to a faulty php.ini file causing the PHP MySQL functions to be undefined. A custom php.ini file should not need to contain more than a very few lines to override the specific necessary directives. Using a php.ini found on other [...]
Related posts:<ol>
<li><a href='http://www.pixelinternet.co.uk/blog/42/fatal-error-allowed-memory-size-of-8388608-bytes-exhausted/' rel='bookmark' title='Fatal error: Allowed memory size of 8388608 bytes exhausted'>Fatal error: Allowed memory size of 8388608 bytes exhausted</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/37/how-do-i-query-a-mysql-database-from-a-php-script/' rel='bookmark' title='How do I query a MySQL database from a PHP script?'>How do I query a MySQL database from a PHP script?</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/32/how-to-create-a-custom-phpini-file/' rel='bookmark' title='How to create a custom php.ini file'>How to create a custom php.ini file</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pixelinternet.co.uk%2Fblog%2F40%2Fmy-php-script-gives-the-error-call-to-undefined-function-mysql_connect%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pixelinternet.co.uk%2Fblog%2F40%2Fmy-php-script-gives-the-error-call-to-undefined-function-mysql_connect%2F&amp;source=pixelinternet&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>My PHP script gives the error &#8216;Call to undefined function: mysql_connect()&#8217;</strong></p>
<p>This is usually due to a faulty <span class="glossary_not_highlighted">php</span>.ini <span class="glossary_not_highlighted">file</span> causing the <span class="glossary_not_highlighted">PHP</span> <span class="glossary_not_highlighted">MySQL</span> functions to be undefined. A custom <span class="glossary_not_highlighted">php</span>.ini <span class="glossary_not_highlighted">file</span> should not need to contain more than a very few lines to override the specific necessary directives. Using a <span class="glossary_not_highlighted">php</span>.ini found on other webservers or examples given on <span class="glossary_not_highlighted">PHP</span>-related <span class="glossary_not_highlighted">websites</span> will likely cause problems such as this.</p>
<p>Related posts:<ol>
<li><a href='http://www.pixelinternet.co.uk/blog/42/fatal-error-allowed-memory-size-of-8388608-bytes-exhausted/' rel='bookmark' title='Fatal error: Allowed memory size of 8388608 bytes exhausted'>Fatal error: Allowed memory size of 8388608 bytes exhausted</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/37/how-do-i-query-a-mysql-database-from-a-php-script/' rel='bookmark' title='How do I query a MySQL database from a PHP script?'>How do I query a MySQL database from a PHP script?</a></li>
<li><a href='http://www.pixelinternet.co.uk/blog/32/how-to-create-a-custom-phpini-file/' rel='bookmark' title='How to create a custom php.ini file'>How to create a custom php.ini file</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelinternet.co.uk/blog/40/my-php-script-gives-the-error-call-to-undefined-function-mysql_connect/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

