Critical error. Unable to create thumbnail images Critical error. Unable to create thumbnail 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

Critical error. Unable to create thumbnail images

Started by svash, January 28, 2014, 11:43:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

svash

Dear Andre,

During the picture upload i receive the error message "unable to create thumbnail images".

what shoul i do?

Andrei


svash

Quote from: Αndré on January 28, 2014, 11:51:33 AM
http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_trouble

hello Andre,

i did and checked all what is writed in the manual, but still i get an error message "Unable to create thumbnail or reduced size image. "

Andrei

Αndré


svash

Quote from: Αndré on January 28, 2014, 01:56:42 PM
If you need help, please provide the required information as described here: http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_support

dear Andre,

Please find the  required information:
I'm having issues when uploading on my Coppermine driven gallery http://star.planet.ee/gallery/
When using http uploads and the suggested settings for upload troubleshooting in place, I get the error message

Critical error
Unable to create thumbnail or reduced size image

Fail: /www/data02/users/s/star.planet.ee/htdocs/gallery/db_input.php - Row: 699


Here's the test user account data:
    Username: tester
     Password: foobar

I have been using the image taken from http://www.star.planet.ee/gallery/displayimage.php?album=79&pid=3662#top_display_media as an example to test with.
Having done as suggested in http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_trouble didn't work as expected: I got
Critical error
Unable to create thumbnail or reduced size image
Fail: /www/data02/users/s/star.planet.ee/htdocs/gallery/db_input.php - Row: 699

when trying that. I have no idea what else to do.
Thanks in advance for your suggestions

Αndré

Please check the file system permissions of http://star.planet.ee/gallery/albums/userpics/10002/ (usually via an FTP tool like FileZilla). Try to set them to 755 or 777 and try again.

Αndré

Nevermind. The permissions seems to be correct, as I just uploaded a text file successfully: http://star.planet.ee/gallery/displayimage.php?pid=3730

Αndré

Does batch-add works if you upload the files via FTP?

svash

Quote from: Αndré on January 28, 2014, 03:16:51 PM
Does batch-add works if you upload the files via FTP?
Andre, could you please specify what does batch-add mean?
I can try to upload thougt th FTP. Where should I upload the picture?

Andrei



svash

Quote from: Αndré on January 28, 2014, 03:16:51 PM
Does batch-add works if you upload the files via FTP?

Andre,
No, batch-add does't work

Αndré

I just removed your FTP login data. That's something you should never post publicly on the internet. I recommend to change the password as soon as possible.

Αndré

Please hover over the radar icon, there's some additional information. Maybe it tells us what's wrong. I also noticed that the preview thumbnail hasn't been created. Please post the debug output, wrapped into [ c o d e ] tags.

svash

Quote from: Αndré on January 28, 2014, 03:52:01 PM
Please hover over the radar icon, there's some additional information. Maybe it tells us what's wrong. I also noticed that the preview thumbnail hasn't been created. Please post the debug output, wrapped into [ c o d e ] tags.
Andre,
thank you for the very important information.
I have changed the password.
So, radar says "Unable to create thumbnail or reduced size image".
Please tell me how should I post the debug output?

Andrei

Αndré

There's a # icon above the text area. Just put the debug output inside it or post it as-is (in this case a moderator will edit it accordingly).

svash


/include/inspekt/cage.php•Runtime Notice line 253: Non-static method Inspekt::getMatched() should not be called statically, assuming $this from incompatible context
•Runtime Notice line 529: Non-static method Inspekt::isIp() should not be called statically, assuming $this from incompatible context
•Runtime Notice line 236: Non-static method Inspekt::getEscaped() should not be called statically, assuming $this from incompatible context
•Runtime Notice line 236: Non-static method Inspekt::getEscaped() should not be called statically, assuming $this from incompatible context
•Runtime Notice line 253: Non-static method Inspekt::getMatched() should not be called statically, assuming $this from incompatible context



/include/init.inc.php•Runtime Notice line 230: Non-static method CPGPluginAPI::load() should not be called statically
•Runtime Notice line 435: Non-static method CPGPluginAPI::action() should not be called statically



/bridge/udb_base.inc.php•Deprecated line 353: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.



/include/themes.inc.php•Runtime Notice line 153: Non-static method CPGPluginAPI::filter() should not be called statically
•Runtime Notice line 190: Non-static method CPGPluginAPI::filter() should not be called statically
•Runtime Notice line 2439: Non-static method CPGPluginAPI::filter() should not be called statically
•Runtime Notice line 1699: Non-static method CPGPluginAPI::filter() should not be called statically
•Runtime Notice line 1554: Non-static method CPGPluginAPI::filter() should not be called statically



/include/functions.inc.php•Runtime Notice line 773: Non-static method CPGPluginAPI::filter() should not be called statically
•Runtime Notice line 816: Non-static method CPGPluginAPI::filter() should not be called statically
•Runtime Notice line 821: Non-static method CPGPluginAPI::filter() should not be called statically
•Runtime Notice line 822: Non-static method CPGPluginAPI::filter() should not be called statically
•Runtime Notice line 6149: Non-static method CPGPluginAPI::filter() should not be called statically
•Runtime Notice line 4725: Non-static method CPGPluginAPI::filter() should not be called statically
•Runtime Notice line 4725: Non-static method CPGPluginAPI::filter() should not be called statically


svash

USER:
------------------
Array
(
    [ID] => 79cdfe2c89a849ef839fd131ee6bedc5
    [lang] => estonian
    [liv] => Array
        (
            [0] => 1430
            [1] => 2888
            [2] => 3664
            [3] => 3663
            [4] => 3662
        )

    [upload_method] => html_single
    [liv_a] => Array
        (
            [0] => 79
        )

    [am] => 1
)

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

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [access_level] => 3
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [can_create_public_albums] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [allowed_albums] => Array
        (
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT name, value FROM cpg15x_config [include/init.inc.php:179] (0.63 ms)
    [1] => SELECT * FROM cpg15x_plugins ORDER BY priority [include/plugin_api.inc.php:52] (1.59 ms)
    [2] => SELECT user_id, time FROM `star`.cpg15x_sessions WHERE session_id = '0fb121d3bee1815983f29b839ef60257' [bridge/coppermine.inc.php:267] (0.31 ms)
    [3] => SELECT user_id, user_password FROM `star`.cpg15x_users WHERE user_id = 1 [bridge/coppermine.inc.php:279] (1.13 ms)
    [4] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `star`.cpg15x_users AS u LEFT JOIN `star`.cpg15x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' [bridge/udb_base.inc.php:70] (0.25 ms)
    [5] => SELECT user_group_list FROM `star`.cpg15x_users AS u WHERE user_id='1' AND user_group_list <> '' [bridge/coppermine.inc.php:205] (0.23 ms)
    [6] => 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(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, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS  priv_upl_need_approval FROM cpg15x_usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:323] (0.27 ms)
    [7] => SELECT group_name FROM cpg15x_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:327] (0.16 ms)
    [8] => SELECT COUNT(*) FROM cpg15x_categorymap WHERE group_id in (1) [bridge/udb_base.inc.php:340] (1.42 ms)
    [9] => SELECT lang_id FROM cpg15x_languages WHERE enabled='YES' [include/init.inc.php:330] (0.2 ms)
    [10] => SELECT user_favpics FROM cpg15x_favpics WHERE user_id = 1 [include/init.inc.php:388] (0.17 ms)
    [11] => DELETE FROM cpg15x_banned WHERE expiry < '2014-01-28 21:43:48' [include/init.inc.php:444] (0.24 ms)
    [12] => SELECT null FROM cpg15x_banned WHERE (user_id=1 OR '188.95.211.133' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:460] (0.15 ms)
    [13] => SELECT aid, title FROM cpg15x_albums WHERE 1 [searchnew.php:360] (0.22 ms)
    [14] => SELECT COUNT(*) FROM cpg15x_pictures WHERE approved = 'NO' [include/functions.inc.php:2421] (0.16 ms)
    [15] => SELECT lang_id, abbr FROM cpg15x_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2292] (0.18 ms)
    [16] => DELETE FROM cpg15x_temp_messages WHERE time < 1390934628 [include/functions.inc.php:4924] (0.97 ms)
    [17] => SELECT filepath, filename FROM cpg15x_pictures WHERE filepath LIKE 'photos%' [searchnew.php:338] (0.59 ms)
    [18] => SELECT aid, title, category FROM cpg15x_albums ORDER BY pos [include/functions.inc.php:5917] (1.58 ms)
    [19] => SELECT cid, rgt, name FROM cpg15x_categories ORDER BY lft [include/functions.inc.php:5937] (0.28 ms)
    [20] => SELECT user_id AS user_id, user_name AS user_name FROM `star`.cpg15x_users ORDER BY user_name [include/functions.inc.php:5961] (1.5 ms)
    [21] => SELECT extension, mime, content, player FROM cpg15x_filetypes [include/functions.inc.php:5779] (0.33 ms)
)

==========================
GET :
------------------
Array
(
    [startdir] => photos
)

==========================
POST :
------------------
Array
(
)

==========================
COOKIE :
------------------
Array
(
    [_data] => YToyOntzOjI6IklEIjtzOjMyOiIzYWRiZjkzNTIzODg2MjNkZmY5MjA4NjQ2N2E5Mjg4YyI7czoyOiJhbSI7aToxO30=
    [7793979e70bb01e23833a4f7789d7a63] => f6262994ccb57056917bb70851f0e6d4
    [893636b5ce411591d8beedc1efc36ca0] => 17cbe132e068ba0e0605517caf6ef969
    [picinfo] => block
    [__utmc] => 56313322
    [__utma] => 56313322.1462904061.1387732189.1390913486.1390937078.10
    [__utmz] => 56313322.1387732189.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
    [__utmb] => 56313322.8.10.1390937078
    [cpg15x_data] => YTo2OntzOjI6IklEIjtzOjMyOiI3OWNkZmUyYzg5YTg0OWVmODM5ZmQxMzFlZTZiZWRjNSI7czo0OiJsYW5nIjtzOjg6ImVzdG9uaWFuIjtzOjM6ImxpdiI7YTo1OntpOjA7czo0OiIxNDMwIjtpOjE7czo0OiIyODg4IjtpOjI7czo0OiIzNjY0IjtpOjM7czo0OiIzNjYzIjtpOjQ7czo0OiIzNjYyIjt9czoxMzoidXBsb2FkX21ldGhvZCI7czoxMToiaHRtbF9zaW5nbGUiO3M6NToibGl2X2EiO2E6MTp7aTowO2k6Nzk7fXM6MjoiYW0iO2k6MTt9
    [1e5af1d3c5d52cb77ddf80f8fd3c18b9] => c2aebbb24e213f7ea15b8ab70fc103e2
    [7d2611a45b79adb7badccb6a584a7086] => d3c0293e2c1831d2d495a80f8264b1a7
    [ed13e739a6fce5d12d39aca857b5bfd1] => 95d086a8da6a022892cd08080cbf8761
)

==========================
VERSION INFO :
------------------
PHP version        5.4.17     OK   
MySQL version      5.6.13-log OK   
Coppermine version 1.5.26     stable

==========================
Module: GD
------------------
Exact version                    2.1.0                     
GD Version                       bundled (2.1.0 compatible)
FreeType Support                 1                         
FreeType Linkage                 with freetype             
T1Lib Support                                             
GIF Read Support                 1                         
GIF Create Support               1                         
JPEG Support                     1                         
PNG Support                      1                         
WBMP Support                     1                         
XPM Support                                               
XBM Support                      1                         
JIS-mapped Japanese Font Support                           

==========================
Key config settings
------------------
site_url             http://star.planet.ee/gallery/             
charset              utf-8                                       
allow_private_albums 1                                           
cookie_name          cpg15x                                     
cookie_path          /                                           
impath               /usr/bin/                                   
lang                 estonian                                   
main_page_layout     breadcrumb/catlist/alblist/random,2/lastup,2
silly_safe_mode      0                                           
smtp_host                                                       
theme                curve                                       
thumb_method         im                                         

==========================
Plugins
------------------

==========================
Server restrictions
------------------
safe_mode                                                                                                                                 
safe_mode_exec_dir                                                                                                                       
safe_mode_gid                                                                                                                             
safe_mode_include_dir                                                                                                                     
sql.safe_mode                                                                                                                             
disable_functions        popen,exec,system,passthru,shell_exec,proc_open,dl,link,symlink                                                 
file_uploads             1                                                                                                               
include_path             .:                                                                                                               
open_basedir             /tmp:/var/tmp:/www/data02/users/s/star.planet.ee:/opt/zone/dzp/vhosts_global/planet/:/opt/zone/libexec/php53-ext/
allow_url_fopen          0                                                                                                               
max_execution_time       15                                                                                                               
max_input_time           60                                                                                                               
upload_max_filesize      64M                                                                                                             
post_max_size            64M                                                                                                             
memory_limit             64M                                                                                                             
suhosin.post.max_vars                                                                                                                     
suhosin.request.max_vars                                                                                                                 


==========================
Page (performance)
------------------
Parameter        Current  Peak   
Memory usage     2.64 MiB 3.61 MiB
Page generation  80.24 ms 80.24 ms
Page query time  12.55 ms 12.55 ms
Page query count 22       22     


==========================
               

Αndré


svash

Quote from: Αndré on January 29, 2014, 09:34:47 AM
Try if it works when you set Method for resizing images to "GD2".
Hello Andre,
yes, now it works perfectly.
Thank you very much.
You are the best!

Andrei