Problem: PHPStorm will let you debug something running on a server running XDebug. But it never connects Context:Â Server is a Bitnami Magento stack running on VMWare. Configured XDebug by commenting out the lines at end of php.ini Solution:Â The problem is the line: xdebug.remote_host=127.0.0.1 This is the default line added by Bitnami to php.ini. But if…
Month: June 2013
Turning On Magento Logging
Problem: Magento does not output log files Context: New Magento Install Solution: Turn them on in Admin In Magento admin go to System->Advanced:Developer->Log Setting. Set Enabled to YES. Still nothing will happen if there are no log messages. The log directory won’t exist, nor the log files until the first time something is output to the…
Why I Leased An Office
So I could look down at Abilene. 🙂 For the past year I’ve been doing software consulting from my home office. This has a lot of advantages, but recently I decided I needed to get an office outside of my house. Now that I’m sitting in my new office I thought I’d write a blog…
Connecting to a Local VM With a Domain
Problem: When running a VMWare virtual machine, the machine has an IP you can connect to, but that is hard to remember and subject to change. Context: VMWare running the Bitnami Magento image. Solution: Configure the local machine’s host file to know the VMs ip. Now you can create SFTP bookmarks with the domain name…
Making Products Show Up on the Home Page of a New Magento Install
Problem: In a new install of magento you can create products but they don’t show on the home page. Context: New magento install Solution: To make things show up on your home page, you have to go to CMS->Pages and find, Â “Home Page” and click to edit. Then add {{block type=”catalog/product_list” category_id=”XX” template=”catalog/product/list.phtml”}} where XX…
Mounting A Shared Folder in VMWare Under Linux
Problem:Â VMWare Fusion allows you to set up shared folders for a VM in its preferences. Once you have it enabled, where is the mount? Context: VMWare Fusion 5, Bitnamit Magento Image, Ubunto Solution: Mounting Shared Folders in a Linux Guest After you have enabled a shared folder, you can mount one or more directories or…
Development Problems and Solutions
I’ve taken a new approach to documentation during a development process. There have been a number of times – especially when dealing with Magento – that I’ve had a problem doing something, figured it out and then a few weeks later I have the same problem again and can’t remember how to solve it. Often…
How To Find the Private Key For the Delicious API
I’d like to write a python script that looked at my Delicious Bookmarks and checks to see if they are dead links. This is possible because Delicious has an API. And you can just ask for what you want by asking for a specific URL. That works fine as long as you don’t want your…