G2 install and G1>G2 Migration Experience and issues

agw

Joined: 2004-01-22
Posts: 8
Posted: Tue, 2006-05-02 12:13

Gallery version = 2.1.1 core 1.1.0.1
PHP version = 5.1.2 cgi-fcgi
Webserver = Microsoft-IIS/6.0
Database = mysql 5.0.20a-nt, lock.system=database
Toolkits = Exif, Thumbnail, ImageMagick
Acceleration = none, none
Operating system = Windows NT MARVEL 5.2 build 3790
Default theme = matrix
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; WOW64; SV1; InfoPath.1; .NET CLR 2.0.50727)

It was hard, no questions...but I've got it done. I had Gallery 1 so I installed Gallery 2 on Windows 2003 server and then migrated the old gallery. Here are my pending issues:
1) One file would not upload. It's a video of 500MB and I get the following error message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in E:\WebSites\agw\gallery\modules\core\classes\GalleryPlatform.class on line 65

2) The memory count at the top right would always show 0 during the import. (Memory used: 0, total: 0) I run it on IE 6.0 32 Bit

3) While I installed the URL Rewrite module I could not figure out how to configure it. I still don't quite understand what it is for but I realize that during the migration from Gallery one a mapping has been made. Since the Gallery 2 is working fine, am I really missing anything?

4) While I like the structure of the new data folder and the fact that there is only the original picture in each folder, where are the thumbnails stored?

5) Is it now safe to delete the old data album with all the pictures, the resized pictures and thumbnails?

6) How do I get my rss reader to get the updates from the new gallery? the old one had a simple address: server\gallery\rss.php

7) From http://codex.gallery2.org/index.php/Gallery2:migration
I don't understand why this is necessary:"
After the import, make sure you place the new .htaccess file into your old g1 albums/ directory
If there exists already a file with the name ".htaccess" in your g1 albums/ directory, replace it with the following .htaccess file
If there's no .htaccess file in this albums/ directory yet, copy the following .htaccess file to this directory
The new .htaccess file can be downloaded from "site admin" -> "import from G1" and it needs to be placed into your old G1 albums/ directory
"

Thank you in advance for your time, Andrea

 
marshra

Joined: 2005-09-11
Posts: 4
Posted: Sun, 2006-07-16 08:28

PHP limits you to 30 seconds unless you tell it otherwise. That's not your problem though. PHP will NOT, and I repeat WILL NOT accept a file that large through POST, or through the upload. You will need to upload it via FTP. As far as linking it, I'm not quite sure.

That leads us to your next question. The .htaccess. htaccess is a permission file. It's used to both secure a directory / sub directories, as well as give special permision to certian users or programs. IE gallery2. As such, if it needs that ht access in there, I would assume that you would need to keep your album directory.

Thumbs might be generated in real time. I'm not 100% sure, but I'm pretty sure there is a cache of some kind. It mentions this during the import as one of the options. As far as where it's stored, I'm not sure.