Web Design Articles

PrestaShop Exception Validation Error

Posted by on 3 August 2016

A recent install of PrestaShop v1.6 was throwing an Exception Error when trying to convert a cart to an order. This happened when the customer paid or in the back office converting a cart to an order manually. It was only happening in some instances and only on the live server not my local copy. Hence, it was tricky to track down the culprit.

Read the full post

SilverStripe Multiple Session Messages UPDATED!

Posted by on 21 January 2015

In a few jobs recently I have found the need for multiple session messages. I found the standard form message only lets you add one message or one per field. Please use / modify the following code to get multiple session messages.

Read the full post

SilverStripe file upload limit error

Posted by on 8 January 2015

If you receive an error when uploading files in SilverStripe along the lines of ‘Upload failed, Filesize exceeds 2 MB’ then try adding these lines to php.ini and adding to your root folder.

Read the full post

Installing Magento crashes WAMP - SOLUTION

Posted by on 10 April 2014

I was testing Magento 1.8.1 on my local WAMP server and could not get past the installation (or even to the installation).

Read the full post

Google Analytics not tracking PayPal transactions

Posted by on 21 February 2014

If you are running a Prestashop 1.5+ store and also using Google Analytics then you should be using Goals to track your sales.

Read the full post

Prestashop - Cart rules query problem [SOLVED]

Posted by on 20 December 2013

There is a severe problem in Prestashop when trying to edit a cart rule. This occurs when you have many rules and are using the compatibility section. A poorly constructed query in Prestashop's code causes the page to take an extraordinarily long time to run or just time out. On one client's site it was browsing over one billion rows!

Read the full post

Serving larger files via PHP readfile() function

Posted by on 20 May 2013

header('Content-Transfer-Encoding: binary'); header('Content-Type: '.$mime_type); header('Content-Length: '.$size); if ( $mime_type != 'video/x-flv') header('Content-Disposition: attachment; filename="'.$filename.'"'); $chunksize = 1 * (1024 * 1024); // how many bytes per chunk if ($size > $chunksize) { $handle = fopen($file, 'rb'); $buffer = ''; while (!feof($handle)) { $buffer = fread($handle, $chunksize); echo $buffer; ob_flush(); flush(); } fclose($handle); } else { readfile($file); }

Read the full post

Silverstripe Tips

Posted by on 12 December 2011

I have been working with SilverStripe lately and thought I would add some tips for a few various things as documentation is pretty hard to find what you are looking for.

Read the full post

Update: Display HTML in Prestashop Category Description (v 1.4)

Posted by on 29 July 2011

Update for Prestashop version 1.4.7 When you enter a category into Prestashop you have the ability to enter a description. This only allows text though - no HTML.

Read the full post

Prestashop display HTML in category description

Posted by on 11 August 2010

NOTE: This post has an updated version for Prestashop 1.4.[blog/index.php/archive/update-display-html-in-prestashop-category-description-v-1-4/]

Read the full post

Like to make an inquiry? Contact Us