Category Archives: Work

Reviewer plugin: php version may not be greater than 10 character

While trying to activate the “Reviewer” plugin by evoG, I encountered the following error: Thankfully, after a little looking around I found where the PHP version is passed to the activation routine. By manually specifying a short PHP version (< 10 char) I was finally able to active the plugin 🙂 Here are the relevant sections to edit: /wp-content/plugins/reviewer/admin/includes/class-license-page.php NOTE: I recommend backing up your file before editing. If you encounter an error like this, I hope these tips will

EnGenius ECB350 Power Supply Voltage and Amperage [SOLVED]

The EnGenius Technology ECB350 is a very nice access point/bridge that can utilize either a “wall wart” power supply or a 802.3af POE connection for power. Recently I misplaced one of the wall wart power supplies and needed to find/replace it with an approriate model. As such, here are the power supply requirements for the ECB350: Active Ethernet (Power-over-Ethernet, IEEE 802.3af) 48VDC/0.375A -or- Wall Plug In Power Supply: 12V/1A TIP: If you need a replacement power supply, Amazon has them. 🙂 I hope

Show SKU in cart and checkout [WooCommerce]

Recently I have been setting up a quote only WooCommerce site. Specifically, the site needs to have SKUs listed and quantity info but not pricing. Here is a method to get SKUs listed throughout the cart/checkout pages: Step 1. Setup child theme Step 2. Copy the templates from /plugins/woocommerce/templates/cart/cart.php and /plugins/woocommerce/templates/checkout/review-order.php to your child theme folder, with the result being similar to this: Step 3. To add SKU to Cart and Checkout (Order Review) Edit your cart.php template, where appropriate add: <?php echo

Troubleshooting a Ruby production application

I am by no means a Ruby expert, but I have been tasked with troubleshooting an existing Ruby application. Specifically some end user DB tasks were failing to save records and the application was throwing a generic error message to the user. By enabling debug logging and viewing the Ruby log file, I was able to see that the application was failing when attempting to send an email confirmation, then it would roll back all the DB changes since the overall