The previous file could not be placed. !!! The previous file could not be placed. !!!
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

The previous file could not be placed. !!!

Started by khazan, April 04, 2006, 11:35:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

khazan

When I try to upload file, the below message appear and i couldn't upload any things.

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



USER:
------------------
Array
(
    [ID] => cd637cb5d01c405ae136e3260f71bad9
    [am] => 1
    [lang] => english
)

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

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg143_filetypes; (0.002s)
        [1] => select * from cpg143_plugins order by priority asc; (0.001s)
        [2] => delete from `picdb`.cpg143_sessions where time<1144181839 and remember=0; (0.001s)
        [3] => delete from `picdb`.cpg143_sessions where time<1142975839; (0.001s)
        [4] => select user_id from `picdb`.cpg143_sessions where session_id=md5("b5f63087802e75ff5a58fce78de8ae67a93e9509f71da5c3f80a687fef175663"); (0.001s)
        [5] => select user_id as id, user_password as password from `picdb`.cpg143_users where user_id=1 (0.003s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `picdb`.cpg143_users AS u INNER JOIN `picdb`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
        [7] => SELECT user_group_list FROM `picdb`.cpg143_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
        [8] => 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 cpg143_usergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0.001s)
        [10] => update `picdb`.cpg143_sessions set time='1144185439' where session_id=md5('b5f63087802e75ff5a58fce78de8ae67a93e9509f71da5c3f80a687fef175663'); (0.001s)
        [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-04-04 21:29:19' (0.001s)
        [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='213.207.210.23' OR ip_addr='213.207.210.23' OR user_id=1) AND brute_force=0 (0.001s)
        [14] => SELECT aid, title FROM cpg143_albums WHERE category < 10000 ORDER BY title (0.001s)
        [15] => SELECT aid, title FROM cpg143_albums WHERE category='10001' ORDER BY title (0.001s)
        [16] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0.001s)
        [17] => SELECT unique_ID FROM cpg143_temp_data (0.001s)
        [18] => INSERT INTO cpg143_temp_data VALUES ('bccee712', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoyNDoiQWR1bHQrTWFsZStMaW9uK0ZhY2UuanBnIjtzOjE0OiJ0ZW1wb3JhcnlfbmFtZSI7czoyMzoibUhUVFBfdGVtcF8wZmYxYTAxNC5qcGciO319', '1144185439') (0.001s)
    )

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

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

        [control] => phase_1
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 5.0.0-alpha-nt
    ------------------
    Coppermine version: 1.4.4(stable)
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 3.23.49
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.1.4
    ==========================
    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 | .;c:\php4\pear | .;c:\php4\pear
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | no value | no value
    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 | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.24 seconds - 19 queries in 0.022 seconds - Album set : ; Meta set: ;


khazan

Quote from: khazan on April 04, 2006, 11:35:08 PM
When I try to upload file, the below message appear and i couldn't upload any things.

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



USER:
------------------
Array
(
    [ID] => cd637cb5d01c405ae136e3260f71bad9
    [am] => 1
    [lang] => english
)

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

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg143_filetypes; (0.002s)
        [1] => select * from cpg143_plugins order by priority asc; (0.001s)
        [2] => delete from `picdb`.cpg143_sessions where time<1144181839 and remember=0; (0.001s)
        [3] => delete from `picdb`.cpg143_sessions where time<1142975839; (0.001s)
        [4] => select user_id from `picdb`.cpg143_sessions where session_id=md5("b5f63087802e75ff5a58fce78de8ae67a93e9509f71da5c3f80a687fef175663"); (0.001s)
        [5] => select user_id as id, user_password as password from `picdb`.cpg143_users where user_id=1 (0.003s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `picdb`.cpg143_users AS u INNER JOIN `picdb`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
        [7] => SELECT user_group_list FROM `picdb`.cpg143_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
        [8] => 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 cpg143_usergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0.001s)
        [10] => update `picdb`.cpg143_sessions set time='1144185439' where session_id=md5('b5f63087802e75ff5a58fce78de8ae67a93e9509f71da5c3f80a687fef175663'); (0.001s)
        [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-04-04 21:29:19' (0.001s)
        [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='213.207.210.23' OR ip_addr='213.207.210.23' OR user_id=1) AND brute_force=0 (0.001s)
        [14] => SELECT aid, title FROM cpg143_albums WHERE category < 10000 ORDER BY title (0.001s)
        [15] => SELECT aid, title FROM cpg143_albums WHERE category='10001' ORDER BY title (0.001s)
        [16] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0.001s)
        [17] => SELECT unique_ID FROM cpg143_temp_data (0.001s)
        [18] => INSERT INTO cpg143_temp_data VALUES ('bccee712', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoyNDoiQWR1bHQrTWFsZStMaW9uK0ZhY2UuanBnIjtzOjE0OiJ0ZW1wb3JhcnlfbmFtZSI7czoyMzoibUhUVFBfdGVtcF8wZmYxYTAxNC5qcGciO319', '1144185439') (0.001s)
    )

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

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

        [control] => phase_1
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 5.0.0-alpha-nt
    ------------------
    Coppermine version: 1.4.4(stable)
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 3.23.49
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.1.4
    ==========================
    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 | .;c:\php4\pear | .;c:\php4\pear
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | no value | no value
    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 | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.24 seconds - 19 queries in 0.022 seconds - Album set : ; Meta set: ;

Sami

You should have GD or ImageMagic installed on your server to CPG work...
if you own your server you can edit php.ini and enable GD and go .... else you should request it from your hosting company to do that
=============================================
as i see you run it from your local computer so if your OS is windows you could find php.ini on your systm root (e.g. c:\windows) first you should open php.ini with Notepad!
then find (ctrl+f) ";extension=php_gd2.dll" and remove ";" from begin ,it will look like this:"extension=php_gd2.dll" Save (ctrl+s) the file and wooooooow
=============================================
hope this could help you ...
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

Do exactly as Nibbler suggested! The upload troubleshooting section of the docs tell you what you need to do. It also says that you mustn't post debug ouput. Read it extra carefully and do as suggested.

khazan

Dear bmossavari,

Your comments are verey useful for me. I tried to utilize "ImagMagick" but that doesn't work properly by CPG 1.4 therfure i gave up that and use GD.

With many thanks for your kindness,
Mim khazan