how to configure the Coppermine how to configure the Coppermine
 

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

how to configure the Coppermine

Started by joinfun, May 26, 2005, 06:09:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

joinfun

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 ?

Joachim Müller

Asking for help (which equals asking for support) on a board that is named "General discussion (no support!)" and has this description
QuoteGeneral 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 that comes with coppermine.

joinfun

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.

joinfun

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 !

???

Joachim Müller

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).



joinfun

#5
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
       (
           
  • => 1
               [1] => 2
               [2] => 3
               [3] => 4
           )

    )

    ==========================
    USER DATA:
    ------------------
    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
    (
       
  • => SELECT extension, mime, content FROM testing_filetypes;
       [1] => SELECT * FROM testing_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '***'
       [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM testing_usergroups WHERE group_id in (1)
       [3] => SELECT group_name FROM  testing_usergroups WHERE group_id= 1
       [4] => DELETE FROM testing_banned WHERE expiry < *****
       [5] => SELECT * FROM testing_banned WHERE ip_addr='x.x.x.x' OR ip_addr='x.x.x.x' OR user_id=1
       [6] => UPDATE testing_usergroups SET group_name='Administrators',group_quota='0',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='0',can_create_albums='1',priv_upl_need_approval='0',upload_form_config='3',custom_user_upload='0',num_file_upload='5',num_URI_upload='3' WHERE group_id = '1' LIMIT 1
       [7] => UPDATE testing_usergroups SET group_name='Registered',group_quota='1024',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='1',can_create_albums='1',priv_upl_need_approval='0',upload_form_config='3',custom_user_upload='0',num_file_upload='5',num_URI_upload='3' WHERE group_id = '2' LIMIT 1
       [8] => UPDATE testing_usergroups SET group_name='Anonymous',group_quota='0',can_rate_pictures='1',can_send_ecards='0',can_post_comments='0',can_upload_pictures='0',pub_upl_need_approval='1',can_create_albums='0',priv_upl_need_approval='1',upload_form_config='0',custom_user_upload='0',num_file_upload='5',num_URI_upload='3' WHERE group_id = '3' LIMIT 1
       [9] => UPDATE testing_usergroups SET group_name='Banned',group_quota='0',can_rate_pictures='0',can_send_ecards='0',can_post_comments='0',can_upload_pictures='0',pub_upl_need_approval='1',can_create_albums='0',priv_upl_need_approval='1',upload_form_config='0',custom_user_upload='0',num_file_upload='5',num_URI_upload='3' WHERE group_id = '4' LIMIT 1
       [10] => UPDATE testing_usergroups SET group_name='Staff',group_quota='0',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='1',can_create_albums='1',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='5',num_URI_upload='3' WHERE group_id = '5' LIMIT 1
       [11] => SELECT * FROM testing_usergroups WHERE 1 ORDER BY group_id
    )

    ==========================
    GET :
    ------------------
    Array
    (
    )

    ==========================
    POST :
    ------------------
    Array
    (
       [group_id] => Array
           (
               
  • => 1
               [1] => 2
               [2] => 3
               [3] => 4
               [4] => 5
           )

       [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 :

Joachim Müller

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.

joinfun

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

joinfun

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

kegobeer

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.
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

joinfun

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

kegobeer

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
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