Previous files could not be placed? Previous files could not be placed?
 

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

Previous files could not be placed?

Started by SU1, August 04, 2004, 09:58:08 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

SU1

I always get that when trying to upload something :(

Joachim Müller

Did you CHMOD the albums folder as suggested? Is there an edit folder within the albums folder. What files do you try to upload?. Post a link to your gallery together with a test user account (non-admin) with upload privileges.

GauGau

Void Z7

Sorry for my English but i have the same problem on my server:

When i upload anything to gallery i have the next message:

1) 1 Upload success.
2) Appear window (in which i can change the albun when this picture is save)
3) then i receive message "Previous files could not be placed, you successfull placed all files"

But picture in album not appear.

I look the directory /albums/upload/10001 and here i found the file which i uploading i.e. in my database cant created a link on file.

result which i have:

1) file uploading, but gallery give message what she(gallery) is can not placed him(file)
2) Table in database cpg131_pictures stay clean.

I self hosting. My server located in LAN, therefore i can not give you access to my gallery.

Server based on FreeBSD 4.10, Apache 1.30 MySQL 4.0.20 PHP 4.3.7, ImageMagik and CPG 1.3.1.

My debug info:

USER:
------------------
Array
(
    [ID] => 015c337b0d20288043d423c3b7ab3871
    [am] => 1
    [lang] => russian
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => Administrator
    [user_password] => ********
    [user_lastvisit] => 2004-08-11 08:15:49
    [user_regdate] => 2004-08-11 08:14:47
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 25000
    [disk_min] => 25000
    [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] => 1
    [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] => 25000
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg131_filetypes;
        [1] => SELECT * FROM cpg131_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '30f54cbe2cabf23173198caaad89e7b9'
        [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 cpg131_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg131_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg131_banned WHERE expiry < 1092205970
        [5] => SELECT * FROM cpg131_banned WHERE ip_addr='172.16.1.144' OR ip_addr='172.16.1.144' OR user_id=1
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.7 - OK
    ------------------
    mySQL version: 4.0.20
    ------------------
    Coppermine version: 1.3.1
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.20
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE -I/usr/local/mysql/include/mysql
    MYSQL_LIBS -L/usr/local/mysql/lib/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    module doesn't exist
    ==========================
    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/local/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 | 60 | 60
    upload_max_filesize | 3M | 3M
    post_max_size | 8M | 8M
    ==========================

Joachim Müller

set permissions (CHMOD) on the albums folder and everything within it as suggested in the documentation that comes with coppermine.

GauGau

Void Z7

I try chmod 777 and 755 but nothing is changed

Joachim Müller

do you have a subfolder labelled "edit" within your "albums" folder? If not, create it.
Also check if you have sdafe_mode on your server and try enabling "silly_safe_mode" if yes. Refer to the documentation that comes with coppermine for details: http://coppermine.sourceforge.net/manual.php#safe

GauGau

Void Z7

No this not help me. May be problem anywhere else because my bbs also cannot work with graphics file. Ok thanks for support i try solve this problem myself.

Void Z7

Problem has been solved.

If you use Russian Apache:

Create .htaccess in directory when you install gallery with this directive : CharsetRecodeMultiPartForms Off

Joachim Müller

I don't think there's such a thing as "russian apache", there's only one apache httpd  ;)

Of course if you set directives on your webserver you have to know what you're doing.

GauGau