Blogs

Upgrade Drupal 6 to 7 - Part1 Using MIGRATE and UBERCART

  • Posted on: 17 January 2015
  • By: NickLitten
upgrading drupal is simple if you follow the right steps

Las month my cousin, drumming demi-god Rob Litten asked me to help him upgrade his website. He has been running a very succesful online drumming sensation called Drums The Word for a few years now. It's a Drupal 6 eCommerce website running Ubercart focussed on selling digital products -- downloadable videos and drum lessons.

We played with Wordpress for a while but he didnt like various things about the WP user Interface, we discussed Drupal 8 but it's still in Beta and didnt think it was the right solution to this business critical eccomece website (not yet anyway) so Drupal 7 was selected, ubercart7 was chosen and it's time to migrate from Drupal6 upto the much nicer (imho) Droop7.

#1 - Tidy up your old Drupal6 configuration as much as possible.

This is really a pretty straightforward and obvious process: we dont want to migrate a crappy, messy drupal 6 installation into a new shiney drupal7 one do we?

Anyway - Lets walk through a live example and I will do a screen-cast on youtube recording the actual migration bit. First of all, lets talk about the old Drupal 6 website. To get it tidy lets just do this:

Katy Perry tweeted my youtube video

  • Posted on: 16 January 2015
  • By: NickLitten
Katy Perry is beautiful bird thats for sure

Katy Perry... PHWOAR!   ;)

This antipodean beauty is working on her performance for the American Superbowl half-time show on February 1st 2015. How does she get inspiration? Well, it looks like she browses around Youtube looking for interesting dance videos, because she has tweeted that she watched one of *my* youtube videos :0

oooh a brush with super-stardom and I've gone all flustered and weak kneed like a tweenage girl. 

The dance video itself is something I discovered a few years ago and found it beautifully weird, slightly disturbing and definitely thought provoking. It's a performance recorded by Sadlers Wells theatre and it's called "bODY_rEMIX/gOLDBERG_vARIATIONS - a Ballet in two acts". But thats the wrong name it should have been called "sEXY sPIDERdaleks and a SCarY BLOKe on a skateBOARD"   

#‎JeSuisCharlie‬ - I stand with Charlie Hebdo

  • Posted on: 7 January 2015
  • By: NickLitten
freedom of expression

get a grip!

Gunmen have shot dead 12 people at the Paris office of French satirical magazine Charlie Hebdo in an apparent militant Islamist attack. Four of the magazine's well-known cartoonists, including its editor, were among those killed, as well as two police officers.

Source: http://www.bbc.com/news/world-europe-30710883

Clearly, only the worst people alive could commit such terrible acts. If these terrorists are driven by religious fanatacism then I hope they burn in whatever hell their fevered minds imagine.

These masked men killed twelve people in cold blood, because the news paper they worked for published a cartoon that the masked me didnt like. Just think about how insane that sentence is?!

I would like to see every newspaper, every website, from every country publishing the Charlie Hebdo cartoons in solidarity against this terrible act of terrorism. Normalize the notion that other human beings are allowed to have different beliefs. Normalize the notion that other human beings are allowed to disagree with you and make jokes about it.

What is a webservice and how does it work on an AS400, iSeries or IBM i Server?

  • Posted on: 1 January 2015
  • By: NickLitten
provide a web service not consume a web service

Here is a question frequently asked in IBM i programming forums:

How do I write (an IBM-i program) RPG, to talk to the internet and receive or send parms to a website or webservice? For example, how can I receive an order number and return the order line informatoin in XML?

Sounds kind of complicated, doesnt it?

Actually, its not :)

Luckily for us, this is an area where the bods at IBM have implemented a really cool server on our beloved IBM I operating system that makes this process so simple, it's really quite astounding. All we have to do is write a program that does the business logic (for example, receive an order number parameter, read the order line details and return those parameters back). Then we can simply use the IWS* (Integrated Web Server) to share that information with the world wide web.

Jibbers Crabst - convert to Crustaceanity

  • Posted on: 25 December 2014
  • By: NickLitten
All praise the holy Jibbers

praise jibbersThe oatmeal is one of my favourite online distractions.

Matt Inman, the author of the aforementioned comic brilliance, recently gave a speech at BAHFest West 2014. He presented an alternate theory on the origin of the universe, and related his belief in the cosmic deity that created all things. Praise Jibbers.

NOTE: I am a definite atheist, probable agnostic and openly secular human being. Religious people will sometimes use the phrase "the root of all evil" which is ironic since Religion itself is the root of all Evil. However, after saying that and after seeing this proof of his Holy Crustaceanity Jibbers Crabst, I think that JC has drawn me back in to the lands of religious dogma.

:)

Writing RPG program code using SEU getting error - "The keyword is not recognized; keyword is ignored"

  • Posted on: 11 December 2014
  • By: NickLitten
RPG Handler supported by SEU

Why doesnt SEU let me enter the HANDLER keyword to my F-SPECS in RPG?

Because, SEU is a code editing program that was designed decades ago (it sounds *really* old if you say it like that) and isn't aware of any of the newer RPGLE operation codes.

Source Entry Utility error with new 7.1 RPG code

You have two basic solutions:

Uber - an alternative taxi cab service is ubergood

  • Posted on: 12 November 2014
  • By: NickLitten
honda element breakdown

So, my trusty old work horse (Herman the Honda) starter motor has been failing for a few months now, I've known it was on the way out but have been hoping that it would make it past christmas. Sadly, on Sunday (bloody Sunday!) it finally gave up and expired. I quickly procured a new starter and had to wait for a mobile mechanic to come and fit it on Monday morning, after a failed attempt at some home mechanics myself. This is a separate story involving an old programmers sudden realization that modern car engines are a world away from the Mk1 Ford Escorts that he used to tinker with in his teenage years  :)

Anyway I digress...

So, Monday morning I still had to get Nate (#1 Son) to school so we opted to use the most excellent UBER app on my android. As an alternative to calling a cab, it is simply the best service I've used in recent years ever! Your phone finds your location, asks you where to go, gives you a quote and if you accept it shows your drivers name, his photo, the car he is driving his exact location and you can track him arriving at your house in real time. Once he picks you (or your passenger up) you can then track the car during its trip:

The Madness of King Bob

  • Posted on: 12 November 2014
  • By: NickLitten
as mad as a hatter

I love my Family. The Litten clan is made from an eccentric bunch of family members spread far and wide across this wonderful world of ours. Diversity seems to define us with differing political views, religious beliefs and life goals. Variety is the spice of life. But we all share one common gene... the gene of utter madness! Put us together, add a sprinkling of sangria and a warm sunny evening and soon utter insanity will prevail.

For your perusal I present.... Cousin Rob (of Drums the Word fame) who has been recording a series of short vignettes on Facebook recently. Waffling, delusional, hilarious and utterly genius. I cant watch them without crying with laughter so decided to have a play and import them into a single video shot and play them all at the same time.

The result is a pandemonium of... erm.... it defies description:

Rob - I salute you!

Fixing Skype problems with Win10 9860 technical preview

  • Posted on: 2 November 2014
  • By: NickLitten
how to fix windows 8 10 skype problem

Since the first service pack (9860 or quickie update) to Windows10 Technical Preview my skype has stopped working. Researching this online, I found thta some Win8.1 users also suffer from the same annoying problem. Hashtag bugger and darnation.

All I see in Skype is this annoying message:

Luckily, Microsoft is aware of the problem and will (hopefully) be fixed in the next build. Until then, we have a nice little workaround:

Reply In reply to Akshay [MSFT]'s post on October 23, 2014

Win10 technical preview bug : Skype error using a mobile broadband or metered internet connection.

  • Posted on: 30 October 2014
  • By: NickLitten
windows10 unable to install skype error build 9860
UPDATE NOV 17 2014 -- Skype problem has been fixed by the service pack for #WIN10-Build9879. Huzzah!

 

SKYPE stopped working with WIN10(9860)

So far I'm liking Windows10 very muchly. I've only had a couple of niggles and this weeks has been the inconvenience of Skype suddenly dying after the upgrade to Build9860.

 

Symptom: Skype will not log and kept failing to log in, reporting that Skype servers were unavailable.

 

Solution: Reboot. try again. fail. tinker with internet connection. reboot. try again, fail. join new wireless connection. reboot. tinker... /repeat ad infinitum.

 

 

Admin defeat and consider reinstalling ICQ. ;)

Eventually I decided to try re-installing SKYPE to see if that helped. It didn't LOL -- Now I get an error saying "you cant download over a metered internet connection" but I am on a standard wireless (I've tried several). I even went in to network settings and changed the metered option to ALLOW connection over metered and it hasn't helped. So, I'm currently stuck using skype on android and anxiously waiting for the next technical preview release and fingers crossed, this problem will be solved.

In the meantime -- anyone got any ideas on how to override this?

Pages