new site.

August 20, 2009

so here is how it goes. I have been writing some stuff at work for the sites we build. and thought it would be best if I used the software myself so it gets tested more. thats the other half of the reason i havnt posted for years, to movtiate myself to finished the first release of the damn thing.

info can be found->

on my site: rekarnar.com

and prolly some here too: http://malarky.co.nz/cms


arrived

January 2, 2009

ok,. so we s\arrived and were safe.

exciting. i dont want to come gope. were leving thamal tommorow to thvillage. ill get pics some time i think.maby.

oh wait. just check facebook.

bye for nw.

keke.

manthis place is like home.


trademe woes

November 25, 2008

ok so i think i have created the worst auction ever.

Aratika Cook Strait Ferry – Collectors Spoon

this is its second listing and still hasnt had a single view!

so here is a shameless plug.

ps. yes, i have an office job now, and thus free time!!


a quick update here

November 17, 2008

ok i stoped posting here in the hope that it would motivate me to work on my own blog and portfolio site. it kinda did. not greatly so and not to the extent that it is usable. but almost. anyways, i should have more time comming up soon, with the official beta launch of the web app i have been making for months and lifetimes. so on wednesday there is sorta a closed beta thing happening, which i may or may not be able to link to. so life should either become far far more relaxed, or super insane busy. depending on the testers results. oh pray for the former. let this be smooth!


no more libgmailer.php and the Gmail Contacts Data API?

September 30, 2008

dun dun duuuuuuuunnrrrrr —> http://code.google.com/apis/contacts/

and why did i not find this months ago??

http://code.google.com/apis/contacts/developers_guide_protocol.html

argh! this is going to make life soo much eaiser.


ERROR: Date_Calc is not installed – Dreamhost

September 2, 2008

ERROR: Date_Calc is not installed. You must install the date library. (with Dreamhost shared hosting)

ssh into ~

pear config-create $HOME .pearrc

install pear:

pear install -o PEAR

then install the date module

pear install pear/date

update the paths (can never get this part to work, so using the other method below)

export PHP_PEAR_PHP_BIN=/usr/local/php5/bin/php
export PATH=/home/*****/pear:/usr/local/php5/bin:$PATH

or include it this way: (index.php)

ini_set(
  'include_path',
  ini_get( 'include_path' ) . PATH_SEPARATOR . "/home/*****/pear/php"
);

a quote

August 1, 2008

“is donky kong a crogidle” – nina


Symfony: sfAssetsLibraryPlugin – troubleshooting

July 28, 2008

Right, so I have this scenario:

I exclude propel.ini from my sync’s with our web server. So after installing a few things i forgot to make the corresponding change online:

* Enable Propel behavior support in propel.ini:

propel.builder.AddBehaviors = true

So when running this (while installing sfAssetsLibraryPlugin):

symfony sfassetlibrary-create-root backend

I would get the following bastard of an error:

Creating root node at media…
PHP Fatal error:  Call to undefined method sfAssetFolder::makeRoot() in /var/www/xxxx/plugins/sfAssetsLibraryPlugin/lib/model/sfAssetFolderPeer.php on line 36

Fatal error: Call to undefined method sfAssetFolder::makeRoot() in /var/www/xxxx/plugins/sfAssetsLibraryPlugin/lib/model/sfAssetFolderPeer.php on line 36

EXTRA NOTE: I also had to add this line at the end of the create function in sfAsset.php:

chmod($this->getFolderPath().”/”. $this->getFilename(), 0604);

This has something to do with the way dreamhost has permission setup and the above create root line.

(The error here was that you could not see the images once uploaded)


I did some work!! – sfContactGrabberPlugin

July 23, 2008

Today I released a plugin for Symfony, well, more of an update for an old broken one.

It feels quite good to finally give something back. You can find it here

It basically add’s those forms that you see all over the place on social networking esk type sites that allow you to grab contacts from your accounts in other places.

At the moment it’s only working for gmail and yahoo, but I might end up adding some more functionally in the future, all depending on how the current project im working on pans out.


symfony: No package found for database “” in generated-schema.xml

July 22, 2008

Ok so i was setting up a Symfony 1.0 project recently and was getting this error. It took me a while of poking around to figure out what was wrong. The error indicated a lack of database’y things and I had my empty one defined in databases.yml so i was stumped.

The error was this:

Execution of target “om-template” failed for the following reason: /usr/share/php/symfony/vendor/propel-generator/build-propel.xml:470:1: No package found for database “” in generated-schema.xml. The propel.packageObjectModel property requires the package attribute to be set for each database.
[phingcall] /usr/share/php/symfony/vendor/propel-generator/build-propel.xml:470:1: No package found for database “” in generated-schema.xml. The propel.packageObjectModel property requires the package attribute to be set for each database.

Basically what is happening, is that since I had one defined i also had to have one listed in the schema, even an empty one.. so

To fix:

add the following at the top of config/schema.yml:

propel:

^^^thats it.

I also heard you can also delete your schema.yml file, but i wouldnt recommend that, and im not sure if it would even work.