home | contact us
» » June



 

If you are struggling with a weird bug with DomPDF, something about it trying to connect to a postgres database..

well here is the solution that will get you up and running:

open the file and make the init method just return false

class Page_Cache {
    const DB_USER = "dompdf_page_cache";
    const DB_PASS = "some meaningful password";
    const DB_NAME = "dompdf_page_cache";

    static private $__connection = null;

    function init() {
        return false;
        if (is_null(self::$__connection)) {
            $con_str = "host=" . DB_HOST .
                    " dbname=" . self::DB_NAME .
                    " user=" . self::DB_USER .
                    " password=" . self::DB_PASS;

            if (!self::$__connection = pg_connect($con_str))
                throw new Exception("Database connection failed.");
        }
    }

Not sure really why this is trying to do this, obviously some kind of hard coded postgres caching system but anyway this fixed it.


 

The indexes for your Magento site should be refreshed on a regular basis. To help you do this you can put the below code in a PHP file in the root of your web site and setup a scheduled task to call it periodically.


require_once 'app/Mage.php';
$app = Mage::app('admin');
umask(0);
for ($i = 1; $i <= 8; $i++) {
    $process = Mage::getModel('index/process')->load($i);
    $process->reindexAll();
}

 


 


 

Magento Upgrade with Custom Modules Rewrite

The aim of this project was to upgrade a store from 1.3 to 1.5, without losing the functionality of the site. The old version had had its core files modified, requiring a forensic examination of them in order to find and extract what had been changed.

Love My Frames

Love My Frames is run by highly trained technicians with over 40 years’ optical experience, offering the kind of personal service you would normally expect from a high street opticians. Offering the best for considerably less, professional service and door-to-door delivery, they give their customers the ultimate shopping experience online plus the opportunity to purchase the very latest designs at a great price.

The project asked for a clean install and then rewrite of the existing store. The biggest part of the project was taking the existing layered navigation and rewriting it to work on all pages with a custom design.


 

Abordage – Magento Upgrade and multi language implementation

Abordage required a Magento Upgrade from 1.3 to the latest version. This was to ensure future compatibility with extensions and add new functionality.

Abordage

Abordage specialises in the production of quality scale wooden ship models and matching display cases.

Screen shot of Abordage Homepage

Implementing multiple languages can be interesting as it has to integrate well with existing site configuration. The implementation used works well.


 

Aston’s of London – Magento Upgrade

Aston’s of London required that their Magento site be upgraded from 1.3 CE to the latest version. This is required so that new functionality can be easily introduced on to the site when required.

Aston’s of London

Aston’s of London is an eCommerce company specialising in the sale of luxury jewellery, comfort items and gifts.

Screen Shot of Astons of London Home Page

This project was a standard upgrade from an older version of Magento to current dealing with issues related to the sites theme and extensions.


 

Single Page Magento Store With Affiliate Program and PayPal Link

The aim of this project was to condense a Magento store into a single page, offering both product information and payment options. The system is to integrate with PayPal and a custom affiliate system.

Golfer Within

Run by Roseanna Leaton, one of the leading practitioners of self-improvement. A keen 9-handicap golfer, Roseanna combined her knowledge of the game and the mind mechanism to create the acclaimed Golfer Within recordings which enable any player to lower their handicap

The Golfer Within PAge

This project asked for a one click option method linking Magento to PayPal and then back again, without having to use the normal checkout pages. This required creating custom magento controllers so the method wouldn’t interfere with the other stores running off the same back end.


 

Grass Seed Store – Migration from OSCommerce with Custom Functionality

The Grass Seeds Store wants to migrate away from OSCommerce to Magento in order to improve stock management. They also need to maintain DEFRA compliance and have custom reports generated to do so. The custom reporting was based on the sales of seeds.

The Grass Seed Store

The Grass Seed Store specialises in the sale of a many different types of grass seed, fertiliser and live stock pasture.

Screen Short of Grass Seed Store Magento Product

This project is a great example of customising Magento to be compliant with an industry governing body and shows that Magento can be used in almost any for the sale of any type of product. The project is currently a work in progress and the Magento implementation is currently only a wire frame demonstrating the functionality that is ultimately required.


 
rss icon