THE SPEW - Land where drunk cows swim and home to my daily hand...
streaming media & music | Home | Archives | Albums | Pics

gallery to gallery

25 February, 2006 15:51

I migrated from Gallery 1 to Gallery 2. The initial setup of the application was pleasantly painless. The installation wizard is one of the best I have used.

However, the migration of data was not much fun. First of all, godaddy doesn't seem to like a script running for more than a couple of minutes. I tried changing a php variable inside .htaccess, but that was a no-go and made my content inaccesible. The reason I needed the script to run longer, is the integration of some 2000 pictures from Gallery 1.

After several attempts at importing them at once, I set out to seperate the pictures in batches of 300 in seperate directories. I then imported the pictures with the local directory feature, one directory at a time.

This had worked for the most part, but I started getting a lot of file locking errors, to many files open, and the likes. I switched over to SQL indexed file locks, and the problem went away.

After several attempts at getting everything fine and dandy, my last successful attempt I declined from making the mod_rewrite declerations. I am not about to do this over, and create them. Sorry if the absolute links are no longer absolute.

In any case, I have a pretty stable picture gallery that will be able to support the amount of pictures and video clips I plan on throwing at it.

[Software]
[Comments(0)] [Trackbacks(0)] [Permalink]

Add comment

Add comment
 authimage
Your E-Mail Address will NOT be Shared

Main Entry: spew
Function: verb
Etymology: Middle English, from Old English spIwan; akin to Old High German spIwan to spit, Latin spuere, Greek ptyein intransitive verb
1 : VOMIT
2 : to come forth in a flood or gush
3 : to ooze out as if under pressure : EXUDE transitive verb
1 : VOMIT
2 : to send or cast forth with vigor or violence or in great quantity -- often used with out - spew-er noun
--
Merriam-Webster

Land where drunk cows swim and home to my daily hand