coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Castilla on March 24, 2006, 12:33:27 PM

Title: In upload the pictures is only on FTP
Post by: Castilla on March 24, 2006, 12:33:27 PM
Heloo...
I´m having a problem!!!

I create a new user to test Coppermine and when I  upload a picture to the album that I create to this user no picture is showing in the screen... but... when I checked on ftp to check if the picture is there... surprise... the picture is there!!! So ... why dont show on the site???????
the picture is locate(ftp): ftp://ftp.adcastilla.com/adcastilla.com/castalbum/albums/userpics/10002/
my sit is: http://www.adcastilla.com/castalbum/index.php
Can somebody help me whith that please??????????????????????????????????
Thank´s Adriana Castilla
Title: Re: In upload the pictures is only on FTP
Post by: andy_cul on March 24, 2006, 12:46:16 PM
you need to batch add.

first login as admin then Batch add files but before that make sure you have chmod the folder into 777

or please read here http://jologs.com/photogallery/docs/index.htm#batch_add_pics (http://jologs.com/photogallery/docs/index.htm#batch_add_pics)
Title: Re: In upload the pictures is only on FTP
Post by: Castilla on March 24, 2006, 01:47:42 PM
I upload that picture in a user name that I create (create new user)... in other browser... not in the adm ... login from user with friends group permission... not administrator... I´m testing the site ...
The user of my gallerie can´t do bach add!!!!

I got this message in notices:

/include/functions.inc.php
Notice line 88: Undefined variable: cpg_show_private_album
/include/themes.inc.php
Notice line 1543: Undefined index: cat_thumb
Notice line 1595: Undefined index: inactive_next_tab
Notice line 1596: Undefined index: inactive_prev_tab

What shoul I do???
Title: Re: In upload the pictures is only on FTP
Post by: Castilla on March 24, 2006, 02:34:03 PM
I just made a test in adm mode... I found out that my ImageMagick was wrong path.... I got this message:

Error executing ImageMagick - Return value: 126


Cmd line :
/usr/bin/convert/convert -quality 75 -antialias -geometry 100x75 'albums/uploads/dalieu.jpg' 'albums/uploads/thumb_dalieu.jpg'



The convert program said:
sh: line 1: /usr/bin/convert/convert: Not a directory

Sooooooooooo.... I change in configuration to Gd2 .................. And now I upload a picture and is there!!! Fine...
But!!!!!!!!!!!!!!!!!!!!!!
My webhost gave me this path to ImageMagick:/usr/bin/convert and I put the path to ImagicMagic in the conf ... soooo... Why is not working?????????

Title: Re: In upload the pictures is only on FTP
Post by: Nibbler on March 24, 2006, 04:02:44 PM
Already answered you.
Title: Re: In upload the pictures is only on FTP
Post by: Joachim Müller on March 24, 2006, 05:07:04 PM
Your path to ImageMagick is /usr/bin/, not /usr/bin/convert. Convert is the name of the executable. On Lunix, executables don't necessarily have the extension ".exe".
Title: Re: In upload the pictures is only on FTP
Post by: Joachim Müller on March 24, 2006, 05:09:02 PM
thanks for making me post what Nibbler already told you. This is a result of double-posting (http://forum.coppermine-gallery.net/index.php?topic=29534.0) that is only helpful if you absolutely need more negative karma.