filesize limit is always 1024 filesize limit is always 1024
 

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

filesize limit is always 1024

Started by obay, July 03, 2007, 09:25:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

obay

Why does the upload page always say "should not exceed 1024 KB each" even though i've set all the group quotas to zero and even the php.ini filesize limit (16M)?

I tried uploading 3 files. the third file (JPEG, 500KB) was uploaded. but the other two (below) were not uploaded.

Help?

Error Report
The following uploads encountered errors:
File Uploads:
File Name/URL Error Message
1. wall_1.6MB_PNG.png Exceeded filesize permitted by CPG.
2. wall_1.23MB_JPEG.jpg Exceeded filesize permitted by CPG.




USER:
------------------
Array
(
    [ID] => f0114b3ae7f0f45f5fe4391c7318c320
    [am] => 1
    [lang] => english
    [theme] => obay
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => obay
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 1
    [ufc_min] => 1
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 0
    [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] => 1
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg1411_filetypes; (0.002s)
    [1] => select * from cpg1411_plugins order by priority asc; (0.002s)
    [2] => delete from `test`.cpg1411_sessions where time<1183442823 and remember=0; (0.002s)
    [3] => delete from `test`.cpg1411_sessions where time<1182236823; (0s)
    [4] => select user_id from `test`.cpg1411_sessions where session_id=md5("ee45504526df6a9074604c25dc180e62d581b8225d89410a080ac01e69d1c062"); (0.001s)
    [5] => select user_id as id, user_password as password from `test`.cpg1411_users where user_id=1 (0.002s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `test`.cpg1411_users AS u INNER JOIN `test`.cpg1411_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.002s)
    [7] => SELECT user_group_list FROM `test`.cpg1411_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
    [8] => 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 cpg1411_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg1411_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `test`.cpg1411_sessions set time='1183446423' where session_id=md5('ee45504526df6a9074604c25dc180e62d581b8225d89410a080ac01e69d1c062'); (0.001s)
    [11] => SELECT user_favpics FROM cpg1411_favpics WHERE user_id = 1 (0.002s)
    [12] => DELETE FROM cpg1411_banned WHERE expiry < '2007-07-03 15:07:03' (0.002s)
    [13] => SELECT * FROM cpg1411_banned WHERE (ip_addr='127.0.0.1' OR ip_addr='127.0.0.1' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT aid, title FROM cpg1411_albums WHERE category < 10000 ORDER BY title (0.002s)
    [15] => SELECT aid, title FROM cpg1411_albums WHERE category='10001' ORDER BY title (0.001s)
    [16] => SELECT COUNT(*) FROM cpg1411_pictures WHERE approved = 'NO' (0.002s)
    [17] => SELECT unique_ID FROM cpg1411_temp_data (0.002s)
    [18] => INSERT INTO cpg1411_temp_data VALUES ('542a8acc', 'YToxOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoxOToid2FsbF81NTFLQl9KUEVHLmpwZyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfMGNhMjc0MzUuanBnIjt9fQ==', '1183446423') (0.001s)
)

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

==========================
POST :
------------------
Array
(
    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.2 - OK
------------------
mySQL version: 5.0.41-community-nt
------------------
Coppermine version: 1.4.12(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.41
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
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 | On | On
include_path | .;\xampplite\php\pear\ | .;\xampplite\php\pear\
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | no value | no value
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 60 | 60
max_input_time | 60 | 60
upload_max_filesize | 16M | 16M
post_max_size | 16M | 16M
==========================


Joachim Müller


obay