forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: zerokarma on December 28, 2006, 10:58:45 pm

Title: Blank Pages when trying to use: Batch Add, Upload a File, Update/Resize Thumbs
Post by: zerokarma on December 28, 2006, 10:58:45 pm
I'm having problems trying to batch add file, or uploading a file or updating/resizing thumbnails.

What will happen is I get blank dead pages with no further error info.

For example,

Batch Add Files

- once I select a new directory the preview pics on the right hand side do not show up, if I attempt to add them anyways it gives me an error saying "click for details or to reload". If I click on that it goes to a blank page.
- directory is set to 777

Uploading a File

- It will upload the files successfully (I can see them on the FTP in the edit folder) however as soon as it goes to upload.php after the upload it goes to a blank page

Updating/Resizing Thumbnails

- When I try this option in the Admin Tools area it directly goes to a blank page with no further error information

Information about my Install

- This is a server with PHP5 and MySQL 5 and GD2
- This is an upgrade from an old phpnuke version of coppermine 2.0, I ran all the update stuff and all the old albums seem to be displaying fine without problem.
- Curiously if I select an existing album folder under batch add it will show all the image previews on the right hand side

-------------------

I'm usually pretty good at debugging but not sure where to go from here.
Title: Re: Blank Pages when trying to use: Batch Add, Upload a File, Update/Resize Thumbs
Post by: zerokarma on December 28, 2006, 11:14:57 pm
Here is the URL:
http://www.zerokarma.com/photoalbum/

There is a test album setup where guests can upload for testing purposes
Title: Re: Blank Pages when trying to use: Batch Add, Upload a File, Update/Resize Thum
Post by: Joachim Müller on December 29, 2006, 07:57:52 am
Do exactly as suggested in http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Upgrade to the most recent stable, which is currently cpg1.4.10.
Title: Re: Blank Pages when trying to use: Batch Add, Upload a File, Update/Resize Thumbs
Post by: zerokarma on December 29, 2006, 09:29:40 pm
Ok I have done exactly everything suggested in that doc but it is still happening.

- I've updated it to 1.4.10 as a fresh copy, I've set it to "Single file uploads only" and I have created a user/pass: test/test

Batch Add still doesn't work for anything.
Single File upload will upload the file but then go to a blank page.

I notice if I upload smaller pictures it seems to work however any larger image from my digital cameras and it just goes to the blank page. The images it is failing on are about 800k.

If I go to my old phpnuke coppermine(1.2) install and try a batch add with these files it works fine with no problems so I am not sure why the newer version doesn't seem to work at all with these larger pictures.
Title: Re: Blank Pages when trying to use: Batch Add, Upload a File, Update/Resize Thumbs
Post by: zerokarma on December 29, 2006, 10:42:18 pm
Ok nevermind I figured it out myself.

I started playing around with it more and noticed files from one of my albums taken with an older camera (which had smaller files) worked yet my newer cameras didn't work because the file size was a lot larger.

I bumped up the PHP resource limit from 8MB to 16MB as was suggested in a few other threads. That seemed to help it a little but I guess it was still failing on some files so I bumped it to 32MB and that seems to have cleared the rest of it up.

CauCau, I just wanted to say that I found you completely useless on this problem. I have noticed on many other threads you have the same negative attitude toward everyone treating them like everyone is an idiot, I understand you get a lot of newbies on here but not everyone is stupid. For the future you may want to put in some info or link to that forum page about the PHP settings in your #upload_trouble link above. If it was in there I would have been able to fix this a lot faster rather then reading through tons of pages here and trial and error.
Title: Re: Blank Pages when trying to use: Batch Add, Upload a File, Update/Resize Thum
Post by: Joachim Müller on December 30, 2006, 08:58:12 am
There is a sticky thread on this sub-board that explains the server-sided restrictions.