Techie Tips

Tips, Tutorials, Software and Reviews

Watchguard Model XTM515 is not valid or is no longer supported

Submitted: Fri, 03/22/2013 - 16:25 -- guvnor
Last Updated: Tue, 05/14/2013 - 21:50
Every have your Watchguard complain it is no longer supported when you open up the policy manager? It is really frustrating because this message means you won't be able to make alterations to your firewalls running configuration. The message isn't much use and like a lot of things related to Watchguard nothing shows up for this error on a "Google" or other search. Anyway, I got around it by uninstalling the software on both my laptop and desktop and then reinstalling it. This message disappears and you can continue to update your policy as normal.

Speeding Up Websphere with RiverBed SteelHead

Submitted: Tue, 05/22/2012 - 15:04 -- guvnor
Last Updated: Sun, 05/12/2013 - 22:14
I worked on a project recently where a new application hosted in a UK London DC was being rolled out to users in a remote office connected via a MPLS circuit. The technology involved was a Java web application running under IBM Websphere. Nothing exciting or especially worrying so far..until we learned the main user base was in Australia. With this kind of distance inevitably we are going to see issues with latency.

The Scenario

Websphere Australia Scenario

Upload a file to an FTPES Server with Curl from the Linux Command line

Submitted: Sat, 11/26/2011 - 23:39 -- guvnor
Last Updated: Mon, 05/07/2012 - 13:17

Upload a file using to an FTPES using CURL

Every now and again you need to upload to a file to an Explicit FTP over TLS server. This is FTP over a TLS which is normally over port 21 - just like the old school simple FTP protocol. This is slightly different to the Impicit FTP over TLS which runs by default over port 990 and totally different to SSH / SCP file transfer which is run over port 22.

Example CURL syntax to upload a file to an Explicit FTP over TLS server

The following command will upload a file to a remote server.

HTC Desire not found when using HTC Sync

Submitted: Sat, 11/26/2011 - 16:40 -- guvnor
Last Updated: Wed, 05/09/2012 - 22:23

When attaching your HTC desire to your Windows PC, the device isn't found

My better half had this problem once when she need to sync her contacts with her PC. After several hours of hair pulling with various driver installs etc she asked her in-house tech guy i.e me to take a look. A thought occured, why was she trying to sync her phone in the first place? Thats right she wanted to backup her phone as it was playing up. Why was in playing up, it was because the phone was full!

Use Jquery Validate to ajax submit and return the results into a dialog or lightbox

Submitted: Wed, 11/02/2011 - 06:19 -- guvnor
Last Updated: Wed, 05/09/2012 - 22:28


Recently I had to create a complex form which needed lots of input validation. The usual kind of validation that you would expect on a form such as ensuring an e-mail input contains a properly formatted email or any inputs that expect numeric data get numeric data. I wanted to use a plugin that has does all of the hard work for me. This way I didn't have to write lots of javascript validation routines and make sure they work across all the browsers that my form was to be viewed in.

Missing SCP command on Centos and other RHEL based Linuxes

Submitted: Wed, 10/19/2011 - 13:03 -- guvnor
Last Updated: Thu, 03/15/2012 - 10:18

Need to use the SCP command on a Centos or other RHEL based distro?

Sometimes when you attempt to run the scp command you receive telling you that command as unknown. There is a good chance that the the SCP client isn't installed. Well that's not too difficult to remedy. A quick yum will do the trick.
yum install openssh-clients
Now try running the scp command and you will find a more favourable response!

Creating a Prestashop Payment Module: Completing the Module

Submitted: Tue, 10/11/2011 - 20:06 -- guvnor
Last Updated: Tue, 10/11/2011 - 20:13

That's all Folks

Well that's almost done, there is just a bit more work though - now that our users can enter their payment details we need to be able to retrieve them in our administration panel.

Displaying the order info in the admin panel

We need to hook into the invoice part of the administration panel. We have already declared we want to access the invoice hook earlier in our install() function
OR !$this->registerHook('invoice')

Creating a Prestashop Payment Module: Taking the payment

Submitted: Tue, 10/11/2011 - 19:50 -- guvnor
Last Updated: Thu, 05/24/2012 - 14:10
ow our payment option is available to our user's we need to create the actual page that is displayed when the payment option is clicked on. As part of this process a form will be displayed for the user to enter their card details and then store them in the database for later viewing. If you recall it was payment.php So that is the name of the next file we need to create in our payment modules directory. Okay, so create a new file called payment.php and place the following code into it:

Creating a Prestashop Payment Module: Displaying our module as a payment option in the checkout

Submitted: Tue, 10/11/2011 - 19:48 -- guvnor
Last Updated: Mon, 05/07/2012 - 13:12

Displaying our module as a payment option in the checkout

Since we have a registered our module with the payment hook a function which tells the payment hook to do something. The hook payment expects a function called hookPayment by default so thats what we need to create. This is where the hook payment allows us to have our module appear (image below)

Create the hookPayment() function


Subscribe to RSS