Yiic Permission Denied error on Ubuntu/other Linux variants

To install Yii for the first time, the README sug­gests you should run the fol­low­ing command:

yiic webapp ..\testdrive

Unfor­tu­nately, for most users this will result in an error along the lines of “bash: ./yiic: Permission denied” unless you first make yiic executable.

The eas­i­est way to do this is to run the fol­low­ing com­mand in your frame­work directory:

chmod +x yiic

The x sim­ply means “eXecutable”.

# by Josh on February 7th, 2011 Tags: , , , , ,
| No Comments »

Unable to Purchase error in iPhone App Store

Just got an “Unable to Pur­chase” error while updat­ing a bunch of dif­fer­ent apps on my iPhone using the App Store.

It didn’t affect the actual upgrade, but the error appeared twice before I entered my iTunes pass­word — after a quick search it seems the prob­lem is related to changed sys­tem times. I hadn’t attempted an update since before day­light sav­ings started here three days ago, so I’m assum­ing that is the reason.

For me, this didn’t actu­ally pre­vent any­thing from work­ing — but leave a com­ment if you’ve had more spe­cific prob­lems. If time related, it’s a curi­ous lim­i­ta­tion on the app store indeed (app rental?). More likely it’s just some bor­ing trans­ac­tional code play­ing up, but who knows…

# by Josh on October 5th, 2010 Tags: , , , ,
| 4 Comments »

WordPress issues this last week

Recently upgraded along with the rest of the world to Word­Press 2.8.1 and hit a whole bunch of crazi­ness that essen­tially encour­aged me to move even this site across to Web­Fac­tion (eat­ing your own dog food and all that) because of no longer being able to post from the Word­Press admin panel.

Some issues with posting and mod_securityI hadn’t changed any plu­g­ins, and the rest of the net was con­spic­u­ously quiet, so I fig­ured that either my cur­rent host had near-simultaneously upgraded the data­base & cor­rupted some­thing along the way (with MySQL this can result in read-only tables in cer­tain cases, I’m told), or else there was some­thing more sin­is­ter at work. No plu­g­ins had changed, and because noth­ing else func­tioned dif­fer­ently for even a moment I pre­sumed inno­cence on their behalf. I tried with and with­out Google Gears enabled, with and with­out tags, in dif­fer­ent saved sta­tuses, and still noth­ing worked!

Any­way. Turns out it was my use of the term “wget”. (Even now I need to be care­ful as I write that!)

mod_security on Apache basi­cally threw up its lunch every time I threat­ened to post about it. Accord­ingly, I can’t share with you some things that I’ve learnt in migra­tion just yet, and haven’t been post­ing about any­thing else as I’ve been try­ing to resolve this prob­lem, think­ing it was pre­vent­ing me from post­ing. Per­haps mod_security is try­ing to get me to write about more mean­ing­ful things than file trans­fer trick­ery! *yawn*

At any rate, it’s all over now and we’ll be back to reg­u­larly sched­uled pro­gram­ming shortly.

# by Josh on July 17th, 2009 Tags: , , , ,
| No Comments »