Help uploading image Help uploading image
 

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

Help uploading image

Started by Nanflexal, March 02, 2007, 02:26:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nanflexal

Im having problem uploading pics to ur gallery. please help. thanks

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg296.imageshack.us%2Fimg296%2F7905%2Funtitledvs0.png&hash=d04050511ae9afa0c483105d83bb1d6cb0a8434f)

Joachim Müller


Nanflexal

QuoteCritical error 

Impossible to move DSCI0075test.jpg to albums/userpics/10001/ !

File: /mounted-storage/home26a/sub001/sc23130-NDNK/alliance-guild.net/gallery/db_input.php - Line: 355



Nanflexal

My picture gallery is working 2 or 3 weeks ago but i try to upload yesterday im getting this error. Any help will be greatly appreciated. Thank you very much

http://alliance-guild.net/gallery/index.php
User: test
Pass: test

Joachim Müller

Apply permissions on the albums folder and everything within it as suggested in the permissions section of the docs.

Nanflexal

I follow everything as instructed in uploading troubleshooting but nothing happen.  chmod setting is 777 inside "Albums" I cant figure out what is wrong with my gallery. Its work 2 weeks ago without any problem.

Joachim Müller

Maybe your host changed something. Did you actually read the permissions section? Did you try 755? Did you ask your webhost for support as suggested?

Nanflexal

Please check the debug info, thanks


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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 0
    [user_name] => Guest
    [groups] => Array
        (
           
  • => 3
            )

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0.019s)
        [1] => select * from cpg_plugins order by priority asc; (0.004s)
        [2] => delete from `forum_alliance`.cpg_sessions where time<1173177167 and remember=0; (0.009s)
        [3] => delete from `forum_alliance`.cpg_sessions where time<1171971167; (0s)
        [4] => SELECT session_id FROM `forum_alliance`.cpg_sessions WHERE session_id=MD5('bba1097a4e231bf6ef320f4f97476c15d58b165f83ba0822e9f12e4d4941edbb') (0s)
        [5] => insert into `forum_alliance`.cpg_sessions (session_id, user_id, time, remember) values ("7e23f87ac661588349f92e903af450d3", 0, "1173180767", 0); (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 cpg_usergroups WHERE group_id in (3) (0.02s)
        [7] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 3 (0s)
        [8] => update `forum_alliance`.cpg_sessions set time='1173180767' where session_id=md5('bba1097a4e231bf6ef320f4f97476c15d58b165f83ba0822e9f12e4d4941edbb'); (0s)
        [9] => DELETE FROM cpg_banned WHERE expiry < '2007-03-06 11:32:47' (0.299s)
        [10] => SELECT * FROM cpg_banned WHERE (ip_addr='210.213.233.155' OR ip_addr='210.213.233.155' OR user_id=0) AND brute_force=0 (0s)
        [11] => SELECT aid FROM cpg_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3) (0.013s)
        [12] => SELECT aid FROM cpg_albums (0.001s)
        [13] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = ''  ORDER BY name (0.032s)
        [14] => SELECT aid FROM cpg_albums WHERE category = 2 (0s)
        [15] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0.009s)
        [16] => SELECT count(*) FROM cpg_albums as a WHERE category = '2' (0.002s)
        [17] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,8 (0.006s)
        [18] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (1, 2, 3, 4, 5, 6, 7, 8)GROUP BY a.aid (0.032s)
        [19] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='16' (0s)
        [20] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='114' (0.001s)
        [21] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='11' (0.001s)
        [22] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '2'  ORDER BY name (0.002s)
        [23] => SELECT aid FROM cpg_albums WHERE category = 12 (0s)
        [24] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 12 (0.001s)
        [25] => SELECT count(*) FROM cpg_albums as a WHERE category = '12' (0s)
        [26] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=12 ORDER BY a.pos LIMIT 0,2 (0.001s)
        [27] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (10, 11)GROUP BY a.aid (0.001s)
        [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='134' (0s)
        [29] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '12'  ORDER BY name (0s)
        [30] => SELECT aid FROM cpg_albums WHERE category = 3 (0s)
        [31] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
        [32] => SELECT count(*) FROM cpg_albums as a WHERE category = '3' (0s)
        [33] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,2 (0.001s)
        [34] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (9, 12)GROUP BY a.aid (0.001s)
        [35] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '3'  ORDER BY name (0.001s)
        [36] => SELECT aid FROM cpg_albums as a WHERE category>=10000 (0s)
        [37] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
        [38] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '1'  ORDER BY name (0s)
        [39] => SELECT aid FROM cpg_albums as a WHERE category = '0' (0s)
        [40] => SELECT count(*) FROM cpg_albums as a WHERE 1 (0s)
        [41] => SELECT count(*) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.001s)
        [42] => SELECT count(*) FROM cpg_comments as c LEFT JOIN cpg_pictures as p ON c.pid=p.pid LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 (0.045s)
        [43] => SELECT count(*) FROM cpg_categories WHERE 1 (0s)
        [44] => SELECT sum(hits) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON p.aid=a.aid WHERE 1 (0.001s)
        [45] => SELECT count(*) FROM cpg_albums as a WHERE category = '0' (0.002s)
        [46] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)  (0.002s)
        [47] => SELECT * FROM cpg_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)  ORDER BY RAND() LIMIT 8 (0.007s)
        [48] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)  (0s)
        [49] => SELECT * FROM cpg_pictures WHERE approved = 'YES' AND aid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)  ORDER BY pid DESC  LIMIT 0 ,8 (0.001s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
    )

    ==========================
    Page generated in 1.228 seconds - 50 queries in 0.515 seconds - Album set : ; Meta set: AND aid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15) ;



Joachim Müller

Quote from: Nanflexal on March 06, 2007, 12:39:22 PM
Please check the debug info
Haven't asked for it. Did you do as I suggested?