Exceeded filesize permitted by CPG / Batch add files.. Exceeded filesize permitted by CPG / 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

Exceeded filesize permitted by CPG / Batch add files..

Started by wolfhawk, June 19, 2004, 04:43:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wolfhawk

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
(
   
  • => SELECT extension, mime, content FROM cpg130_filetypes;
        [1] => SELECT * FROM cpg130_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'f07c62036d1111fded6f8cd2c217b2e6'
        [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 cpg130_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg130_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg130_banned WHERE expiry < 1087655730
        [5] => SELECT * FROM cpg130_banned WHERE ip_addr='10.0.0.14' OR ip_addr='10.0.0.14' OR user_id=1
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [URI_array] => Array
            (
               
  • =>
                [1] =>
                [2] =>
            )

        [control] => phase_1
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.1.1 - OK
    ------------------
    mySQL version: 3.23.47-max-debug
    ==========================
    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
    safe_mode | Off | Off
    safe_mode_exec_dir | no value | no value
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | no value | no value
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | 1 | 1
    include_path | .;c:\apache\php\pear | .;c:\apache\php\pear
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | no value | no value
    SMTP | localhost | localhost |  |
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 30 | 30 |  |
    upload_max_filesize | 32M | 32M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 2.545 seconds - 6 queries in 0.057 seconds - Album set :





    I hope someone can help me...
    Iám Running the server on windows ME..

    How can i get those maps CHMOD?
    Or is something else wrong??


    TNX for helping

Joachim Müller

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

wolfhawk

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 ;)

Joachim Müller

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

hyperion

"Exceeded filesize permitted by CPG" means exactly what it says.  Read the documentation to learn how to solve your problem.
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)