Upload Problem Upload Problem
 

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

Upload Problem

Started by OutKa5t, April 11, 2005, 04:01:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

OutKa5t

Hi,

I have just moved my coppermine install to a new server. All files copied accross, database installed fine and everything appears ok until a user attempts to upload something.

I have trawled through pages pages and pages of this error on the support forum but nothing has helped. If anyone can see the error from the detail below please let me know, it would be much appreciated.

This is the error message;

QuoteThe following uploads encountered errors:
File Uploads:
File Name/URL   Error Message
1. Image000.jpg   Impossible to move.

This is the debug info

QuoteUSER:
------------------
Array
(
    [ID] => 5aab3f9b30b4025e0e309d89318764a3
    [am] => 1
    [liv] => Array
        (
           
  • => 609
                [1] => 610
                [2] => 607
                [3] => 546
                [4] => 86
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 7
        [user_group] => 5
        [user_active] => YES
        [user_name] => Dave
        [user_password] => ********
        [user_lastvisit] => 2005-04-05 08:17:35
        [user_regdate] => 2003-11-04 12:50:59
        [user_group_list] => 1,2
        [user_email] => dave@dtmg.net
        [user_website] => http://www.dtmg.net
        [user_location] => Bedworth
        [user_interests] => Mountain Biking, Motor Racing, Computers, Gardening
        [user_occupation] => IT Engineer
        [user_actkey] =>
        [disk_max] => 1024
        [disk_min] => 0
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 3
        [ufc_min] => 1
        [custom_user_upload] => 1
        [num_file_upload] => 10
        [num_URI_upload] => 3
        [can_post_comments] => 1
        [can_upload_pictures] => 1
        [can_create_albums] => 0
        [has_admin_access] => 1
        [pub_upl_need_approval] => 0
        [priv_upl_need_approval] => 0
        [group_name] => Family
        [upload_form_config] => 3
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 5
        [groups] => Array
            (
               
  • => 1
                [1] => 2
                [2] => 5
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg11d_filetypes;
        [1] => SELECT * FROM cpg11d_users WHERE user_id='7'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'a2907847359626f82cd6b8aa205ddbbd'
        [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 cpg11d_usergroups WHERE group_id in (1,2,5)
        [3] => SELECT group_name FROM  cpg11d_usergroups WHERE group_id= 5
        [4] => DELETE FROM cpg11d_banned WHERE expiry < 1113227524
        [5] => SELECT * FROM cpg11d_banned WHERE ip_addr='193.63.51.148' OR ip_addr='193.63.51.148' OR user_id=7
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [control] => phase_1
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.24
    ------------------
    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.0.7
    Linked Version 1.2.0.7
    ==========================
    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 | /home/httpd/vhosts/thegoodyears.co.uk/httpdocs:/tmp | 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 | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.071 seconds - 6 queries in 0.004 seconds - Album set :
I have checked permissions (tried both 775 and 777) for all album folders (inclusive)

Thanks

OutKa5t

Hi,

I enabled Silly Safe Mode and everthing now works.

Can someone explain to me what silly safe mode does and why it has made the install work?

Thanks