"Unable to create thumbnail or reduced size image" "Unable to create thumbnail or reduced size image"
 

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

"Unable to create thumbnail or reduced size image"

Started by Linn, March 09, 2008, 01:35:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Linn

I've been using coppermine for a while and suddenly one day, I could no longer upload any images to the gallery. I tried to make a new gallery but it wouldn't work either...

I'm very bad at coppermine support issues, but I guess you want this code, at least it says so.


USER:
------------------
Array
(
    [ID] => 41fdb298ae57fac7e1f4d7f8162d666f
    [am] => 1
    [lang] => english
    [lap] => 1
    [liv] => Array
        (
            [0] => 761
            [1] => 1190
            [2] => 1185
            [3] => 124
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => ***
    [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] => 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] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
    [1] => select * from cpg_plugins order by priority asc; (0s)
    [2] => delete from `hansson_copp1`.cpg_sessions where time<1205061789 and remember=0; (0s)
    [3] => delete from `hansson_copp1`.cpg_sessions where time<1203855789; (0s)
    [4] => select user_id from `hansson_copp1`.cpg_sessions where session_id=md5("c44e01245ed50cce9576362d1d968667896f2a5580fdace7f322c50ba7d83e4c"); (0s)
    [5] => select user_id as id, user_password as password from `hansson_copp1`.cpg_users where user_id=1 (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 `hansson_copp1`.cpg_users AS u INNER JOIN `hansson_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `hansson_copp1`.cpg_users AS u WHERE user_id='1' 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 cpg_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
    [10] => update `hansson_copp1`.cpg_sessions set time='1205065389' where session_id=md5('c44e01245ed50cce9576362d1d968667896f2a5580fdace7f322c50ba7d83e4c'); (0s)
    [11] => SELECT description from cpg_albums WHERE aid='' (0s)
    [12] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
    [13] => DELETE FROM cpg_banned WHERE expiry < '2008-03-09 13:23:09' (0s)
    [14] => SELECT * FROM cpg_banned WHERE (ip_addr='213.65.187.18' OR ip_addr='213.65.187.18' OR user_id=1) AND brute_force=0 (0s)
    [15] => SELECT aid, title FROM cpg_albums WHERE 1 (0s)
    [16] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
)

==========================
GET :
------------------
Array
(
    [insert] => 1
)

==========================
POST :
------------------
Array
(
    [d0000] => 132
    [pics] => Array
        (
            [0] => i0000
            [1] => i0001
            [2] => i0002
            [3] => i0003
            [4] => i0004
            [5] => i0005
            [6] => i0006
            [7] => i0007
            [8] => i0008
            [9] => i0009
            [10] => i0010
            [11] => i0011
            [12] => i0012
        )

    [album_lb_id_i0000] => d0000
    [picfile_i0000] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzEuanBn
    [album_lb_id_i0001] => d0000
    [picfile_i0001] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzIuanBn
    [album_lb_id_i0002] => d0000
    [picfile_i0002] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzMuanBn
    [album_lb_id_i0003] => d0000
    [picfile_i0003] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzQuanBn
    [album_lb_id_i0004] => d0000
    [picfile_i0004] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzUuanBn
    [album_lb_id_i0005] => d0000
    [picfile_i0005] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzYuanBn
    [album_lb_id_i0006] => d0000
    [picfile_i0006] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzcuanBn
    [album_lb_id_i0007] => d0000
    [picfile_i0007] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzguanBn
    [album_lb_id_i0008] => d0000
    [picfile_i0008] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzkuanBn
    [album_lb_id_i0009] => d0000
    [picfile_i0009] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzEwLmpwZw==
    [album_lb_id_i0010] => d0000
    [picfile_i0010] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzExLmpwZw==
    [album_lb_id_i0011] => d0000
    [picfile_i0011] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzEyLmpwZw==
    [album_lb_id_i0012] => d0000
    [picfile_i0012] => bWlzY2VsbGFuZW91cy9ldmVudHMvc2Frc2FuLzEzLmpwZw==
    [insert] => Insert selected files
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 4.1.22-standard
------------------
Coppermine version: 1.4.12(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 4.1.22
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64 -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1.2
Linked Version 1.2.1.2
==========================
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 | passthru,system,popen,virtual,show_source,readfile,pclose,proc_open,posix_kill,proc_close,pclose,leak,exec | passthru,system,popen,virtual,show_source,readfile,pclose,proc_open,posix_kill,proc_close,pclose,leak,exec
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
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 | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.134 seconds - 17 queries in 0 seconds - Album set : ; Meta set: ;

SaWey

Quote from: Linn on March 09, 2008, 01:35:52 PM
I'm very bad at coppermine support issues, but I guess you want this code, at least it says so.
Yes, you are very bad at support issues -> it doesn't say to give us the debug output, but the opposite.

Read the docs on uploading issues before posting!

Linn

All right I read it, and I made a new user for the gallery as it said

name: testing
pass: testing

I tried to follow this step, but I couldn't find the things they were asking for:

Go to the "groups" panel
Set the upload form configuration for all groups to "Single file uploads only"
set File upload boxes to "1" (1)
set URI upload boxes to "0" (2)
set No. of boxes to "fixed" (3)


Joachim Müller

Oh, great - now we have a test user account. Would be even more helpfull if we knew the URL of your gallery... ::)

Linn


SaWey

Then again, you didn't read it well enough...
Where is the link to your gallery?


The groups panel is the 'groups' link in your admin menu.

Joachim Müller

The test user account doesn't have upload privileges - I get
QuoteSorry there is no album where you are allowed to upload files
Stop wasting our time, test drive thoroughly before posting any more silly information. You're running cpg1.4.12 anyway, so you will have to upgrade first, as we're not willing to look into issues that may be caused by using outdated versions. You have quite good skills at making supporters mad at you... ::)

Linn

I've upgraded the gallery and set the user to admin, I apologize for my ignorance, but I really don't know how to make it work again.

SaWey

Thanks for reading the docs thoroughly?!?
Try uploading now!

Linn

It seems like it works now, but I tried after the upgrade yesterday, but then it didn't work. I wonder if there could  be something wrong with my mac, it seems to work on my school's pc...

Thanks anyway