Batch Upload Thumbnail generation doesn not work! Batch Upload Thumbnail generation doesn not work!
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Batch Upload Thumbnail generation doesn not work!

Started by T-Error, November 29, 2005, 03:04:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

T-Error

First of all thank you guys for this great piece of software!

Now, when I batch upload files I get under results "Klicken für Details oder erneut laden" which means "Click for Details or reload" When I click on it I get a message that says:

"Kann Thumbnail nicht erzeugen." which means "Cannot create thumbnail". Under IE it's a broken image.

The path to the files is "albums/our_house/test/"

The folders have been chmoded to 777

I have GD bundled (2.0.28 compatible) enabled.

What am I doing wrong? Where are the thumbnails created?

msycho

I have the same problem with the creation of thumbnails batching upload files.

On the server the same gd-version is installed.


kegobeer

Have you changed the default location of the albums in the config page?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

msycho

the default location of the albums in the config page is albums/.

in the folder albums i have e.g. another folder "folder A" which i wanted to batch. so i type in the destination i want to batch */albums/folder A/ or is this wrong?

artistsinhawaii

@msycho

You really shouldn't put spaces in your directory folder names.  User underscores or dashes, instead.

@both

run phpinfo.php and double check the GD versions in your host server.

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

msycho

Quote from: madeinhawaii on November 29, 2005, 11:56:59 PM
@msycho

You really shouldn't put spaces in your directory folder names.  User underscores or dashes, instead.


Dennis

Oh, this was just an example here in the forum.

so what is wrong?

Tranz

#6
IHow can we tell what's wrong if you don't give real info?


T-Error

Quote from: GauGau on November 30, 2005, 08:41:40 AM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble

When I do this, I get awful ot of info. Which section of the debgu info would be useful for you? Not sure if I can post everything here, might be too long.

Anyway, When I http upload, first screen says that file has been added, I am asked to click "continue" and then it says "The previous file could not be placed."

I mean.. what is a gallery software good for when I cannot add / upload files to it? ;-)

And yes, I do have GD

Coppermine version: 1.4.2(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

Joachim Müller

Re-read the section I refered to. I don't need the debug_output, I need error messages, a link and a test user account, as suggested in the section I refered to. If it still says "The previous file could not be placed", you haven't done as suggested - you need to switch all groups to "Single file uploads only".

Quote from: T-Error on November 30, 2005, 10:30:42 AM
I mean.. what is a gallery software good for when I cannot add / upload files to it? ;-)
Pretty smart reply. Let me ask you a question as well: what is a documentation good for if a user doesn't read it? >:(

Joachim

T-Error

Hm... Under Groups I *did* set all "File upload boxes" to 1 - is this what you meant?

Anyway, here's a test acount with upload priviliges:

uid: cpgtest
pwd: testtest
url: muellender.com/photos

thanx for your help guys!

Joachim Müller

set "URI/URL-Upload:" to "0" for all groups, we need single file uploads only!!!

T-Error

aaaaaahhhhhhh.....

I thought single = 1  ;D

Well okay , now I have an error message:


The file 'albums/userpics/Bild_002.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /home/hsphere/local/edited/edited/muellender.com/photos/db_input.php - Line: 391

Joachim Müller

make sure you have set permissions (CHMOD) as suggested in the docs, the script needs write access inside the albums folder and every folder within it.

T-Error

I just checked it, every folder under /albums/ including /albums/ was chmodded to 777

and no folder contains spaces or special caracters.

Joachim Müller

don't check, but re-apply - don't trust the information your ftp app (or whatever you use to set permissions) displays. If 777 doesn't work, try 755. Refer to the docs to understand how to set permissions. This is something that we can't do for you, you have to figure this out for yourself, maybe together with your webhost.

T-Error

Thank you for your quick responses!

I did reapply - no positive result
I did chmod 755 - no positive result.

I still get the error.

I am using FileZilla, right click on folder "File attributes"

You sure this is the source for the problem?

If chmod wouldn't work correctly or if my hostwould have probs with chmod, I wouldn't have been able to install CPG at all.

Slowly I am "out of my latin" (mit dem Latein am Ende) ;-)

Joachim Müller


msycho

Quote from: TranzNDance on November 30, 2005, 08:38:36 AM
IHow can we tell what's wrong if you don't give real info?

I get no errormessage like T-Error. I get only the message that thumnails cannot be created after trying to batch files.

what for info you need?

by the way, you'll find my coppermine gallery at www.sghabi2006.de/copgal/index.php

Joachim Müller

If you must hijack another user's thread, you could at least have read it: we clearly described what information you need to supply if you want us to look into your issues. There's a section in the docs that explains what to do to trouble-shoot the upload process. There's a sticky thread. There's a tutorial. All say the same thing. What else do you need?
This is the last warning: misbehave once more and you'll get banned!

Joachim