web upload web upload
 

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

web upload

Started by tool32782, October 26, 2004, 06:26:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tool32782

ok, got the earlier problem I posted fixed, well sorta. I can upload via batch now no problem. When I try to do it via the web, it acts like it is uploading, but once completed, it just says 0 uploads were successful. I am running latest version of coppermine which is the only thing running on this site. Running PHP version 4.3.6

site: www.stevenanderin.com
username: test
Pass: test

I promise that it is up and running this time for those how try to help me.
Thanks in advance

Joachim Müller

go to groups settings and set the upload method for the group the test user is in temporarily to "single file uploads". Then go to coppermine config and enable debug_mode for everyone (at the very bottom). Log in as test user and report what error message you get.

Joachim

tool32782

#2
ok, here is what I got:

edit: I did it again and got the same result except at the top of the page, there was this line of text:
modifyalb.php0100644000310300031030000004050610071462440013405 0ustar ratkingratking

Don't know if it is any help, but thought I would throw that in

USER:
------------------
Array
(
   [ID] => 82ce53c5bcdf2dc289df07da7c09da56
   [am] => 1
   [liv] => Array
       (
           
  • => 2
           )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       [user_id] => 2
       [user_group] => 2
       [user_active] => YES
       [user_name] => test
       [user_password] => ********
       [user_lastvisit] => 2004-10-26 09:46:02
       [user_regdate] => 2004-10-25 21:20:24
       [user_group_list] =>
       [user_email] =>
       [user_website] =>
       [user_location] =>
       [user_interests] =>
       [user_occupation] =>
       [user_actkey] =>
       [disk_max] => 1024
       [disk_min] => 1024
       [can_rate_pictures] => 1
       [can_send_ecards] => 1
       [ufc_max] => 0
       [ufc_min] => 0
       [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] => 0
       [pub_upl_need_approval] => 0
       [priv_upl_need_approval] => 0
       [group_name] => Registered
       [upload_form_config] => 0
       [group_quota] => 1024
       [can_see_all_albums] => 0
       [group_id] => 2
       [groups] => Array
           (
               [1] => 2
           )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg132_filetypes;
       [1] => SELECT * FROM cpg132_users WHERE user_id='2'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '098f6bcd4621d373cade4e832627b4f6'
       [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 cpg132_usergroups WHERE group_id in (2)
       [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 2
       [4] => DELETE FROM cpg132_banned WHERE expiry < 1098809369
       [5] => SELECT * FROM cpg132_banned WHERE ip_addr='12.215.164.201' OR ip_addr='12.215.164.201' OR user_id=2
       [6] => SELECT aid FROM cpg132_albums WHERE visibility != '0' AND visibility !='10002' AND visibility NOT IN (2)
       [7] => SELECT aid, title FROM cpg132_albums WHERE category = '10002' ORDER BY title
       [8] => SELECT pid, filepath, filename, url_prefix FROM cpg132_pictures WHERE aid='6' AND approved='YES' ORDER BY filename
       [9] => SELECT group_id, group_name FROM cpg132_usergroups WHERE group_id IN (2)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
       [album] => 1
       [MAX_FILE_SIZE] => 2048000
       [title] => Test Dog
       [caption] =>
       [keywords] =>
       [event] => picture
    )

    ==========================
    Page generated in 0.229 seconds - 10 queries in 0.022 seconds - Album set :

Joachim Müller

you appear to have applied a hack improperly. Undo your hack, reverting back to the original (unmodified) coppermine files. If this fixes things for you, re-apply the mod more carefully.

Joachim