coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: wolfhawk on June 19, 2004, 04:43:46 PM

Title: Exceeded filesize permitted by CPG / Batch add files..
Post by: wolfhawk on June 19, 2004, 04:43:46 PM
when i try to upload something O get uploaded 0

When i go to batch add files.
I get select directorie but nothing is pressent..

I think I cant have chmod it correctly.
I have my own windows server, with apache and mysql ans so..
And tryed to chmod it with a php file..

I put this in the file...

<?php

@chmod("albums", intval($mode, 777));
@chmod("albums", intval($mode, 0777));
@chmod("albums", intval($mode, 755));
@chmod("albums", intval($mode, 0755));
@chmod("albums", intval($mode, 666));
@chmod("albums", intval($mode, 0666));



?>

Dit put it in the directory before albums and did run it, did give a blanc page so it must be good (did put in that file all sorts of codes so he could reconice one,, did also try it with and without @ and other codes..)


I get the following from debug:

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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => Wolfhawk
    [user_password] => ********
    [user_lastvisit] => 2004-06-19 15:42:45
    [user_regdate] => 1997-01-13 13:10:41
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 2147483647
    [disk_min] => 2147483647
    [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] => 2147483647
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: Exceeded filesize permitted by CPG / Batch add files..
Post by: Joachim Müller on June 20, 2004, 03:12:35 PM
There's no CHMOD on Windows, you need to modify your file permissions. Running your own server without a clue on such basic stuff is not recommended.

GauGau
Title: Re: Exceeded filesize permitted by CPG / Batch add files..
Post by: wolfhawk on June 20, 2004, 11:52:34 PM
i knoe that i must change the file permissions, the damn thing is its easy in xp or 2000 or nt,, but iám running it on Win ME

Ive i dont get a way to get it changed under Win Me, then i must go and reinstall the hole server with windows server 2000 when i get the prog, and i just had everything installed properly, so you know iám first looking everywhere to chaneg it in Win Me.. (just now seeking for 1,5 days to find a answer, until i get win server 2000, damn thing is that i must go ans seek again all the prog i want to run up again.. (did download everything to run on 98  like apache)

So if you know a way,, please let me know ;)
Title: Re: Exceeded filesize permitted by CPG / Batch add files..
Post by: Joachim Müller on June 21, 2004, 12:24:37 AM
Windows ME usually runs on FAT or FAT32 hard drives - it doesn't have file permissions at all. There's only a "read-only" flag on file/folder basis that you might want to consider checking. But there are whistles and bells inside your webserver software (I guess you're using IIS) that control permissions as well.

This board is not the best place to look for help on general webserver setup issues...

GauGau
Title: Re: Exceeded filesize permitted by CPG / Batch add files..
Post by: hyperion on June 21, 2004, 06:52:34 AM
"Exceeded filesize permitted by CPG" means exactly what it says.  Read the documentation to learn how to solve your problem.