Fixing the Zend Studio for Eclipse Build Issues

February 25, 2009

Do you ever get:
Problem Occurred Building PHP Projects
Reason: Path must include project and resource name: /config.php
To get rid of this error on startup:
If you have a license for 6.1, Download the latest version of Zend Studio from http://www.zend.com/studio
If, like me, you only have a license for 6.0.x, Download the 6.02 release candidate, rename your [...]

Read the full article →

Yummy Tips!

February 25, 2009

This is some Yummy tips for web developers, or people that have a few websites and use Yummy FTP to upload files.

Under Preferences -> Advanced Settings, set the “Mac browser Home folder” for each website. Un-check the “Use setting from preferences” option. It saves a lot of time when you set the local/remote home folders [...]

Read the full article →

Convert Mac Icon File into Useable Web Graphic

September 25, 2008

With all these fancy-free Mac Icons you can download, why not spice up your web applications and use them online?
The problem is that the Icon files can’t be opened by Photoshop (there might be a plug-in I’m unaware of that does this). So we need a way of importing the graphic into Photoshop.
Luckily you can [...]

Read the full article →

Singletons in PHP4

September 25, 2008

Not everybody is developing on PHP5 these days, even though PHP4 is no longer supported *yikes!*
And these people (namely me) need a way to implement the Singleton pattern.
The Singleton pattern is single-handedly the single most useful pattern when you only ever want to have one instance of a class instantiated at any one time.
Now [...]

Read the full article →

Zend Studio Eclipse – What Grinds My Gears

September 24, 2008

As many of you budding php developers know, Zend released their “Neon” version of Studio for Eclipse (Zend Studio 6.0) some time ago, it is perhaps (as far as I know) the most ambitious PHP IDE to date.
My list of gripes about this project are as follows:

Read the full article →

Can’t delete mail in Mail

February 7, 2008

This damn near drove me insane for a few months. However I never looked for a solution, never read the manual (who does?) and never asked anyone. I just silently stared at my email that couldn’t be deleted…
Until today.
Finally I figured you can click on Mailbox and then Rebuild and it fixes everything up just [...]

Read the full article →

VirtualHost overlap on port 443, the first has precedence

February 7, 2008

This is the warning I was getting:

[warn] _default_ VirtualHost overlap on port 443,
the first has precedence

Go here for the solution to virtualhost overlap on port 80, it’s almost exactly the same.
And, this is how to fix the warning:
Add this line of code to your configuration file (usually httpd.conf or httpd-vhosts.conf)

NameVirtualHost *:443

I already had the line: [...]

Read the full article →

Christchurch Gig Guide Guide – Best of the Best

January 29, 2008

Often finding out about what’s happening in Christchurch is as annoying as having the gas run out mid-bbq, it’s not pretty and you’re often surrounded by a bunch of drunken hungry people… actually that pretty much sums up the Christchurch town scene when there are no good gigs to goto.
So I’m going to help alleviate [...]

Read the full article →

Speed up Zend Studio

July 2, 2007

I used to be in the category of “Zend Studio runs sweet, what are you all complaining about?” but after upgrading to Zend Studio 5.5 I sadly found myself in the “I just want to code, why are you running so slow!?” category.
Here’s how I managed to speed things up

Read the full article →

Clear DNS cache on your Mac in Terminal

July 2, 2007

I know this is posted all over the Internet, but I keep forgetting it and someone may find it useful if they can’t find it anywhere else. It basically flushes your dns cache so your computer is forced to request the name server information afresh the next time you make a request to any URL.
This [...]

Read the full article →