forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: morbid on July 19, 2006, 11:26:06 pm

Title: Problems when uploading pictures.
Post by: morbid on July 19, 2006, 11:26:06 pm
Hi all..

I´m having proböems when i try to upload a picture to my gallery. I am really poor at this, so I would appreciate some help.

This is what I get:

Critical error
The file 'albums/userpics/10001/Ammo1-2006~1.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /home/morbid/public_html/coppergall/db_input.php - Line: 391

 
And this:

USER:
------------------
Array
(
    [ID] => 242ca2670d0b31198d3732c12f061165
    [am] => 1
)

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

    [disk_max] => 1024
    [disk_min] => 1024
    [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] => 1024
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [album] => 6
    [MAX_FILE_SIZE] => 1048576
    [title] =>
    [caption] =>
    [keywords] =>
    [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.2 - OK
------------------
mySQL version: 4.1.18-standard
------------------
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:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.18
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1.2
Linked Version 1.2.1.2
==========================
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 | exec,passthru,proc_open,system,posix_kill,popen | exec,passthru,proc_open,system,posix_kill,popen
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
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 | 55M | 55M
post_max_size | 55M | 55M
==========================
Page generated in 0.165 seconds - 15 queries in 0 seconds - Album set : ; Meta set: ;

What am I doing wrong?

Warm regards,
Miqe
http://www.terrariummorbidum.se/coppergall/
Title: Re: Problems when uploading pictures.
Post by: Nibbler on July 19, 2006, 11:54:49 pm
Are you using GD or IM?

See http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble and update your gallery.
Title: Re: Problems when uploading pictures.
Post by: morbid on July 20, 2006, 08:00:39 am
Are you using GD or IM?

See http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble and update your gallery.

I´m sorry, man.. But I don´t know what you mean by "GD or IM" Forgive me, but I am just a stupid Swede..  ::)
Title: Re: Problems when uploading pictures.
Post by: Sami on July 20, 2006, 08:05:06 am
admin mode=>config=>Files and thumbnails advanced settings=>Method for resizing images
if you are using Imagemagick (IM) check the path to be correct and also try using GD2 instead
Title: Re: Problems when uploading pictures.
Post by: Joachim Müller on July 20, 2006, 08:07:29 am
You either need GD or ImageMagick to run Coppermine (see "minimum requirements (http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#MinimumRequirements)"). Check what you have on your server as suggested on the FAQ (http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm) page and set Coppermine up accordingly (refer to documentation: Method for resizing images (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_picture_thumb_advanced_resize_method)).
Don't answer a support suggestion with another question - do as suggested instead by doing exactly as described in the upload troubleshooting section of the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble) (Nibbler has refered to that). Upgrading (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade) is mandatory as well and not related to your lack of knowledge about GD vs. ImageMagick.
Being a newbie is a poor excuse for not doing as suggested and failing to read. Don't expect to be spoon-fed. >:(
Title: Re: Problems when uploading pictures.
Post by: morbid on July 20, 2006, 03:01:19 pm
You either need GD or ImageMagick to run Coppermine (see "minimum requirements (http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#MinimumRequirements)"). Check what you have on your server as suggested on the FAQ (http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm) page and set Coppermine up accordingly (refer to documentation: Method for resizing images (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_picture_thumb_advanced_resize_method)).
Don't answer a support suggestion with another question - do as suggested instead by doing exactly as described in the upload troubleshooting section of the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble) (Nibbler has refered to that). Upgrading (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade) is mandatory as well and not related to your lack of knowledge about GD vs. ImageMagick.
Being a newbie is a poor excuse for not doing as suggested and failing to read. Don't expect to be spoon-fed. >:(

Hey, man.. I´m not expecting to ge spoon-fed.. Take it easy.. And I did not answer with a question! I know how to read, bur some of the words you people use, are like Lathin to me, you see, I AM from Sweden and I am not use to some of the words, frases or shortening of words that you use. I only ask when I do not understand, ok..
Title: Re: Problems when uploading pictures.
Post by: Joachim Müller on July 20, 2006, 09:19:57 pm
Issue solved then?
Title: Re: Problems when uploading pictures.
Post by: morbid on July 21, 2006, 03:58:20 pm
My problem with the Gallery is solved, so now you don´t have to see me here...  >:(
Title: Re: Problems when uploading pictures.
Post by: Joachim Müller on July 21, 2006, 08:07:51 pm
What a nice person. Thanks for having given us the opportunity to support you. I admire your attitude. Wish there were more folks to encourage supporters.