Troubleshooting Intermittently Failing Script/MySQL

Every once in a while, one of the orders placed through this ancient script I’m maintaining only makes is half-way through the Paypal process. It processes the payment, but doesn’t email the seller, or log the transaction locally in the servers MySQL database. The first thing I did was set up some logging: file_put_contents(‘a_sqltest.txt’, print_r($sql, … Continued

Migrating from Zen Cart to WooCommerce on New Server

I’m using Cart2Cart, which for like $100 will migrate all of our Zen Cart products with additional images as well as creating 301 redirects from the original site to the new one. Kind of cool. I’m using Docker and specifically Docker-compose for development. I’m using the WP plugin Error Log Monitor to check for php … Continued

Getting Started with Sage 9 Beta

I’ve been hearing really good things about the GoodLayers themes as a fast, inexpensive and high-quality starting point, but somehow I still feel like I’d end up having the content fit the Theme rather than the other way around. So for the new Storybook Sound website, I’m going to my Sage Starter Theme workflow and … Continued

Felix Stockwell

One of my clients has engaged Felix Stockwell to do some design/illustration for him, based on my marketing suggestions, which I am also charged with also bringing into the website. Pretty exciting. First task will converting the line drawing into paths.

Security of the Shared Hosting I Offer

All our servers are tuned to the highest security levels, keep all software up-to-date and install all necessary security patches. On all ours shared servers ConfigServer eXploit Scanner is installed. CXS allows to perform on-demand scanning of files, directories and user accounts for suspected exploits, viruses and suspicious resources (files, directories, symlinks, sockets). CXS prevents … Continued

Vectorizing with Potrace

Kind of expected that between Affinity Photo and Affinity Designer, it would be relatively simple to make a vectorized tracing of an image, similar to the result from the Adobe Capture application. Apparently the auto-tracing feature is not yet developed for Affinity and in the forums someone recommended a command line tool called Potrace. Install … Continued

Batch File Renaming

May have posted on this previously. Just had a bunch of audio files that I wanted to remove a specific phrase from the name. Looped through the matching files and did a move to the output of a string editing command with SED: for f in string_to_remove_*; do mv “$f” “$(echo $f | sed ‘s/string_to_remove_//g’)”; … Continued

Troubleshooting Cross-Origin Resource Sharing Problems

All of a sudden two of the videos we’re hosting on AWS Amazon S3 started getting Cross-Origin Resource Sharing (CORS) errors, saying that there was no header. Spent a bunch of time with the crossdomain.xml file, permissions of the files as well as the bucket cors configuration. Found a site to test cors, but am … Continued