coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: anime-me on September 02, 2006, 04:56:42 AM

Title: blank upload
Post by: anime-me on September 02, 2006, 04:56:42 AM
im sure all my files are chmod'ed correctly (even chmod them to 777 instead of 775) but everytime i try to upload the page loads for a really long time and it just give me a blank page and when i try a batch upload it says there are no folders in the "album" directory were there is infact 2 folders:
1; has a test image in it (uploads)
2; is empty (manga)
and they are both chmod correctly.

my server is running at very low speeds atm that could explain the normal http upload but how does it explain the ftp batch upload?
Title: Re: blank upload
Post by: Joachim Müller on September 02, 2006, 06:20:02 AM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: blank upload
Post by: anime-me on September 03, 2006, 04:56:32 AM
taht really doesn't solve my problem at all. I have raed the documantation over and over again and there was no fix for my problem...
please help. im sure the fix is pretty simple. if i could i would post the debug info but sadly i only get a blank page upon upload with no data what so ever.
Title: Re: blank upload
Post by: Sami on September 03, 2006, 06:57:13 AM
You didn't read it carefully !
read it again and do as suggested under RED part (also red part said Do not post debug_output unless requested)
Title: Re: blank upload
Post by: anime-me on September 04, 2006, 02:42:51 AM
actually i read it three times... I think i read it good enough. Anyways, I didn't know that you needed a test account for every problem ur users encounter ???

forum url: http://www.anime-me.com/forum
gallery url: http://www.anime-me.com/cpg149
username: test
password: test

btw, i have bridged it with my phpbb 2.0.18 + site.
Title: Re: blank upload
Post by: Sami on September 04, 2006, 05:55:01 AM
The Doc says:
Enable debug mode for everyone
Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")
but you didn't ! ::)

BTW single upload works fine for me and it's waiting for your approval
Title: Re: blank upload
Post by: anime-me on September 05, 2006, 12:40:06 AM
yes i did.. my server was inaccessable for a while so the changes might have not taken affect yet but enough about that ::)
everything is setup now but the batch uplaods don't work. it says that there are no directories under "album" when in fact there are like 3....
need the debug info? just ask.
Title: Re: blank upload
Post by: Joachim Müller on September 05, 2006, 02:50:02 AM
Post a deep link to one of the files you're trying to batch-add. What server operating system are you using?
Title: Re: blank upload
Post by: anime-me on September 05, 2006, 04:22:37 AM
im on a windows server. I read a few topics and was able to fix it myself but now i have another problem...
when i upload /png files they don't show up... it gives me this error "When using the GD image library allowed image types are only JPEG and PNG." i don't understand tho.... that file is .png
Title: Re: blank upload
Post by: Sami on September 05, 2006, 06:07:03 AM
Quoteim on a windows server
This is known issue , you need to disable Browsable batch-add interface

Quote"When using the GD image library allowed image types are only JPEG and PNG." i don't understand tho.... that file is .png
Probably bad formated file , try another file
Title: Re: blank upload
Post by: anime-me on September 06, 2006, 12:03:26 AM
Quote from: bmossavari on September 05, 2006, 06:07:03 AM
This is known issue , you need to disable Browsable batch-add interface
Probably bad formated file , try another file

what do u mean by "bad formmated"? i batched upload all those png files with 4 jpg files. the 4 jpgs work whilst the png's don't. i tried a deep link to one of the pngs and it worked correctly.
Title: Re: blank upload
Post by: Joachim Müller on September 06, 2006, 06:00:23 AM
Then post the deep link to the png file that doesn't work for you.
Quote from: anime-me on September 06, 2006, 12:03:26 AM
what do u mean by "bad formmated"?
The png file may be broken. Image libraries are picky: although your desktop app may be able to open a broken png file, GD might not be able to open it. That's why you're suppossed to post a link to it, to enable us to take a look at it.
Title: Re: blank upload
Post by: anime-me on September 06, 2006, 06:35:49 AM
oh sorry^^; had to disable .htaccess so u could view the deep link outside my site.

http://www.anime-me.com/cpg149/albums/100_ways_of_an_exorcist/100ways_v01_003.png
Title: Re: blank upload
Post by: Joachim Müller on September 06, 2006, 06:45:53 AM
There you go: the png you're trying to batch-add is not a RGB file, but a reduced palette image. GD doesn't support this out of the box. Option one: change the palette to RGB or convert the file into GIF. I attached both possible versions.
Title: Re: blank upload
Post by: anime-me on September 06, 2006, 06:39:02 PM
is there another option?
convering all the images im planning to upload is going to be on ehell of a hassle.
Title: Re: blank upload
Post by: Nibbler on September 06, 2006, 06:48:49 PM
Try using ImageMagick if available.
Title: Re: blank upload
Post by: Joachim Müller on September 06, 2006, 09:46:30 PM
Or try batch converting all your images on the client using IrfanView (see tutorial "Batch-resizing pics with Irfan View (http://coppermine-gallery.net/tutorial/irfanview1.php)"). This is dead easy and will require nearly no time.