No file was uploaded! No file was uploaded!
 

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

No file was uploaded!

Started by tareone, April 11, 2005, 03:39:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tareone

My ISP claims that everything should be ok, but Coppermine gives this error:

QuoteNo file was uploaded !

If you have really selected a file to upload, check that the server allows file uploads...

File: /home/int2000/******/html/albumi/db_input.php - Line: 221


Notice: Undefined index: user4 in /home/int2000/******/html/albumi/db_input.php on line 205

Debug:

QuoteUSER:
------------------
Array
(
    [ID] => e1a10cdb0fda7579f95c4dff4067970c
    [am] => 1
    [liv] => Array
        (
           
  • => 271
                [1] => 201
                [2] => 112
                [3] => 14
                [4] => 8
            )

        [sort] => dd
        [search] => helsinki-vantaa
        [lang] => english
    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => ****
        [user_password] => ********
        [user_lastvisit] => 2005-04-11 13:22:05
        [user_regdate] => 2003-11-20 00:36:35
        [user_group_list] =>
        [user_email] =>
        [user_website] =>
        [user_location] =>
        [user_interests] =>
        [user_occupation] =>
        [user_actkey] =>
        [user_favpics] =>
        [disk_max] => 0
        [disk_min] => 0
        [can_rate_pictures] => 0
        [can_send_ecards] => 1
        [ufc_max] => 0
        [ufc_min] => 0
        [custom_user_upload] => 0
        [num_file_upload] => 10
        [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] => 0
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
        [groups] => Array
            (
                [1] => 1
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg11d_filetypes;
        [1] => SELECT * FROM cpg11d_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '19f9296e5005c5a7e84d81e4f6edb75f'
        [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)
        [3] => SELECT group_name FROM  cpg11d_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg11d_banned WHERE expiry < 1113226437
        [5] => SELECT * FROM cpg11d_banned WHERE ip_addr='193.229.37.170' OR ip_addr='193.229.37.170' OR user_id=1
        [6] => SELECT category FROM cpg11d_albums WHERE aid='24'
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [album] => 24
        [MAX_FILE_SIZE] => 1048576
        [title] => Hannu
        [caption] => Hannu
        [keywords] => hannu
        [event] => picture
        [user1] => hannu
        [user2] => hannui
        [user3] => hannu
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.24_Debian-1.backports.org.1-log
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    module doesn't exist
    ==========================
    Module: zlib
    ------------------
    module doesn't exist
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |
    ==========================
    Page generated in 0.186 seconds - 7 queries in 0.008 seconds - Album set :
Same problem with 2 other galleries with same ISP and everything was working last week.

tareone

URL Upload is working, just tested, but normal uploading is still not working...

tareone

Some other site, i get this error on top of the page and "No file was uploaded":'

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_5401a450.jpg): failed to open stream: Permission denied in /home/int2000/******/html/coppermine/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move '/tmp/phpgeLYLt' to './albums/edit/mHTTP_temp_5401a450.jpg' in /home/int2000/******/html/coppermine/upload.php on line 1197


"Funniest" thing was that before updating that gallery from 1.2.1 to 1.3.2 i managed to upload files normally. Strange....