Edmonds Commerce : Web Development, Design, SEO

Archive for April, 2008

Plesk Web Fusion PHP Limits

Friday, April 25th, 2008

While recently migrating a client from a dedicated server which was proving a little too expensive over to one of the great value Linux Virtual Private Servers offered by Web Fusion, I found myself frustrated with the 2mb upload limit apparent in the control panel side of things.

So I went and edited the php.ini to allow for a more generous upload limit. Restarted the server but to no effect.

After a closer inspection I realised that the Plesk control panel actually had its own separate php.ini file. Edited this file and it works.

Another Problem Solved :-)

Populating osCommerce and other Ecommerce Platforms

Wednesday, April 23rd, 2008

One of the most arduous task in maintaining and ecommerce web site is the constant task of keeping all of your products up to date. Suppliers like to release new price lists and product ranges on at least a yearly basis. Just when you have managed to get your web site completely up to date, the rug is pulled out from under you and you have to start all over again…

Its a never ending task and if not handled carefully can soak up ridiculous amounts of staff time. Staff time means expense as any business financial director will tell you on wages day.

There are some great gains to be made in automating the task of keeping a product catalogue up to date. The popular ecommerce platform osCommerce has a contribution called easypopulate which is an essential addition. CREloaded and other flavours of enhanced osCommerce tend to ship with easypopulate installed by default.

Its a great script, but for a very large site with a lot of demands the script does need a little extra work to make it the fully fledged backup, restore, update and insert products tool that a serious ecommerce business needs.

Most platforms either come with or have contributions or modules you can install to enable bulk importing and updating of products which definitely makes things faster. However if you are finding that you or your staff are creating these spreadsheets by hand in your spreadsheet programme then there are still amazing efficiences to be achieved.

In fact, once you get really serious, you start hitting the row limits of common spread sheet programmes which means you literally can not open the entire product feed for editing. Once you are at this kind of size (or a lot less) you will find that your computer is very sluggish and editing becomes a slow and tedious task.

A much better way is to use custom written scripts for processing your information into the correct format for your bulk updating system. This is something that Edmonds Commerce specialise in and we have many happy customers who are saving countless hours by having software for the hard work.

The ultimate solution is to recieve product information in a feed from your suppliers. This is generally a very fast and reliable way of grabbing all of the product information for a particular supplier. However not all suppliers supply a feed. Others do supply a feed, but it is missing crucial information.

In this kind of scenario, it is usually possible to actually develop a script which will grab all of the required information and images directly from your suppliers web site. The familiar copying and pasting scenario but done by a script rather than a member of staff. Thousands of products can be grabbed in an hour and all outputed into a file correctly formatted for immediate upload into your bulk updating system such as Easypopulate for oscommerce.

Again this is a real speciality of Edmonds Commerce, though you may find that the average web design company does not have this kind of service to offer as it is a bit unusual and involves a steep learning curve.

For more information on this subject please do get in touch

Demonoid is Back - The Return of Demonoid.com

Thursday, April 17th, 2008

Like a pheonix rising from the ashes, Demonoid - one of the most highly regarded torrent trackers on the internet has returned after being shut down back in November 2007.

For anyone that was a member of Demonoid, this is amazing news as it truly was/is one of those resources that once you have had it, you feel like you can not live without it.

So well done to the people behind demonoid, may it continue to be the premier site for finding all of the torrents you need.

After a rollercoaster ride of ups and downs responding to pressure from the dutch and then (after a quick relocation) the canadian authorities the site was taken down completely in November 2007.

Now the site has returned, albeit with a new web master as Deimos has stood down from administering the site.

Hopefully Demonoid is here to stay this time. You can’t keep a good web site down!

Related Blogs
rizalrenaldi.blogsome.com/
torrentfreak.com
thinkingnectar.com
jaux.net
mattymc99.wordpress.com
colouroftelevision.com
tipandtrick.net
nathanr.ca
techienation.com

Chemos SEO URLS for osCommerce

Wednesday, April 16th, 2008

One of the most popular SEO contributions (community supplied open source modifications) for osCommerce is the SEO URLs system supplied by Chemo.

Chemo was famous on the osCommerce scene for a long time and supplied a great many highly useful contributions. One of his best contributions to osCommerce in my opinion is this forum thread where he investigates and discusses the steps needed to speed up the standard osCommerce.

For any store with a large catalogue, some of these steps are pretty much essential. Whilst the thread does not cover every single thing that a large site would need to do in order to get down to fraction of a second load times, it does cover a lot - and it also gives you the ideas you need to track down further areas in the osCommerce code base that are not as efficient as they could be.

Chemo’s SEO URLs though are not a contribution I would recommend installing on any site that has a large catalogue. The reason being that Chemo has sacrificed a lot in terms of performance in order to make the contribution easy to set up for the average web master. I totally applaud his generosity in developing such a contribution and for many sites it will perform admirably with no need for special PHP skills to install.

At Edmonds Commerce we have tackled speed issues for large osCommerce sites and have found that we needed to code our own SEO URLs system which is much more streamlined but does require a lot more edits and customisations to work.

If you are interested in getting your osCommerce store to run fast, or would like more info about our SEO URLs system - simply get in touch.

File Comparison on Ubuntu

Tuesday, April 15th, 2008

If you are a windows user, you may be familiar with the Beyond Compare programme which is used to compare two text files. This can be an invaluable tool when you are debugging or tracking changes as it highlights for you any differences between two text files.

For Ubuntu, there is an excellent programme called Meld which offers the same functionality and works very well. You can download and install it easily using the Add/Remove tool in your applications menu.

You can read all about Meld here

Another great open source linux package!

MySQL Dump Partial Restore - Split MySQL Dump into Tables

Wednesday, April 9th, 2008

MySQL dumps are often used as a quick and easy way of backing up an entire MySQL database in one go. However, they are only really designed to restore whole databases as well. So what if you only want to restore certain tables?

I have written this nice little PHP script which will take your dump file and split it into lots of little sql files - one for each table. You can then restore which ever tables you want.

Simply create a php file in the same directory as your dump file. Name it something easy to remember. Then go to it in your web browser, input the name of the dump file and click go.

As this is a fairly massive task (depending on the size of your dump file) you may find it works better on your local test server with some generous php_ini settings for max_execution_time etc.

PHP:
  1. <?php
  2. /*MySQL Dump Split to Tables
  3. * script supplied by Edmonds Commerce
  4. * www.edmondscommerce.co.uk
  5. * if you like it, please link back with a do-follow
  6. */
  7. echo '<h1>MySQL Dump Split to Tables</h1>';
  8. if(!isset($_GET['dump_file'])){
  9.     echo '<form><b>Dump File Path:</b> <input name="dump_file"> <input type="submit" value="go"></form>';
  10. }else{
  11.     $handle = @fopen($_GET['dump_file'], "r");
  12.     if ($handle) {
  13.         while (!feof($handle)) {
  14.             $line = fgets($handle);
  15.             if(strstr($line, 'CREATE TABLE')){
  16.                 if(isset($out)){
  17.                     fclose($out);
  18.                     unset($out);
  19.                 }
  20.                 preg_match('%CREATE TABLE `(.+?)`%', $line, $matches);
  21.                 $table_name = $matches[1];
  22.                 $out = fopen($table_name . '.sql', 'w');
  23.                 fwrite($out, $line . "\n");
  24.             }else{
  25.                 if(isset($out)){
  26.                     fwrite($out, $line . "\n");
  27.                 }
  28.             }   
  29.         }
  30.         fclose($out);
  31.         fclose($handle);
  32.     }   
  33. }
  34. echo '<h1>Done</h1>'
  35. ?>

Meta Title Tag and SEO

Tuesday, April 8th, 2008

There are some very complicated aspects to a successful on page search engine optimisation strategy. However there are also some incredibly simple ones.

At the very top of the list of simple things you can do to improve your SEO is to make sure that your <title> tag contains a unique and descriptive page title for each and every page of your web site.

If you have a smaller site with not too many pages then you can handle this by hand. On the other hand, if you have an ecommerce store for example with hundreds or thousands of products and categories then it is going to be easier to build in some kind of dynamic title functionality.

Edmonds Commerce have helped out numerous web masters by implementing a bespoke and automatic dynamic meta tag system which creates a highly optimised title for each and every page.

If you would like us to help you out, simply get in touch.