Living Life... A Little Bit Louder

Flickr on Typo

Posted by James Thu, 09 Nov 2006 00:51:00 GMT

I'm new to RSS and feeds and such, so it took me a bit to find out how to tie in my flickr account to this blog. Turns out it's easier than I though. Near the bottom of your Flickr photo page, you will see something like:
    "Feeds - Subscribe to James' photos"
Right click on the link and select "Copy Link Location". Next you need to add the Flickr sidebar. Where it says "Feed url" enter the link location you copied. It will be something like this:
http://api.flickr.com/services/feeds/photos_public.gne?id=12345678@N00&format=rss_200
That's all there is to it.

DB Error When Setting up Typo 4.0.3

Posted by James Wed, 08 Nov 2006 23:54:00 GMT

When setting up Typo, you may encounter this error when trying to run rake migrate:
rake aborted!
Mysql::Error: INDEX command denied to user 'username'@'localhost' 
for table 'articles': CREATE  INDEX `articles_permalink_index` 
ON articles (`permalink`)
This means the user, that Typo is running as, doesn't have permissions to create an index. So go into mysql and run the following:
update user set Create_priv='Y' where User='username';
update user set Index_priv='Y' where User='username';
where 'username' is the username that your Typo is running under. Finally, don't forget to flush your privileges:
flush privileges;
Your migrate should now work...