forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: max302 on August 06, 2006, 02:58:42 am

Title: Files could not be place.
Post by: max302 on August 06, 2006, 02:58:42 am
This is getting on my nerves. I`ve installed reinstalled patched, double checked permissions  at least 7904834 times, and this still doesn't work. Image Magick is installed, so is GD, which stubbornly refuses to work(PHP says GD is supported, but CPG says it isn't, but thats another problem.), and of course the latest version of coppermine. This all runs on Apache server Running on linux, distro i don`t know.

When I upload a pic, CPG says that my photo was properly uploaded, which is true, because i see it on FTP. When I am prompted to enter the info on the pic, no preview is available, like in the pic that I included in this post. Then, on the next page, i get this message. "The previous file could not be placed.
You have successfully placed all the files."
Then, the photo isn`t visible on the category that I selected.

Any of you have an idea of whats going on?
Title: Re: Files could not be place.
Post by: Nibbler on August 06, 2006, 03:01:41 am
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Files could not be place.
Post by: max302 on August 06, 2006, 03:52:46 pm
I get this.

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

--------------------------------------------------------------------------------------------------
Error executing ImageMagick - Return value: 1

Cmd line :
/usr/local/bin/convert -quality 80 -antialias -geometry 100x75 'albums/userpics/10001/Band_1.jpg' 'albums/userpics/10001/thumb_Band_1.jpg'


The convert program said:
convert: no decode delegate for this image format `albums/userpics/10001/Band_1.jpg'.
convert: missing an image filename `albums/userpics/10001/thumb_Band_1.jpg'.
---------------------------------------------------------------------------------------------------

The debug output is this:

---------------------------------------------------------------------------------------------------
USER:
------------------
Array
(
    [ID] => 3679fe82f975a9fc59abc97373fecc6d
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => max302
    [groups] => Array
        (
           
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [album] => 1
    [MAX_FILE_SIZE] => 1048576
    [title] => asdf
    [caption] => asdfsdfs
    [keywords] => sdfsdf
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 5.1.4 - OK
------------------
mySQL version: 5.0.21-standard-log
------------------
Coppermine version: 1.4.8(stable)
==========================
Module: GD
------------------
GD Version: 2.0 or higher
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support:
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support:
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.21
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/www/php_includes | .:/www/php_includes
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 1.538 seconds - 16 queries in 0.03 seconds - Album set : ; Meta set: ;
--------------------------------------------------------------------------------------------------
Title: Re: Files could not be place.
Post by: Joachim Müller on August 06, 2006, 03:55:29 pm
The uploading troubleshooting section Nibbler refered to clearly says not to post debug_output, read more carefully next time. The error message should be pretty self-explanatory. Try using GD. GD needs to be compiled with jpeg support, see FAQ.