coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: cdawg on February 18, 2006, 12:37:25 AM

Title: Uploading Issues...
Post by: cdawg on February 18, 2006, 12:37:25 AM
Ok...First, thanks to anyone who can be of help!  I'm new to Coppermine and self taught so I so thank anyone.

Ok, I normally do uploading thrugh FTP and the batch upload.  Latelty, when I have a few photos, I thought I could just go in, still logged under admin and do the upload of one photo.

I can get to uploading and placing it in the right album and then I get this error...

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

File: /home/sydneb41/public_html/gallery/upload.php - Line: 2207

And when I turn on the Debug this is what I get...

USER:
------------------
Array
(
    [ID] => 4c6a50f345f66b5dc82c3fc6d559e7ed
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => cdawg
    [user_password] => ********
    [user_lastvisit] => 2006-02-17 17:06:08
    [user_regdate] => 2005-11-25 21:32:52
    [user_group_list] =>
    [user_email] => colleenharr@yahoo.com
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [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] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: Uploading Issues...
Post by: Nibbler on February 18, 2006, 12:57:39 AM
CHMOD albums/userpics/10001/ so that it is writable using your FTP client. 777/755 will usually work.
Title: Re: Uploading Issues...
Post by: cdawg on February 18, 2006, 01:18:54 AM
thanks, and I hope you don't mind me asking a few more questions!

When I do a batch upload, and I upload the file with FTP, I then change the properteries to 777 and I can use it for batch upload.

When I want to just upload one photo, what file exactly should I be changing to 777?  When I look at my gallery files, in the album, user pics?
Title: Re: Uploading Issues...
Post by: Joachim Müller on February 18, 2006, 09:04:44 AM
the albums folder and everything within it must be writable for the script, as suggested in the docs.