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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Unable to create thumbnail or reduced size image.

Started by cornerguy, May 31, 2006, 09:50:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cornerguy

I keep geting this error when uploading pictures.

The file 'albums/userpics/10001/lake-150x112.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /home/corner/public_html/gallery/db_input.php - Line: 391



I triple checked that albums , albums/edit , and albums/userpics are CHMOD 777

I also followed the steps within http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Quote
    * Go to your coppermine page and log in as admin
    * Go to the config screen
    * Scroll to the bottom of the page
    * Expand the "Maintenance settings" section by clicking on it
    * Enable debug mode for everyone
    * Leave display of notices switched off
    * Save the new settings by clicking on "Save new configuration"
    * Go to the "groups" panel
    * Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")
    * Save your new settings


I did all of this.  My install is at:
http://gallery.thecorner4men.com
user: test
pass: test

I have 1 category called 'Gallery' and there are 6 albums under it.  I have disabled user gallery creation.  I only want people uploading to my predefined public galleries.

Nibbler


timeXway

 ??? sorry but i have the same error and it started yesterday.

QuoteCritical error
The file 'albums/userpics/10001/06_Opens_DynoChart_Power~0.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /home/q8pride/public_html/gallery/db_input.php - Line: 402


QuoteUSER:
------------------
Array
(
    [ID] => 2d7a8cbb16ef97142f2936749dc58802
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 209
                [1] => 206
                [2] => 204
                [3] => 105
                [4] => 96
            )

        [sort] => dd
    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_name] => timexway
        [groups] => Array
            (
               
  • => 1
            )

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
        [1] => select * from cpg_plugins order by priority asc; (0s)
        [2] => delete from `q8pride_copp1`.cpg_sessions where time<1149661226 and remember=0; (0.023s)
        [3] => delete from `q8pride_copp1`.cpg_sessions where time<1148455226; (0s)
        [4] => select user_id from `q8pride_copp1`.cpg_sessions where session_id=md5("b5003878851bf604006b5f06aadf638774e8cda84c916e61531a69971cce7700"); (0s)
        [5] => select user_id as id, user_password as password from `q8pride_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 `q8pride_copp1`.cpg_users AS u INNER JOIN `q8pride_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `q8pride_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 `q8pride_copp1`.cpg_sessions set time='1149664826' where session_id=md5('b5003878851bf604006b5f06aadf638774e8cda84c916e61531a69971cce7700'); (0s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2006-06-07 10:20:26' (0.036s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='62.215.3.59' OR ip_addr='62.215.3.59' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT category FROM cpg_albums WHERE aid='1' (0.08s)
        [15] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [album] => 1
        [MAX_FILE_SIZE] => 5120000
        [title] => t
        [caption] => t
        [keywords] =>
        [event] => picture
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.11 - OK
    ------------------
    mySQL version: 4.0.27-standard
    ------------------
    Coppermine version: 1.4.6(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.0.27
    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.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 | no value | no value
    safe_mode_exec_dir | no value | no value
    sql.safe_mode | Off | Off
    disable_functions | exec,passthru,proc_open,shell_exec,system,posix_kill,popen | exec,passthru,proc_open,shell_exec,system,posix_kill,popen
    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.607 seconds - 16 queries in 0.139 seconds - Album set : ; Meta set: ;
My gallery at www.q8riderz.com/gallery/
test user account name is mrtest password mrtest

of course i checked all the permissions and its all set to 777


Joachim Müller


timeXway

QuoteCritical error
The file 'albums/userpics/10001/06_Opens_DynoChart_Power~0.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /home/q8pride/public_html/gallery/db_input.php - Line: 402


QuoteUSER:
------------------
Array
(
    [ID] => 2d7a8cbb16ef97142f2936749dc58802
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 209
                [1] => 206
                [2] => 204
                [3] => 105
                [4] => 96
            )

        [sort] => dd
    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_name] => timexway
        [groups] => Array
            (
               
  • => 1
            )

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
        [1] => select * from cpg_plugins order by priority asc; (0s)
        [2] => delete from `q8pride_copp1`.cpg_sessions where time<1149666341 and remember=0; (0s)
        [3] => delete from `q8pride_copp1`.cpg_sessions where time<1148460341; (0s)
        [4] => select user_id from `q8pride_copp1`.cpg_sessions where session_id=md5("b5003878851bf604006b5f06aadf638774e8cda84c916e61531a69971cce7700"); (0s)
        [5] => select user_id as id, user_password as password from `q8pride_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 `q8pride_copp1`.cpg_users AS u INNER JOIN `q8pride_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `q8pride_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 `q8pride_copp1`.cpg_sessions set time='1149669941' where session_id=md5('b5003878851bf604006b5f06aadf638774e8cda84c916e61531a69971cce7700'); (0s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2006-06-07 11:45:41' (0s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='62.215.3.59' OR ip_addr='62.215.3.59' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT category FROM cpg_albums WHERE aid='1' (0.001s)
        [15] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [album] => 1
        [MAX_FILE_SIZE] => 5120000
        [title] =>
        [caption] =>
        [keywords] =>
        [event] => picture
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.11 - OK
    ------------------
    mySQL version: 4.0.27-standard
    ------------------
    Coppermine version: 1.4.7(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.0.27
    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.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 | no value | no value
    safe_mode_exec_dir | no value | no value
    sql.safe_mode | Off | Off
    disable_functions | exec,passthru,proc_open,shell_exec,system,posix_kill,popen | exec,passthru,proc_open,shell_exec,system,posix_kill,popen
    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.078 seconds - 16 queries in 0.001 seconds - Album set : ; Meta set: ;
I did that and i still got that error, of course i did the update and check version and everything seems okay
and i went back to the permission section and checked that again and its 777

Joachim Müller

Don't post debug_output unless requested.
If 777 doesn't work for you, try 755. Please refer to the permissions section of the docs.

timeXway

#6
sorry about that,

its not working even with the 775
i changed them to 755, .. i changed the album, edit, uploads and  userpics

by the way i'm using my host cpanel file manager to change permisssion if you would allow me i can post a url picture?

Joachim Müller

We can't/won't support cpanel - we only support Coppermine, the app we're familiar with. If you have issues setting permissions and the pointers in our docs don't help you, you'll have to ask your webhost for support.

timeXway

i'm not asking for support for cpanel, i just said i use cpanel to change permission thats all.

with the permission set to 755 or 777 its not working both ways
i still get the exact same error.

kegobeer

You said this started recently.  If your gallery was working before, I suggest you contact your host and ask if they've changed anything.  If you are using ImageMagick, they may have changed it.  Try GD2.  If you use GD2, they may have recompiled PHP and forgot to include GD.  Try ImageMagick.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

cornerguy

Well I started this post, went on vacation, came back and hoped to find a solution.  I took your advice and upgradged try chmod 755, 777, 775.  None of this is working.  I haven't been able to get coppermine to work at ALL.  It's not something my host reccently changed.  They have others using the same version running fine.  I am lost.  I may just switch to a different image gallery unless someone else has soemthing to offer.

cornerguy

 ;D I switched from ImageMagik to GD 2.0 and it worked fine.