file dimentions exceeds max in config (not resizing images) file dimentions exceeds max in config (not resizing images)
 

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

file dimentions exceeds max in config (not resizing images)

Started by mattpist, March 02, 2006, 01:09:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mattpist

hi, when i attempt to upload files over the max file dimentions, i get an error message of "The height and or width of the uploaded picture is more than that allowed by the gallery config.", even though in the config i have 'Auto resize images that are larger than max width or height' set to 'yes: everyone'... im not sure if it's just denying the image before it gets a chance to be resized, or if my server can't resize images for some reason. anyways, im not sure if it helps, but the debug information is below.

any help would be really appreciated  :)

EDIT: perhaps this was because i was importing the image from a url? file uploads work (resize) fine, yet it seems files uploaded via url that are too big can't get resized.

USER:
------------------
Array
(
    [ID] => bd4754a39c22068f635bf20e2e24a2a0
    [am] => 1
    [liv] => Array
        (
            [0] => 288
            [1] => 291
            [2] => 289
            [3] => 296
            [4] => 179
        )

)

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

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

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg134_filetypes; (0.001s)
    [1] => select * from cpg134_plugins order by priority asc; (0.001s)
    [2] => delete from `stp_wordpress2`.cpg134_sessions where time<1141254437 and remember=0; (0.001s)
    [3] => delete from `stp_wordpress2`.cpg134_sessions where time<1140048437; (0.001s)
    [4] => select user_id from `stp_wordpress2`.cpg134_sessions where session_id=md5("6beacd2822752193351da4bcfc38487a9f34562b9a14a09303fbc87ffa796194"); (0s)
    [5] => select user_id as id, user_password as password from `stp_wordpress2`.cpg134_users where user_id=2 (0s)
    [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 `stp_wordpress2`.cpg134_users AS u INNER JOIN `stp_wordpress2`.cpg134_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='2' (0s)
    [7] => SELECT user_group_list FROM `stp_wordpress2`.cpg134_users AS u WHERE user_id='2' and user_group_list <> ''; (0s)
    [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 cpg134_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg134_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `stp_wordpress2`.cpg134_sessions set time='1141258037' where session_id=md5('6beacd2822752193351da4bcfc38487a9f34562b9a14a09303fbc87ffa796194'); (0.001s)
    [11] => SELECT user_favpics FROM cpg134_favpics WHERE user_id = 2 (0.001s)
    [12] => DELETE FROM cpg134_banned WHERE expiry < '2006-03-01 19:07:17' (0.001s)
    [13] => SELECT * FROM cpg134_banned WHERE (ip_addr='68.54.242.125' OR ip_addr='68.54.242.125' OR user_id=2) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg134_albums WHERE category < 10000 ORDER BY title (0s)
    [15] => SELECT aid, title FROM cpg134_albums WHERE category='10002' ORDER BY title (0.001s)
    [16] => SELECT COUNT(*) FROM cpg134_pictures WHERE approved = 'NO' (0.001s)
)

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

==========================
POST :
------------------
Array
(
    [URI_array] => Array
        (
            [0] => http://squattheplanet.com/StPv4/journal/chaptertwo/05-15-03/big/madeit.jpg
            [1] =>
            [2] =>
            [3] =>
            [4] =>
            [5] =>
            [6] =>
            [7] =>
            [8] =>
            [9] =>
        )

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.0.24-max-log
------------------
Coppermine version: 1.4.3(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
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 | ~ | ~
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 | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | relay-hosting.secureserver.net | relay-hosting.secureserver.net
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 0.281 seconds - 17 queries in 0.011 seconds - Album set : ; Meta set: ;