DerekAllard.com

I couldn’t get BambooInvoice installed on my Macbook

I only wish this story was an April Fools joke.

I'm still in the process of moving everything over to my Macbook. I'm nearly there, but one of the lingering tasks has been getting my invoicing system (BambooInvoice*) up and running properly. I've been putting it off, mostly because I've got so many other "more important" things to do. What could be more important then collecting money you ask? Um... well... actually I got nothing - I guess its just a case of putting off my own stuff while I get other obligations out of the way.

Today, I had a chance to start migrating that stuff, and so at 4 o'clock I turned on the Dallas/Phoenix game (go Steve Nash!) and started tinkering. As it turns out, I wouldn't finish until nearly 7 o'clock. As the author of Bamboo, I've installed it literally dozens of times on many, many different environments. I figured this would be a 30 second process, then another 30 seconds to migrate over my data and I'd be done. Unfortunately, things never go that smoothly do they? The opening page loaded up, but no stylesheets would render, no images were visible, and darn it... the links didn't work. This is the first CodeIgniter site I've set up on my Macbook, so I figured it was probably just a little setting somewhere. No problem, let's go down the list.

So here I am, the author of the software and an active contributor to the framework it uses... tearing my hair out and starting to get really mad. It occurs to me that maybe Apache or PHP runs differently on OSX. Um... no, that'd be dumb. So I finally decide to take one more trip into my config file to see if I can find the problem. Holy Crap! There it is! I see the error and I solved the problem, and now BambooInvoice is up and running just fine.

And the problem? I had typed bamboobinvoice as the directory to look at (notice the extra "b"?)... I'm sure Freud would have a field day...

* If you're reading this, they you probably already know what BambooInvoice is... but if not, it is a custom written, open source invoicing solution that I wrote and released on the CodeIgniter PHP framework.

This entry was made on and filed into BambooInvoice.

Comments

Shadowhand wrote on

Well at least I know what to get you for Christmas. ;)

Jos? Carlos wrote on

Why do you use xampp? You could simply use the apache install in your macbook and then use the software packages from Marc Liyanage.
Both apache and mysql start at boot, instead of having to go start them.

Keep up teh good work.

Derek wrote on

Jos?, the original reason I installed xampp (actually mamp, then xampp) was bluntly for speed and simplicity.  I had enough other things to work though after switching to Mac.  What I like right now about it, is the ability to switch between PHP 4 and 5 by toggling a button.  But that said, it is a bit cumbersome, and I’ll definitely check out the resources you posted. Thanks for writing!

@Shadowhad: if you wanted to register bamboobinvoice.org, I bet we could come up with something pretty “creative” for the world ;)

Derek Jones wrote on

I guess you could say that you bamboobzled yourself!  ba dum cht!

Rory wrote on

Derek -

I would definitely recommend checking out Mark Liyanage’s packages.  Of course the MySQL group now has better support of the Mac OS in general.

To setup virtual hosts I recommend Patrick Gibson’s virtualhost.sh shell script.