Can't add files through batch add files Can't add files through batch add files
 

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

Can't add files through batch add files

Started by currahee, September 25, 2004, 02:51:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

currahee

Well I upload my files under the albums directory (in a subdirectory called 'pix') and I go to the batch add files. I click on the folder 'pix' (it says not writiable) and then in "List of new files" I get "Warning: the script can't write in this directory, you need to change its mode to 755 or 777 before trying to add the files !"
Okay, so I go to configuration and under Default mode for directories I see that it had 777 so I type in 755. Nope, doesn't work.
A little assisstance please? ;)

kegobeer

Did you set the permissions for the directories correctly, according to the installation instructions?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

currahee

Well i'm being free hosted by Astahost and I installed Coppermine through Fantastico... didn't have any problems with my last host that died soon
Hmmm could it be web protect or leech protect that's causing it?

kegobeer

Have you verified the directory you created has it's permissions set to 755 or 777?  Use your control panel to check.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

currahee

Okay, I just checked now. Yes, the permissions on the whole entire directory is set to -> 755
???
Default mode for directories    should be 755 then
Default mode for files  should be 666.
Am I correct? because that's what I have in my config thing and it says "not writable" ??? >:(

kegobeer

Well, I suggest you contact Fantastico for help at this point.  We can't give very much support for the Fantastico builds as they are modified versions of the official releases.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

currahee

bah!! oh well, thanks for your time trying to help me. Hopefully this will be resolved soon ;D :D :P

Casper

If 755 did not work, try 777.  some servers require that for the folder to be writable.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

pointofpower

I have loaded my files via FTP, but Coppermine does not recognize anything in the Directory....Below is the error message I am getting...How do I get my pictures into Coppermine....Thanks, a rookie at this...Mark

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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => pointofpower
    [user_password] =>
    [user_lastvisit] => 2004-09-28 16:13:08
    [user_regdate] => 2004-09-24 15:38:36
    [user_group_list] =>
    [user_email] =>
    [user_website] => http://www.pointofpower.com
    [user_location] => Bay City, Michigan
    [user_interests] =>
    [user_occupation] => Pastor
    [user_actkey] =>
    [disk_max] => 1024
    [disk_min] => 1024
    [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] => 1024
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM CPG_filetypes;
        [1] => SELECT * FROM CPG_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '20949fcdfa0de18b7ccf93429bae1ee1'
        [2] => 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 (1)
        [3] => SELECT group_name FROM  CPG_usergroups WHERE group_id= 1
        [4] => DELETE FROM CPG_banned WHERE expiry < 1096410673
        [5] => SELECT * FROM CPG_banned WHERE ip_addr='66.188.19.125' OR ip_addr='66.188.19.125' OR user_id=1
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.0.6 - OK
    ------------------
    mySQL version: 3.23.37
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    module doesn't exist
    ==========================
    Module: zlib
    ------------------
    module doesn't exist
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |
    ==========================
    Page generated in 0.061 seconds - 6 queries in 0.002 seconds - Album set :

kegobeer

Did you follow the documentation and not FTP your files into the userpics directory?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots