Tag Archives: OpenSource

Cardsave error “transaction date/time expired”

If you are using CardSave (UK Version) and you come across the following error:

This transaction cannot be processed. It was rejected because the passed transaction date/time has expired. Please press “Back” in your browser and resubmit the transaction.”

It’s caused by your server providing a different timezone to your CardSave Gateway. You need to setup your server/script time zone to UTC.  In PHP you can do this by simply adding this line to your script:  date_default_timezone_set(‘UTC’);

For example, I was having a problem with the Cardsave(hosted) payment extension for OpenCart.  If you are having the same problem do this:

  1. Open the file /catalog/controler/payment/cardsave_hosted.php
  2. Find this line  $this->data[‘fields’][‘TransactionDateTime’] = (date(“Y-m-d H:i:s”).  ‘ +00:00’);  (line 305 I think)
  3. Just before that line add this :  date_default_timezone_set(‘UTC’); 
  4. Upload file to server and you are sorted.

Technorati Tags: , , , , , ,

GIMP Tutorial and book

GIMP is the GNU Image Manipulation Program. It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. GIMP is a versatile graphics manipulation package and it works on Linux, Windows, Mac, OpenSolaris and FreeBSD. It is also available in many languages. The official GIMP Project website has a very good set of tutorials divided into the following levels:  Beginner, Intermediate, Expert, Photo Editing, Web and Script Authoring.

If you prefer to take your reading away from the screen here are some book that can teach you a lot about this great image manipulation program.

Technorati Tags: , , , ,

OpenOffice is sick

According to this article “Measuring the true success of Openoffice.org” by Michael Meeks, the beloved OpenOffice is sick, sick because of  Sun.

“…the statistics show a picture of slow disengagement by Sun, combined with a spectacular lack of growth in the developer community. In a healthy project we would expect to see a large number of volunteer developers involved, in addition – we would expect to see a large number of peer companies contributing to the common code pool; we do not see this in OpenOffice.org. Indeed, quite the opposite we appear to have the lowest number of active developers on OO.o since records began: 24, this contrasts negatively with Linux’s recent low of 160+. Even spun in the most positive way, OO.o is at best stagnating from a development perspective.”  (extracted from the article “Measuring the true success of Openoffice.org” by Michael Meeks)

The tight hold Sun has on OpenOffice makes it difficult for developers to to just jump on board and contribute. Contributing code requires that developers commit thier code’s rights over to Sun making it the sole owner of OO’s code-base. Less control from Sun and more freedom and power for the developers and the Opensource community appears to be the only way forward for the OpenOffice project. 

Read in full: “Measuring the true success of Openoffice.org” by Michael Meeks
Read also:  What Meeks means by OpenOffice being sick at zdnet.com

Technorati Tags: , , ,