I have a customer who discovered an issue with their website when using their iPhone to upload photos to their website. It worked sometimes and sometimes they got an error saying that “A Problem has occurred with this webpage so it was reloaded..” After some troubleshooting, I determined that their website was using an old JavaScript library called ‘crop’ for cropping/resizing images and in some cases, large images caused safari to generate an error.
Recently, I ran into a space issue on one of my servers and found that 85% of the space was being used by Mariadb(Mysql’s) ibdata1 file and there wasn’t really anywhere else to trim any fat. The ibdata1 file is used to store information about Innodb tables and a rather well known issue is that […]
This is a short post today, but I was unable to find a good reference for manually creating tax classes. If you need to create a Product Tax Class or a Customer Tax Class programatically, you can use the below code: Creating a Product Tax Class Creating a Customer Tax Class
While working on a site running Magento version 1.9, I was running into some issues getting Chart.js to work. When attempting to load a chart, I got the following error: TypeError: ticks is undefined This was then followed up with a: TypeError: element._view is undefined After a bit of debugging, I determined that the issue […]
While working on a Magento Site, I found myself needing to programmatically create tax rules, rates, and then later edit them. After a little trial and error, I was able to successfully create the tax rule, using the ‘tax/calculation_rule’ model. However, whenever I added or removed a tax rate and then saved the existing tax […]