coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: roobik on November 07, 2005, 09:53:36 PM

Title: db_input.php - Line: 241 HELP ME PLEASE !!!!!
Post by: roobik on November 07, 2005, 09:53:36 PM
Hi !!!!!
I see this error when i try to upload news foto !
Can any one felp me ?!?!?!?! :-[


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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => roobik
    [user_password] => ********
    [user_lastvisit] => 2005-11-07 14:43:45
    [user_regdate] => 2004-10-21 09:36:59
    [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] => 1
    [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: db_input.php - Line: 241 HELP ME PLEASE !!!!!
Post by: Nibbler on November 07, 2005, 10:10:23 PM
Please post what the actual problem is.
Title: Re: db_input.php - Line: 241 HELP ME PLEASE !!!!!
Post by: roobik on November 08, 2005, 09:36:29 AM
Quote from: Nibbler on November 07, 2005, 10:10:23 PM
Please post what the actual problem is.


When we try to upload new image  we see this error mesage
"Destination directory albums/userpics/10001/ is not writable by the script !

File: /home/tourinfo/public_html/cpg/db_input.php - Line: 241   "
Title: Re: db_input.php - Line: 241 HELP ME PLEASE !!!!!
Post by: Joachim Müller on November 08, 2005, 10:19:21 AM
well, did you make sure it is writable for the script then? CHMOD the albums folder and everything within it as suggested in the docs (http://coppermine-gallery.net/demo/cpg13x/docs/index.htm#installation) and the sticky thread (http://forum.coppermine-gallery.net/index.php?topic=5841.0) on this sub-board. If this doesn't help, take a look at your server settings: find out if your webhost has enabled safe_mode on your site (http://coppermine.sourceforge.net/faq.php#VersionPHP). If they have, try the silly_safe_mode settings as discussed in the docs (http://coppermine-gallery.net/demo/cpg13x/docs/index.htm#safe).