Re: "Previous File Could Not Be Placed" Help please Re: "Previous File Could Not Be Placed" Help please
 

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

Re: "Previous File Could Not Be Placed" Help please

Started by Illimenkinin, December 07, 2005, 06:16:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Illimenkinin

Oddly enough I have had the EXACT same problem since OCTOBER. I have always used GD2.0.28 and have never used ImageMagick. It started with cpg1.3 I upgraded to cpg1.4.2 and it continued. The "troubleshooting" guide at http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php does not cover cpg1.4.2 since the listed "Groups - Upload Form Configuration" setting as shown does not exist. There is no mention of this exact problem on the cpg1.4.2 area and since it started with cpg1.3 I looked here.


Site: http://sithtrainingtemple.com/sithgallery/upload.php

User: test1234
Pass: 1234test

Debug Data:

USER:
------------------
Array
(
    [ID] => 977417e24a735b70953f28c14c06c799
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 360
    [user_name] => test1234
    [groups] => Array
        (
           
  • => 2
                [1] => 470
            )

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg133_filetypes; (0.009s)
        [1] => select * from cpg133_plugins order by priority asc; (0.018s)
        [2] => SELECT * FROM cpg133_bridge (0.002s)
        [3] => SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM

    `XXXXX_XXX`.phpbb_users AS u, `XXXXX_XXX`.phpbb_sessions AS s WHERE u.user_id=s.session_user_id

    AND s.session_id = 'ec18f2fc8bb3d4361d771c3a83960603' AND u.user_id > 0 (0.002s)
        [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password,

    ug.group_id AS group_id FROM `XXXXX_XXX`.phpbb_users AS u, `XXXXX_XXX`.phpbb_user_group AS ug

    WHERE u.user_id=ug.user_id AND u.user_id='360' (0s)
        [5] => SELECT ug.group_id+100 AS group_id FROM `XXXXX_XXX`.phpbb_users AS u,

    `XXXXX_XXX`.phpbb_user_group AS ug, `XXXXX_XXX`.phpbb_groups as g WHERE u.user_id=ug.user_id

    AND u.user_id='360' AND g.group_id = ug.group_id (0s)
        [6] => 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 cpg133_usergroups WHERE group_id in

    (2,470) (0.012s)
        [7] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 2 (0.011s)
        [8] => SELECT user_favpics FROM cpg133_favpics WHERE user_id = 360 (0.017s)
        [9] => DELETE FROM cpg133_banned WHERE expiry < '2005-12-07 19:23:44' (0s)
        [10] => SELECT * FROM cpg133_banned WHERE (ip_addr='68.84.18.10' OR ip_addr='68.84.18.10'

    OR user_id=360) AND brute_force=0 (0.001s)
        [11] => SELECT aid, title FROM cpg133_albums WHERE category < 10000 AND uploads='YES' AND

    (visibility = '0' OR visibility IN (2,470)) ORDER BY title (0s)
        [12] => SELECT aid, title FROM cpg133_albums WHERE category='10360' ORDER BY title (0.001s)
        [13] => SELECT encoded_string FROM cpg133_temp_data WHERE unique_ID = 'c156e185' (0.001s)
        [14] => UPDATE cpg133_temp_data SET encoded_string = 'YTowOnt9' WHERE unique_ID =

    'c156e185' (0s)
        [15] => SELECT category FROM cpg133_albums WHERE aid='36' and (uploads = 'YES' OR category

    = '10360') (0.001s)
        [16] => DELETE FROM cpg133_temp_data WHERE unique_ID = 'c156e185' (0.023s)
        [17] => SELECT COUNT(*) FROM cpg133_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [album] => 36
        [title] =>
        [caption] =>
        [keywords] =>
        [control] => phase_2
        [unique_ID] => c156e185
        [debugtext] => USER:
    ------------------
    Array
    (
        [ID] => 977417e24a735b70953f28c14c06c799
        [am] => 1
        [lang] => english
        [liv] => Array
            (
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 360
        [user_name] => test1234
        [groups] => Array
            (
               
  • => 2
                [1] => 470
            )

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg133_filetypes; (0.001s)
        [1] => select * from cpg133_plugins order by priority asc; (0.046s)
        [2] => SELECT * FROM cpg133_bridge (0.002s)
        [3] => SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM

    `XXXXX_XXX`.phpbb_users AS u, `XXXXX_XXX`.phpbb_sessions AS s WHERE u.user_id=s.session_user_id

    AND s.session_id = 'ec18f2fc8bb3d4361d771c3a83960603' AND u.user_id > 0 (0s)
        [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password,

    ug.group_id AS group_id FROM `XXXXX_XXX`.phpbb_users AS u, `XXXXX_XXX`.phpbb_user_group AS ug

    WHERE u.user_id=ug.user_id AND u.user_id='360' (0.001s)
        [5] => SELECT ug.group_id+100 AS group_id FROM `XXXXX_XXX`.phpbb_users AS u,

    `XXXXX_XXX`.phpbb_user_group AS ug, `XXXXX_XXX`.phpbb_groups as g WHERE u.user_id=ug.user_id

    AND u.user_id='360' AND g.group_id = ug.group_id (0s)
        [6] => 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 cpg133_usergroups WHERE group_id in

    (2,470) (0.002s)
        [7] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 2 (0.001s)
        [8] => SELECT user_favpics FROM cpg133_favpics WHERE user_id = 360 (0.003s)
        [9] => DELETE FROM cpg133_banned WHERE expiry < '2005-12-07 19:23:29' (0.026s)
        [10] => SELECT * FROM cpg133_banned WHERE (ip_addr='68.84.18.10' OR ip_addr='68.84.18.10'

    OR user_id=360) AND brute_force=0 (0s)
        [11] => SELECT aid, title FROM cpg133_albums WHERE category < 10000 AND uploads='YES' AND

    (visibility = '0' OR visibility IN (2,470)) ORDER BY title (0.003s)
        [12] => SELECT aid, title FROM cpg133_albums WHERE category='10360' ORDER BY title (0.002s)
        [13] => SELECT encoded_string FROM cpg133_temp_data WHERE unique_ID = 'c156e185' (0s)
        [14] => UPDATE cpg133_temp_data SET encoded_string =

    'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czo5OiJ0ZXN0MS5qcGciO3M6MTQ6InRlbXBvcmFyeV9uYW1lIj

    tzOjIzOiJtSFRUUF90ZW1wXzNjYmU0YmMyLmpwZyI7czoxMjoicHJldmlld19wYXRoIjtzOjM0OiIuL2FsYnVtcy9lZGl0L

    3ByZXZpZXdfM2Y4ZDYxOTUuanBnIjt9fQ==' WHERE unique_ID = 'c156e185' (0.001s)
        [15] => SELECT COUNT(*) FROM cpg133_pictures WHERE approved = 'NO' (0.021s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [unique_ID] => c156e185
        [control] => phase_2
        [debugtext] => USER:
    ------------------
    Array
    (
        [ID] => 977417e24a735b70953f28c14c06c799
        [am] => 1
        [lang] => english
        [liv] => Array
            (
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 360
        [user_name] => test1234
        [groups] => Array
            (
               
  • => 2
                [1] => 470
            )

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg133_filetypes; (0.001s)
        [1] => select * from cpg133_plugins order by priority asc; (0.002s)
        [2] => SELECT * FROM cpg133_bridge (0.002s)
        [3] => SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM

    `XXXXX_XXX`.phpbb_users AS u, `XXXXX_XXX`.phpbb_sessions AS s WHERE u.user_id=s.session_user_id

    AND s.session_id = 'ec18f2fc8bb3d4361d771c3a83960603' AND u.user_id > 0 (0.023s)
        [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password,

    ug.group_id AS group_id FROM `XXXXX_XXX`.phpbb_users AS u, `XXXXX_XXX`.phpbb_user_group AS ug

    WHERE u.user_id=ug.user_id AND u.user_id='360' (0.002s)
        [5] => SELECT ug.group_id+100 AS group_id FROM `XXXXX_XXX`.phpbb_users AS u,

    `XXXXX_XXX`.phpbb_user_group AS ug, `XXXXX_XXX`.phpbb_groups as g WHERE u.user_id=ug.user_id

    AND u.user_id='360' AND g.group_id = ug.group_id (0s)
        [6] => 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 cpg133_usergroups WHERE group_id in

    (2,470) (0.002s)
        [7] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 2 (0s)
        [8] => SELECT user_favpics FROM cpg133_favpics WHERE user_id = 360 (0.032s)
        [9] => DELETE FROM cpg133_banned WHERE expiry < '2005-12-07 19:23:25' (0.03s)
        [10] => SELECT * FROM cpg133_banned WHERE (ip_addr='68.84.18.10' OR ip_addr='68.84.18.10'

    OR user_id=360) AND brute_force=0 (0.046s)
        [11] => SELECT aid, title FROM cpg133_albums WHERE category < 10000 AND uploads='YES' AND

    (visibility = '0' OR visibility IN (2,470)) ORDER BY title (0.037s)
        [12] => SELECT aid, title FROM cpg133_albums WHERE category='10360' ORDER BY title (0s)
        [13] => SELECT COUNT(*) FROM cpg133_pictures WHERE approved = 'NO' (0s)
        [14] => SELECT unique_ID FROM cpg133_temp_data (0.006s)
        [15] => INSERT INTO cpg133_temp_data VALUES ('c156e185',

    'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czo5OiJ0ZXN0MS5qcGciO3M6MTQ6InRlbXBvcmFyeV9uYW1lIj

    tzOjIzOiJtSFRUUF90ZW1wXzNjYmU0YmMyLmpwZyI7fX0=', '1133983405') (0.001s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [URI_array] => Array
            (
               
  • =>
                [1] =>
                [2] =>
            )

        [control] => phase_1
    )

    ==========================
    Page generated in 0.438 seconds - 16 queries in 0.184 seconds - Album set : ; Meta set: ;
    )

    ==========================
    Page generated in 0.486 seconds - 16 queries in 0.109 seconds - Album set : ; Meta set: ;
    )

    ==========================
    Page generated in 0.449 seconds - 18 queries in 0.098 seconds - Album set : ; Meta set: ;

Tranz


Joachim Müller