Archives for the month of: February, 2009

mozillacamp-delhi-1-banner-1

MozillaCamp Delhi was held last week on 10th February 2009. Lots of blog coverage listed on the MozillaCamp Delhi wiki. Kinshul Sunil has also put up some videos from MozillaCamp Delhi on Vimeo (more to be encoded and uploaded soon). Photos have been uploaded too. And you can read a blog post from Seth Bindernagel (see wiki for more details).

ISI

ISI (Not the guys behind 28/11)

The event was at Indian Social Institute, Lodi Road. (No, you aren’t the first guy to say “What Where the fuck?!” on hearing this.) Without a hot-or-cold GPS navigation system I had to resort to calling people up to find where it was. The only thing that I could positively make out was that it was somewhere near India Habitat Centre, but that still does leave an effing large area to cover. Dilliwallahs habit of saying “Seedha jaake left” for the directions to any bloody place you ask for makes your blood boil rather than providing guidance. After a lot of running around in circles I did reach the venue…to find a few bored people sitting in the same room and Twittering with each other. I joined in (Twittering) with great gusto and scaring my followers that I had Twitterhea.

Seth Bindernagel and Arun Ranganathan were supposed to turn up later, so the discussion fluctuated to every topic under the sun. Someone started talking about large font sizes (in images, I might add) as the defining moment of Web 2.0. That should give an idea of how lame the morning sessions were. We had some interesting free-ranging discussions on Twitter (as in about Twitter) and social media in general. I was shocked to find that the organizers hadn’t arranged for a lava pit so that we could round up a few Internet Exploder users, beat them about a bit (though not very much) and then throw them into lava to let The Cleansing begin. (Even the tagline ‘Taking the Web back one user at a time’ is astonishingly appropriate for The Cleansing.)

Ginger Kids lava pit

The Pit

Seriously, next time, we need to budget for the Airport Hilton. Nothing kicks an conference into high gear other than good ol’ fashion mob beatings. Anyway, the morning session was also spent in making new friends like Kumar Gautam, Sayantan Pal (of Linux For You) and Mohak Prince. We broke for lunch soon at the ISI cafeteria where I got to eat pieces of charcoal under the guise of a ‘burger’. Discussions here were about a) Macs and Why They SUCK – a Me vs Them debate; b) Shiretoko (not a variety of Japanese pr0n); c) nothing else. Also recorded video testimonials (but had to leave before I could collect my kewl T-shirt).

Firefox badge

Official badge

Seth and Arun arrived around 2.30 pm for their sessions. Arun (with his fiery jacket, sorry for the pun) very much looking like one of those guys you see on AXN shows who jump over 27 dumpster trucks ‘for entertainment’ on a lazy afternoon. A Skype conference was initiated with Pascal Finette, but I got to see only a small part of it. Most of that ‘small part’ involved setting up the Skype conference. I had to leave for the Power of Ideas panel discussion for which I had been invited by Economic Times. (That’s a story for another day.) I didn’t want to leave MozillaCamp right when actual discussion were taking place – but I had to. (You’ll get to know the reason in my Power of Ideas post.)

Mosey along now. No more content to write about the interesting bits of MozillaCamp.

I'm

PS – Are the presentations which Arun / Seth made available online on Slideshare / Google Docs / anywhere? I’d love to see them, so would many other Firefox fans.

PPS – Those awesome stickers are from Pringoo.

PPPS – Whoops! Those stickers are actually from Mozilla, and not Pringoo! Only ONE sticker – the big MozillaCamp Delhi one – is from Pringoo. The ones from Mozilla, of course, are the awesome ones I was talking about.

boat

A few days back I needed to upload a lot of photos to my Gallery2 photo gallery. No, not for the photos from Surajkund Handicrafts Fair, I’m talking of a time before that. I’m talking of my trip to Kolkata. I wanted to upload photos from Chandernagore in an album. (You can see these now, BTW.)

I had recently upgraded my Gallery2 installation directly using the auto-upgrade facility provided by my host. Post that event, this was the first time I needed to upload something. The first thing to do, of course, is to login. This is where I encountered the first signs of trouble.

You are not authorized to view this resource. You need to login.

Annoying, because the username / password were most definitely correct. (Stored in my password manager.) It was most definitely my Gallery2 install which had short circuited somewhere. I thought of re-installing, but before I did that I thought I should run a manual upgrade once to see if it solved the problem. (Maybe the auto-upgrade wasn’t ‘clean’?) I backed up my database and the ‘g2data’ folder (just copy it to another folder on your server).

First, I tried to run the upgrade process manually (without overwriting files with a fresh copy). To do this you need to go to http://www.yourgalleryinstall.com/upgrade to initialize the web-based upgrader. The upgrader will guide you through all the steps.

Fortunately, this solved my problem. It turns out that a few of the themes which I was using hadn’t been upgraded. Once that was done (automatically by the upgrader), logins worked again. This, however, broke the permalinks module on my Gallery install.

After you’re able to successfully login, post-upgrade, upgrade any other plugins from the plugin administration page (remember to update plugin repositories first). Then, re-enable the plugins URL Rewrite and Permalinks. You will need to re-edit and upload the example .htaccess files to the folders as specified by Gallery2 (modules/rewrite/data/mod_rewrite and …/mod_rewrite_no_options), but after that it should work.

Unrelated to the above, but this might be helpful for some. For those who’ve got Gallery2 installed on their server root, you need to enter the path to the example .htaccess file folder. That bit is made clear by the placeholder file itself. But for ones who’re running Gallery2 in a subdomain using a virtual DocumentRoot you need to remember that the path you enter in the .htaccess file for URL Rewrite needs to be relative to the virtual DocumentRoot.

To give you an example, on a ‘normal’ server where Gallery2 is hosted you’ll enter something like

RewriteBase /html/username/gallery2/modules/rewrite/data/mod_rewrite/gallery2/

…while if you’re using a virtual DocumentRoot, then you’ll enter the line to be edited as

RewriteBase /gallery2/modules/rewrite/data/mod_rewrite/gallery2/

Do remember to uncomment the line because in the placeholder file it it commented out.

Hope that solves some of your Gallery problems! Enjoy the photo albums on Chandernagore and Surajkund now.