Building an Audit Log with nHibernate Listeners in AbleCommerce

I have a client who can’t seem to figure out who’s making edits to certain products. Somebody changed the price, somebody marked it hidden. That sort of thing. Too many people in the back-end and no audit trail for who changed what. So I decided to dig into nHibernate listeners. After a brutal all-nighter reading StackOverflow posts and copying snippets from a few blog posts, I actually got it working. I added some new handlers for the Post-Commit-Create, Post-Commit-Update and Post-Commit-Delete listener events and pointed them to my AuditEventListener class. These are easily wired ...

Nov 25, 2019 READ MORE
Leveraging the Gift Wrap feature for optional upcharges to a product

Just goes to show, you still can teach an old dog new tricks. A client needed a way to add an Engraving choice to the product page.   Normally this isn’t an issue, just use the product variant feature. But in this case, the engraving choice must be optional.   And it has to charge an amount.  And it needs to accept some text for the actual engraved words. So after a little digging, I settled on a little-used feature in AbleCommerce known as Gift Wrap.    Gift Wrap is a way to associate a secondary charge to any product.   The basket ...

Nov 25, 2019 READ MORE
SHA2 Supported Windows Platforms

Found a nice page today that easily identifies what platforms support SHA2.   SSL Supported Platforms...

Jan 08, 2015 READ MORE
WordPress file upload size HTTP 404 error greater than 1mb IIS 7.5

A default install of Server 2008 with IIS 7.5 will force Request Filtering to 1000000 bytes.   That’s 1mb. So a non asp.net website (i.e. PHP only) will always be limited to 1mb upload size. This assumes you’ve already updated your PHP.ini with the appropriate size limits as widely documented on the internet. To fix this, click on your website in IIS Manager.  In the IIS section of the website, double-click Request Filtering. Now, on the right side click Edit Feature Settings.   There you will find the default limit of 1mb (in bytes), change ...

Oct 03, 2013 READ MORE
Cisco VPN Client: Unable to Enable Virtual Adapter Error 442

On my Windows 7 PC, I could not get the VPN client to connect even when the configuration was correct. I eventually found a post online that said to stop the Internet Connection Sharing service before initiating the VPN connection.  This solved my problem and I was able to connect without any errors....

Sep 30, 2013 READ MORE