Blog

Setup Xdebug, Acquia Dev Desktop, and Netbeans in Windows 7

I usually use linux, but for various reasons I've needed to use windows lately and so I figured I would setup Xdebug, Acquia Dev Desktop, and Netbeans in Windows.  I didn't see much for guides out there but its really pretty easy.

Step 1 - Install Acquia Dev Desktop:

You can install either the D6 or D7 one, because really they are the same and you can just add D6/7/yourflavor to it using its "import" button. ...Read more...

Aegir Quick Tip - Fixing Image links when Migrating a Site to a Different URL in Aegir

I'm always moving sites from a "dev" url to the production url using Aegir.  Something like dev.mysite.com will become mysite.com.

In doing this, drupal has image issues, but its easy to fix.  You just have to do a search and replace in your database for the urls of your multi-site install.

I usually do something like: ...Read more...

Less than 5 Minute Aegir Slave Server on Amazon EC2 - Bash Script and Notes

I've started using Amazon EC2 with Aegir's multiple server setup and its sweeeet.  I can add a new server to my Aegir setup in like 2 minutes.

My bash script

Here is the script: http://pastebin.com/hHnTDtzs

I've tested this script with ami-3e02f257.   These are its specs:

  • Ubuntu 10.04
  • 32bit
  • EBS Store (allows this to be "micro" compatable and easy to backup/clone.)

I don't see why the script wouldn't work with x64... I just didn't test that.

What it does

You can read through the script and see all the commads that it does but here is a quick summary:

  • Runs apt-get update and upgrade
  • Installs everything you need plus git and nano
  • Forces php to be 5.2 rather than 5.3 using approach #3 here.
  • Does almost everything you need to do in the manual aegir install for using the server as an slave host.  Sets memory limits, comments bind-address, creates aegir user, creates aegir_root mysql user, etc...
  • Installs pecl uploadprogress
  • Installs Dru

Notes on Installing Aegir on Amazons EC2

Update 1 - April 5th 2011:  I modified some user creation items, they were completely wack.

Yesterday I updated my main aegir site to 1.0-RC3 and about 10 minutes after I was done I got my monthly bill from Linode.  I had forgotten how big its grown.  I've been adding more and more sites to my server and needed more memory and hard drive space.  Linode makes it sooo stink'n easy to add on more stuff that its grown to the point that I should probably be doing something different. ...Read more...

Module Loading in a Different Order on Live Site Than in Dev Site

I ran into an issue yesterday where Hierarchical Select (along with Content Taxonomy and CCK) wasn't saving the data I selected.  But this happened only after I switched my development site to go live.

I started back tracing through HS (hierachical select) and noticed it was looking for #field_info inside $form.... but it wasn't their.  So then I checked CCK and noticed that it was being loaded way way after HS.

Then I checked weight... they had the same weight... confusing. ...Read more...

Hidding CCK Fields on the Node Edit Form in Drupal 6

Just a quick post... I needed to hide some cck fields on a node edit form and I didnt want to use cck field permissions so I did this:

http://drupal.org/node/257431#comment-2057358

I used method 1 and it worked plain and simple.

 

Issues when Upgradeing to Aegir Alpha 14

I just upgraded 2 of my systems to alpha 14 and here are a couple of things I stumbled with:

Rename your vhost.conf files

I copied my old vhost files from ~/config/vhost.d to ~/config/server_master/apache/vhost.d.  I'm not sure if I was suposed to do that or if I was to reverify all the platforms and it would maybe recreate them in the right place... I dont know.  But my way worked.

Since all the new sites come in as mysite.com rather than mysite.com_80 (old way), I wanted to rename everything so it looked the same.  I ran this command ...Read more...

Installing BigBlueButton .70 or .71 on a VPS (an openvz vps) with Ubuntu 9.04

So I decided I wanted to test out BBB (big blue button) and after looking at the instructions I was thinking "this is going to be cake".  Oh if it were only so...

I found out that most VPS systems don't allow you to change the kernel, so when you get the kernel source.. it freaks out. ...Read more...

Drupal for Beginners FAQ- Where did my content go?

A common question (I even thought of this when I first started using drupal after joomla)... Where did my content go after I created it?  So check out my video below:

...Read more...

Drupal for Beginners - A Quick Overview of Drupal's Admin Structure

I'm about ready to roll out a new drupal distrobution aimed at the internet marketing world, but there is a problem.  Most of the IM community only know wordpress.  Wordpress is great... if I wanted just a blog, but I want more.  I want an internet marketing platform.

So, I need some educational videos, and here is the first one (don't forget fullscreen HD):

...Read more...