coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: qwaven on June 08, 2005, 07:34:22 AM

Title: Cant Upload past stage 2
Post by: qwaven on June 08, 2005, 07:34:22 AM
Hello,

I just finished upgrading to 1.3.3 had some trouible even getting copermine to upload after some fideling I have only been able to get to stage 2 or the part where you select what album to put the file into.

Once I click submit I get the following error:

"Destination directory albums/userpics/10001/ is not writable by the script !"

I have searched on here for that and found a few postings from which I had tried anything that seemed relivent. I've checked CHMOD for '10001' like 10 times and its set to '755'.

I just cant figure out what is preventing the upload. Below is my debug code should you need it. If anyone can help that would be great. If you would like a test account I'll create one for you upon request.

<---DEBUG START--->

USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => ***
    [user_password] => ***
    [user_lastvisit] => 2004-05-05 17:21:15
    [user_regdate] => 2004-05-05 17:21:15
    [user_group_list] =>
    [user_email] =>
    [user_website] => http://qwaven.gotdns.com
    [user_location] => CANADA
    [user_interests] => COMPUTERS, DEATH?
    [user_occupation] => DEATH?
    [user_actkey] =>
    [disk_max] => 5000000
    [disk_min] => 5000000
    [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] => 5000000
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: Cant Upload past stage 2
Post by: Joachim Müller on June 08, 2005, 07:53:30 AM
Try CHMODing to 777 then, and make sure that the CHMOD applies to all sub-folders within the albums folder as well. Don't trust the CHMOD information that your FTP client shows you, it may not be correct. You might want to ask your webhost for support.
Title: Re: Cant Upload past stage 2
Post by: qwaven on June 08, 2005, 07:48:19 PM
Hello,

I tried 777 and I was able to upload correctly. YAY!
BTW, I dont use ftp I am using the web based upload. I am checking the CHMOD via shell.

I have noticed however that one of my galleries doesnt work. The reason I have discovered is that since the images from that gallery were also from my digital camera they used the same file name. So in turn once I had uploaded images again from my digital camera they would have the same name and overwrite the other gallery's images. Is there anyway to prevent this? It would be a pain to have to rename 200 pics everytime I go on a trip or something.

Please advise,
Thanks
Title: Re: Cant Upload past stage 2
Post by: Joachim Müller on June 09, 2005, 09:29:00 AM
you (as gallery admin) should use FTP-upload and batch-add, not http uploads.
Title: Re: Cant Upload past stage 2
Post by: qwaven on June 10, 2005, 12:54:14 AM
hmm, I hadnt used that because I liked the idea of adding comments while I add the picture. I just tried it and you are right it is a lot better thanks. :)

Anyway looks like everything is working now, thanks a lot for your help :)