Photo Album Fixed
Posted at 9:28 a.m. on October 28, 2005

Yay, I finally managed to fix my photo album (its been broken basically since I got back from Vancouver). I also uploaded the last sevenish pictures from my trip. They're mostly wildlife around the Lost Lagoon. Sorry if anyone tried to access it before and it wasn't working. Let me know if it stops working again.

For my own reference, here's what I did to fix it:

It seems the problem was that Coppermine expects you to have either register_globals or register_long_arrays on (not sure which). Those are off on TextDrive, and they discourage turning them on. So I went the other way and changed the php files. Make the following changes to all files - make sure to get the php files in subdirecctories too:

HTTP_GET_VARS -> _GET
HTTP_POST_VARS -> _POST
HTTP_POST_FILES -> _FILES
HTTP_COOKIE_VARS -> _COOKIE
HTTP_SERVER_VARS -> _SERVER

And in case anyone else is reading this, I don't know PHP at all, these changes were just what I could glean from some quick skimming of stuff I found on google, so it may have broken something subtle that I haven't detected yet. However, it seems to work, so I'm optimistic that it will continue to work in the future.