Blank screen after migrating to g2, php memory fixes not working...yet

scottishgoat

Joined: 2006-06-28
Posts: 34
Posted: Wed, 2006-06-28 17:48

Hello all,
I upgraded from Gallery 1.5 to Gallery2.1.1 (with the help of a friend) this weekend and am having problems. The install went fine but I had two problems:
The very first two albums I migrated said they were 'done' but the progress bar had not gone all the way across and there were no errors and no "Continue....". So then I tried to delete the albums in order to start over and got a blank white screen when choosing delete album from the drop down.
Now, since then I've migrated more albums to test the progress bar, same results but I've been able to delete or edit some subalbums but not the top albums. I've also tried other administrative options such as edit album with the same white screen.

In other posts php memory is referenced and I have followed the listed suggestions and still receive the blank white screen. The php memory_limit under info.php is 32mb. Any suggestions? What other info would you need? I'm trying to figure out how to get debugging info....I'm sorta new to this so speak slowly :)
Thank you so much for your help!!

Have tried/References:
creating .htaccess with 32mb and then increased to 128mb just to see if it'd work
adding ini_set("memory_limit","32M"); to main.php and install/index.php
I get only a blank screen when trying to view my Gallery, what's wrong? This can have various reasons. The first thing you should check is your PHP memory limit and other PHP configuration parameters. In most cases, G2 requires a memory limit of at least 16 MB, if you are using GD, it may require even a higher limit.
http://gallery.menalto.com/node/50318
http://gallery.menalto.com/node/33674
http://codex.gallery2.org/index.php/Gallery2:FAQ#PHP_memory_limit_-_Why_do_I_get_the_error_Allowed_memory_size_of_Xxx_bytes_exhausted.3F

G2 URL (optional):
G2 version: 2.1.1 core 1.1.0.1
G1 URL (optional):
G1 version:
G1 character set:
PHP memory limit:32m
--
PHP version (e.g. 4.3.11):4.4.1 apache
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33):Apache
Database (e.g. MySql 4.0.11): mysql 4.0.23-standard, lock.system=flock
Activated toolkits (e.g. NetPbm, GD): Gd, NetPBM, Exif
Operating system (e.g. Linux): Linux astro.phpwebhosting.com 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17
Browser (e.g. Firefox 1.0): Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

 
scottishgoat

Joined: 2006-06-28
Posts: 34
Posted: Thu, 2006-06-29 20:15

More info....
By trail and error I found that I could click into the album, click edit permissions, then I could delete the album. I deleted all of my albums through this process. I then started over. The first album went perfect - migrated the photos, built thumbnails. The second album had issues. The photos were migrated then the thumbnails hung at 22 of 60. Memory used: 10042872, total: 32M The progress finally stopped at 22 of 60, said "done" in the status bar, and does not give the 'continue....' option. Any ideas?

 
scottishgoat

Joined: 2006-06-28
Posts: 34
Posted: Fri, 2006-06-30 01:58

All of the albums from our old camera migrated fine...it's the new ones that get a blank screen. Any problems with a certain type of camera, certain size of file, or certain type of exif data?.....

 
scottishgoat

Joined: 2006-06-28
Posts: 34
Posted: Wed, 2006-07-05 17:54

I have tried putting the lines mentioned in the htaccess file, still the same results.
http://codex.gallery2.org/index.php/Gallery2:FAQ#Why_can.27t_I_upload_big_files_.28over_a_megabyte_or_two.29.3F

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Wed, 2006-07-05 18:40

Try downloading the 22nd image from your G1 and uploading it to your G2.

 
scottishgoat

Joined: 2006-06-28
Posts: 34
Posted: Wed, 2006-07-05 20:00

Hi! Thanks for the response.
I couldn't remember which album had the 22 of 60 issue, so I tried to recreate it.
I'm going to email my hosting company and see if they are having issues on their side too....
------------------------------------------------------------------------------
Imported an album from G1 with 39 photos.
It stopped at memory Memory used: 10258592, total: 32M and said "Creating Thumbnails 5 of 39"
I went into the album and the thumbnails were spotty - meaning 1-4 didn't have them, 5-34 did, 35 - 39 had them etc. I also realized the pix are in reverse order of what they are in G1.
Went to G1, saved #5 in the album to my desktop
Went to G2, added that photo to the same album thru the web browswer and it was successful
Tried this with another unrelated image and got a white screen

--------------------------------------------------------------------------
Then I tried another album.....
Imported an album from G1 with 190 photos.
It stopped at memory Memory used: 11519056, total: 32M and said only "Importing Photo:"
I went into the album and there of course were no thumbnails.
Went to Edit album to rebuild the thumbnails, got the white screen - which is what I get a LOT on these last albums that were taken with a new camera....
Went to G1, saved the first photo in the album (since it stopped between importing photos and thumbnails, figured photo #1 would have a problem) to my desktop
Went to G2, added that photo to the same album thru the web browswer and got a white screen
--------------------------------------------------------------------

What next?

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Thu, 2006-07-06 01:37

Turn off gd.

 
scottishgoat

Joined: 2006-06-28
Posts: 34
Posted: Thu, 2006-07-06 14:50

HHHmmmmmmmm.....apparently that worked like a charm? I deactivated and uninstalled it and didn't have a single issue in migrating/editing the rest of the albums. Could you explain why GD would be interefering with parts of my gallery2?..... Thanks for your time - it looks like I can make a full switch now!