Drupal Planet

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...

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...

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...

Open Atrium Beta 4 Released - Some differences from Beta 3.2

Yesterday Open Atrium 1.0 Beta 4 was released. I figured it was coming because I noticed it had been rolled out on community.openatrium.com already. I decided to through it into Aegir and give'r a quick spin.

This is NOT going to be an exhaustive comparison, just a quick first look.  Also, Some stuff has already been talked about (like the theme) so I wont be talking about it.

Main Page

When you first login your taken to that main dashboard.  Here are some quick differences I noticed:

  • There is a nice pop-out menu in the upper left corner.
  • The user link is now on the left instead of the right and is no longer 'lightbox' styled when you click on it.
  • The "My Groups" is now located inside the user pop-out.
  • OA now used the new easily customizable dashboard.
  • There is a fancy how to video in the main content section when you start it up.

Forget Your Old Drupal Sites User 1 Password? Change it in phpMyAdmin

I was moving a bunch of old old sites over to a new server the other day and thought i would make some changes to one of them... but realized I couldnt remember th User1 password.  Ha, shows you how well I keep that site up-to-date hu.  Now that its in Aegir, it will probably stay maintained better.

Here is the skinny on how I changed it...

Go into phpmyadmin and select your database:

...Read more...