coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: sfbmx on September 29, 2005, 11:13:48 AM

Title: ive set all of my permissions and still cant upload files
Post by: sfbmx on September 29, 2005, 11:13:48 AM
I get these two errors.... if anyone could lend a hand it would be greatly appreciated. Ive read everything, for two days


Failed to create directory albums/userpics/10001 !

File: /home/sfbmxco/public_html/photo/db_input.php - Line: 228



Notice: Undefined index: user1 in /home/sfbmxco/public_html/photo/db_input.php on line 202

Notice: Undefined index: user2 in /home/sfbmxco/public_html/photo/db_input.php on line 203

Notice: Undefined index: user3 in /home/sfbmxco/public_html/photo/db_input.php on line 204

Notice: Undefined index: user4 in /home/sfbmxco/public_html/photo/db_input.php on line 205

Warning: mkdir(albums/userpics/10001): Permission denied in /home/sfbmxco/public_html/photo/db_input.php on line 227


-------------------------------------------------------------------------------------------------------


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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => me
    [user_password] => ***
    [user_lastvisit] => 2005-09-29 02:25:28
    [user_regdate] => 2005-09-27 07:34:22
    [user_group_list] =>
    [user_email] =>
    [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] => 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] => 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
(
   
Title: Re: ive set all of my permissions and still cant upload files
Post by: artistsinhawaii on September 29, 2005, 12:57:42 PM
sfbmx,

Please do not post the same message accross the boards. It only makes those who are trying to help work twice as hard and is not appreciated.   Also, just post the error message, not the debug info unless requested.  Your post in the general help section has been removed.

Did you:
-  try 777 instead of 755?
-  double check your Config settings? Making sure that you are not using \ in your paths? And that your paths are correct?
-  confirm that you could write to your database?
-  try creating the album manually on your site to see if you can really write to that folder?
-  search for this error string? "Failed to create directory albums/userpics/10001"

Dennis