Monday, November 02, 2009

Drupal/Drush on Windows

Spent the past 3 years getting very comfortable using a Mac/Unix environment, but have mainly been using a Windows Server at work for hosting my sites. Now striving to reach Drupal ninja status, thought it was time to use Drush on the Windows [2003] server instead of just my DEV machines.

Pretty easy to get the basics of Drush running, although kept getting these annoying 'Cannot find module (IP-MIB): At line 0 in (none)' errors in every command being executed on the MS-DOS CLI... Bit of Googling found that this is a PHP error because the MIB files need to be on every Windows drive that you are executing PHP scripts. Even though my main website directories are on the D: drive, Drush is on my C: drive.

So, solution is to find the \USR folder, then copy \USR\mibs to the root of each drive you want to execute Drush (or, indeed, any PHP scripts) from. If you know tons about PHP (and I don't) you can probably disable the offending PHP extensions in php.ini - but in my case 'it ain't broke' so I'm going to leave as much of my PHP configuration alone as possible.

Thursday, May 21, 2009

Mac/Parallels Kernel Issues after upgrade to OSX10.5.7

I don't know if anyone else got this problem, but I recently upgraded Parallels then a few days later installed the latest OSX update to 10.5.7. After that whenever Parallels was opened received the error:


Are you sure you want to start the virtual machine?
One or more kernel components loaded on your Mac are for another version of Parallels Desktop. If you start the virtual machine now, it may work incorrectly. To solve this problem, restart your Mac. If the problem persists, reinstall Parallels Desktop.


Although I could proceed, Shared Networking stopped working, and Windows/Vista crashed a few times. Searching around, found a sweet application to clean the duplicate kernel entries - published by Parallels. Worked fine for me - although note it requires a Mac OS reboot. I did not need to re-install parallels

http://download.parallels.com/desktop/v4/en_us/parallels/update2/Cleanup-Kernel-Extensions.app.zip

Wednesday, April 29, 2009

GoDaddy Hosting and FTP with Dreamweaver

Just a quick online snippet as this took me ages to sort out.
If you have Dreamweaver and wish to use FTP to transfer your files, use the following settings in Preferences > Sites > Manage Sites > Edit > Remote Info
  • Access: FTP
  • FTP Host: yourdomain.com (no ftp:// or www prefix please)
  • Host directory: subdomain/ (ie, the folder you have your subdomain within)
  • Login: GoDaddy Primary FTP user name (or other user name if you set that up)
  • Password: doh!
And on a Mac, I selected Passive FTP (on advice of this article)

And, as they say in Paris: 'C'est la blaireau!'

THAT'S THE BADGER!!!