forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: joinfun on May 26, 2005, 06:09:36 am

Title: how to configure the Coppermine
Post by: joinfun on May 26, 2005, 06:09:36 am
I have installed Fedora 3 and update to ImagemagicK 6.2.2 but don't know how to make it work. Does someone else can help ?
Title: Re: how to configure the Coppermine
Post by: Joachim Müller on May 26, 2005, 08:28:45 am
Asking for help (which equals asking for support) on a board that is named "General discussion (no support!) (http://forum.coppermine-gallery.net/index.php?board=12.0)" and has this description
Quote
General discussion for everything that's coppermine-related. Do NOT post support or feature requests here, they should go into the proper boards
is not a very bright idea. Post what coppermine version you're trying to install and what your actual question is. Your posting sounds like "could someone install this for me?" - to this question, the answer is "no". A first place to turn to is the documentation (http://coppermine.sourceforge.net/manual.php) that comes with coppermine.
Title: Re: how to configure the Coppermine
Post by: joinfun on May 27, 2005, 04:57:56 am
Your posting sounds like "could someone install this for me?"

I never said that I need someone install coppermine for me. If I made you confuse, I'm so sorry. I'm a new user on coppermine project. I used Fedora 3 with coppermine 1.3.2. By now, I tried on mysql portion. And will let anyone know if I got problem.
Title: Re: how to configure the Coppermine
Post by: joinfun on May 27, 2005, 11:21:40 am
my coppermine system is installed successful, but at the last step when i did uploading action. I got an error messages as below:

// The previous file could not be placed.      //
//                                                           //
// You have successfully placed all the files. //

The album has been created already but the upload file can't display in coppermine system. It was upload under album folder already.
Does anyone else can give me some advice ?

Thanks so much !

 ???
Title: Re: how to configure the Coppermine
Post by: Joachim Müller on May 27, 2005, 02:34:36 pm
1) As you're requesting support, I'll move your posting from "General discussion" to the cpg1.3 support board.
2) We have a "one issue per thread" policy you agreed to respect when joining this forum. Please respect it in the future.
3) Enable debug mode in coppermine config (with notices display turned off) and set "file upload method" on the groups panel to "Single file uploads only" for all relevant groups. This will give you a more detailed error message. Post it here (the error message, not the debug output).


Title: Re: how to configure the Coppermine
Post by: joinfun on May 30, 2005, 10:05:16 am
now, I can upload the files were TXT, DOC and XLS format to coppermine system. When I uploaded the PNG, JPG or BMP format, there have error message. The following is the debug info from my coppermeine system.

USER:
------------------
Array
(
    [ID] => *****
    [am] => 1
    [liv] => Array
        (
            [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => admin
    [user_password] => **********
    [user_lastvisit] => 2005-05-30 15:50:19
    [user_regdate] => 2005-05-30 09:57:45
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [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] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
    [group_id] => Array
        (
            [group_name_1] => Administrators
    [group_quota_1] => 0
    [can_rate_pictures_1] => 1
    [can_send_ecards_1] => 1
    [can_post_comments_1] => 1
    [can_upload_pictures_1] => 1
    [pub_upl_need_approval_1] => 0
    [can_create_albums_1] => 1
    [priv_upl_need_approval_1] => 0
    [upload_form_config_1] => 3
    [custom_user_upload_1] => 0
    [num_file_upload_1] => 5
    [num_URI_upload_1] => 3
    [group_name_2] => Registered
    [group_quota_2] => 1024
    [can_rate_pictures_2] => 1
    [can_send_ecards_2] => 1
    [can_post_comments_2] => 1
    [can_upload_pictures_2] => 1
    [pub_upl_need_approval_2] => 1
    [can_create_albums_2] => 1
    [priv_upl_need_approval_2] => 0
    [upload_form_config_2] => 3
    [custom_user_upload_2] => 0
    [num_file_upload_2] => 5
    [num_URI_upload_2] => 3
    [group_name_3] => Anonymous
    [group_quota_3] => 0
    [can_rate_pictures_3] => 1
    [can_send_ecards_3] => 0
    [can_post_comments_3] => 0
    [can_upload_pictures_3] => 0
    [pub_upl_need_approval_3] => 1
    [can_create_albums_3] => 0
    [priv_upl_need_approval_3] => 1
    [upload_form_config_3] => 0
    [custom_user_upload_3] => 0
    [num_file_upload_3] => 5
    [num_URI_upload_3] => 3
    [group_name_4] => Banned
    [group_quota_4] => 0
    [can_rate_pictures_4] => 0
    [can_send_ecards_4] => 0
    [can_post_comments_4] => 0
    [can_upload_pictures_4] => 0
    [pub_upl_need_approval_4] => 1
    [can_create_albums_4] => 0
    [priv_upl_need_approval_4] => 1
    [upload_form_config_4] => 0
    [custom_user_upload_4] => 0
    [num_file_upload_4] => 5
    [num_URI_upload_4] => 3
    [group_name_5] => Staff
    [group_quota_5] => 0
    [can_rate_pictures_5] => 1
    [can_send_ecards_5] => 1
    [can_post_comments_5] => 1
    [can_upload_pictures_5] => 1
    [pub_upl_need_approval_5] => 1
    [can_create_albums_5] => 1
    [priv_upl_need_approval_5] => 0
    [upload_form_config_5] => 0
    [custom_user_upload_5] => 0
    [num_file_upload_5] => 5
    [num_URI_upload_5] => 3
    [apply_modifs] => Apply modifications
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 3.23.58
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.58
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
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 | no value | no value
file_uploads | On | On
include_path | .:/usr/share/pear | .:/usr/share/pear
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 | 60 | 60
upload_max_filesize | 4M | 4M
post_max_size | 8M | 8M
==========================
Page generated in 0.104 seconds - 12 queries in 0.007 seconds - Album set :
Title: Re: how to configure the Coppermine
Post by: Joachim Müller on May 31, 2005, 06:23:37 am
I told you to post the error message you get, not the debug ouput. Do as I suggested or I won't be able to help you.
Title: Re: how to configure the Coppermine
Post by: joinfun on June 02, 2005, 04:27:31 am
When I did the upload action, I got an error messages as below:

 The previous file could not be placed.    
 You have successfully placed all the files.

thx
Title: Re: how to configure the Coppermine
Post by: joinfun on June 02, 2005, 04:38:20 am
When I upoad the JPG format, I got an error message as below:

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

Error executing ImageMagick - Return value: 1

Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 42x100 'albums/userpics/10003/00.jpg' 'albums/userpics/10003/thumb_00.jpg'

The convert program said:
convert: unable to open image `albums/userpics/10003/00.jpg': Permission denied.

File: /var/www/html/Image/db_input.php - Line: 304

thx
Title: Re: how to configure the Coppermine
Post by: kegobeer on June 02, 2005, 04:44:27 am
Looks like ImageMagick isn't properly configured.  Try switching to GD2 and see if your problem goes away.  Then you'll know for sure if ImageMagick is responsible, and then you can try ImageMagick specific forums for possible help, or you can search our forums for ImageMagick Return Value 1.
Title: Re: how to configure the Coppermine
Post by: joinfun on June 02, 2005, 10:00:29 am
when I changed to GD2, it seems work smoothly. Does GD2 only support JPG and PNG format ? Because I would like to upload some other format in Coppermine system.

thx
Title: Re: how to configure the Coppermine
Post by: kegobeer on June 02, 2005, 12:34:21 pm
GD2 supports GIF (2.0.28+), JPG, PNG, WBMP (not BMP!).  If you apply the GD/GIF mod you will have GIF support.  http://forum.coppermine-gallery.net/index.php?board=32.0