coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: vuud on December 05, 2004, 09:12:01 AM

Title: Problem with batch adding photos... thumbnails missing, but there - FIXED HERE
Post by: vuud on December 05, 2004, 09:12:01 AM
My web site was wiped entirely recently so I have been rebuilding it from the ashes.  I had coppermine working for a long time on there, but have just done a completely fresh install (new download 1.3.2 and new database and all).  Everything seems to work fine with the whole thing in general except this.

I've uploaded to a new directiory albums/2004_12_05 a number of photos (100-200K each about 65 of them).  When I do the batch add files, it lets me click on the directory, and lists all the files in that directory.  But then it spins for a bit without showing any thumbnails.  I get a large number of these in debug mode:

Notice: Undefined variable: fullimagesize in /home/virtual/site13/fst/var/www/html/photos/searchnew.php on line 136
Notice: Undefined variable: fullimagesize in /home/virtual/site13/fst/var/www/html/photos/searchnew.php on line 137

(one set per each photo)

The thumbnails link like so: http://www.fistfullofcode.com/photos/showthumb.php?picfile=2004_12_06%2FKitties007.jpg&size=48

Then, I can select the images and insert them into an album
The results screen spins, but only gives me broken icon images where it would say OK, etc, etc... 

The image location and link locations on these are strangely the same:
http://www.fistfullofcode.com/photos/addpic.php?aid=17&pic_file=MjAwNF8xMl8wNi9LaXR0aWVzMDA3LmpwZw==&reload=41b2c260a1d01

Then, just to piss me off - it adds the images and thumbnails flawlessly.  If I go back into batch add it shows the thumbnails now.

I've not had this problem before.  Although I am with the same hosting service, I am on a new server with GD2 (the only difference I know for sure)

What else can I provide to help!?!?!

I dont think that has anything to do with it, but I also get
Notice: Undefined variable: meta_keywords in /home/virtual/site13/fst/var/www/html/photos/displayimage.php on line 632

When I go to the intermediary page

(I am running the classic theme till this problem is fixed)

Thanks!

Update:

I tried doing a photo the normal (upload via the web page) and it works fine there... shows the preview and all.

Nothing else I have tried has helped.

Update 2:

I have also checked and the memory limit is 8MB which some have said causes some problems.  Although I tried a batch upload of only two images (of about 150K each) and it had the exact same symptoms

I have also tried changing the encoding back to ISO and away from UTF-8 using in another post.  If I view image on the missing thumbnails, I get a message saying the thumbnail contains invalu




Title: Re: Problem with batch adding photos... thumbnails missing, but there
Post by: vuud on December 06, 2004, 01:31:23 AM

Thus is the debug information from coppermine.

USER:
------------------
Array
(
    [ID] => 9332d4256d5d18fb8461cb4add1b1855
    [am] => 1
    [lang] => english-utf-8
    [liv] => Array
        (
           
Title: Re: Problem with batch adding photos... thumbnails missing, but there - FIXED H
Post by: vuud on December 06, 2004, 08:43:44 AM
So I was playing some more and noticed some strange characters in the upper left of the window.  There was so much other stuff floating around in debug mode (this not declared, this not found, etc) that I missed them.  Did some research and noticed there were known problems with UTF-8 and that switching back did not really help. 

I checked my english-utf8 file and sure enough the strange characters were there.  I removed them and it was all good.

The thing is that my system should support UTF-8...  I am running Linux and Firefox. 

Strange, but working now.
Title: Re: Problem with batch adding photos... thumbnails missing, but there - FIXED HERE
Post by: ddpmacho on May 02, 2005, 02:48:42 PM
I was having the exact same problem as you. I checked my english-utf-8.php file and just before <php, I had smoe weird characters also. I deleted them and now everything works.  ;D  Thanks for sharing your resolution