Advanced search  

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

Pages: [1]   Go Down

Author Topic: unable to create thumbnail images  (Read 22983 times)

0 Members and 1 Guest are viewing this topic.

brianwilson

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
unable to create thumbnail images
« on: September 22, 2011, 11:08:42 am »

Greetings from Scotland

Hope someone can help.
I can't get coppermine to 'batch add' files anymore. It used to work fine. But I haven't used the programme for a while and now - nothing seems to work the same. Just upgraded to 1.5.2 i think, but no joy.

Here is the output from the debugger. I've also set up test test users, if that helps, although I understand test can't batch upload, so not sure if that'll help anyway.

Any help would be very gratefully received.

==============================
USER:
------------------
Array
(
    [ID] => a61beabada63551584337f6dc13151ec
    [am] => 1
    [lang] => english_gb
    [liv] => Array
        (
           
  • => 227
  • [1] => 229
                [2] => 230
                [3] => 231
                [4] => 232
            )

       
[search] => Array
        (
            [search] => Unable to create thumbnail or reduced size image.
            [album] => search
            [title] => on
            [newer_than] =>
            [caption] => on
            [older_than] =>
            [keywords] => on
            [type] => AND
            [params] => Array
                (
                    [title] => on
                    [caption] => on
                    [keywords] => on
                )

        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => brian
    [groups] => Array
        (
           
  • => 1

        )

    [disk_max] => 50000
    [disk_min] => 50000
    [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] => 50000
    [can_see_all_albums] => 1
    [group_id] => 1
    [allowed_albums] => Array
        (
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT name, value FROM cpg_config [include/init.inc.php:181] (0 ms)
  • [1] => SELECT * FROM cpg_plugins ORDER BY priority
[include/plugin_api.inc.php:54] (0 ms)
    [2] => SELECT user_id, time FROM `seonaid_copp1`.cpg_sessions WHERE session_id = '3ae057d3ad219f78ae462e23502026d2' [bridge/coppermine.inc.php:264] (0 ms)
    [3] => SELECT user_id, user_password FROM `seonaid_copp1`.cpg_users WHERE user_id = 2 [bridge/coppermine.inc.php:276] (0 ms)
    [4] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `seonaid_copp1`.cpg_users AS u LEFT JOIN `seonaid_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='2' [bridge/udb_base.inc.php:70] (0 ms)
    [5] => SELECT user_group_list FROM `seonaid_copp1`.cpg_users AS u WHERE user_id='2' AND user_group_list <> '' [bridge/coppermine.inc.php:202] (0 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 cpg_usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:323] (0 ms)
    [7] => SELECT group_name FROM cpg_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:327] (0 ms)
    [8] => SELECT COUNT(*) FROM cpg_categorymap WHERE group_id in (1) [bridge/udb_base.inc.php:340] (0 ms)
    [9] => SELECT lang_id FROM cpg_languages WHERE enabled='YES' [include/init.inc.php:329] (0 ms)
    [10] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 2 [include/init.inc.php:387] (0 ms)
    [11] => DELETE FROM cpg_banned WHERE expiry < '2011-09-22 10:04:02' [include/init.inc.php:443] (0 ms)
    [12] => SELECT null FROM cpg_banned WHERE (user_id=2 OR '88.104.214.136' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:459] (0 ms)
    [13] => SELECT aid, title FROM cpg_albums WHERE 1 [searchnew.php:360] (0 ms)
    [14] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' [include/functions.inc.php:2418] (0 ms)
    [15] => SELECT lang_id, abbr FROM cpg_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2315] (0 ms)
    [16] => DELETE FROM cpg_temp_messages WHERE time < 1316678642 [include/functions.inc.php:4927] (0 ms)
    [17] => SELECT filepath, filename FROM cpg_pictures WHERE filepath LIKE 'briansalbum%' [searchnew.php:338] (0 ms)
    [18] => SELECT aid, title, category FROM cpg_albums ORDER BY pos [include/functions.inc.php:5927] (0 ms)
    [19] => SELECT cid, rgt, name FROM cpg_categories ORDER BY lft [include/functions.inc.php:5944] (0 ms)
    [20] => SELECT user_id AS user_id, user_name AS user_name FROM `seonaid_copp1`.cpg_users ORDER BY user_name [include/functions.inc.php:5966] (0 ms)
    [21] => SELECT extension, mime, content, player FROM cpg_filetypes [include/functions.inc.php:5789] (0 ms)
)

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

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

==========================
COOKIE :
------------------
Array
(
    [__qca] => P0-1105408887-1314274441046
    [381912d4e7b162c20e591f359d799dac] => 3b67b6a8ed5ba0feb21d4297b930ea89
    [coppermine_data] => YTo1OntzOjI6IklEIjtzOjMyOiJhNjFiZWFiYWRhNjM1NTE1ODQzMzdmNmRjMTMxNTFlYyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czoxMDoiZW5nbGlzaF9nYiI7czozOiJsaXYiO2E6NTp7aTowO3M6MzoiMjI3IjtpOjE7czozOiIyMjkiO2k6MjtzOjM6IjIzMCI7aTozO3M6MzoiMjMxIjtpOjQ7czozOiIyMzIiO31zOjY6InNlYXJjaCI7YTo5OntzOjY6InNlYXJjaCI7czo0OToiVW5hYmxlIHRvIGNyZWF0ZSB0aHVtYm5haWwgb3IgcmVkdWNlZCBzaXplIGltYWdlLiI7czo1OiJhbGJ1bSI7czo2OiJzZWFyY2giO3M6NToidGl0bGUiO3M6Mjoib24iO3M6MTA6Im5ld2VyX3RoYW4iO3M6MDoiIjtzOjc6ImNhcHRpb24iO3M6Mjoib24iO3M6MTA6Im9sZGVyX3RoYW4iO3M6MDoiIjtzOjg6ImtleXdvcmRzIjtzOjI6Im9uIjtzOjQ6InR5cGUiO3M6MzoiQU5EIjtzOjY6InBhcmFtcyI7YTozOntzOjU6InRpdGxlIjtzOjI6Im9uIjtzOjc6ImNhcHRpb24iO3M6Mjoib24iO3M6ODoia2V5d29yZHMiO3M6Mjoib24iO319fQ==
    [ja_purity_tpl] => ja_purity
    [fontSize] => 100
    [c182a0b28e70fbcfde33c6c2126ce23a] => 17605a317b8e51c267bb81abd17e7ace
)

==========================
VERSION INFO :
------------------
PHP version        5.2.9  OK   
MySQL version      5.1.56 OK   
Coppermine version 1.5.12 stable

==========================
Module: GD
------------------
Exact version                    2.0.34                     
GD Version                       bundled (2.0.34 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                         
XPM Support                      1                         
XBM Support                      1                         
JIS-mapped Japanese Font Support                           

==========================
Key config settings
------------------
site_url             http://stagestars-scotland.co.uk/galleries/
charset              utf-8                                       
allow_private_albums 1                                           
cookie_name          coppermine                                 
cookie_path          /                                           
impath               /usr/bin/                                   
lang                 english_gb                                 
main_page_layout     breadcrumb/catlist/alblist/random,2/lastup,2
silly_safe_mode      0                                           
smtp_host                                                       
theme                eyeball                                     
thumb_method         im                                         

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

==========================
Server restrictions
------------------
safe_mode                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
safe_mode_exec_dir                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
safe_mode_gid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
safe_mode_include_dir                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
sql.safe_mode                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
disable_functions        system,passthru,exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,escapeshellcmd,define_syslog_variables,posix_uname,posix_getpwuid,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,escapeshellarg,posix_uname,ftp_exec,ftp_connect,ftp_login,ftp_get,ftp_put,ftp_nb_fput,ftp_raw,ftp_rawlist,ini_alter,ini_restore,inject_code,syslog,openlog,define_syslog_variables,apache_setenv,mysql_pconnect,eval,phpAds_XmlRpc,phpAds_remoteInfo,phpAds_xmlrpcEncode,phpAds_xmlrpcDecode,xmlrpc_entity_decode,fp,fput,mail
file_uploads             1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
include_path             .:/usr/lib/php:/usr/local/lib/php                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
open_basedir                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
allow_url_fopen          1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
max_execution_time       30                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
max_input_time           60                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
upload_max_filesize      20M                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
post_max_size            20M                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
memory_limit             32M                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
suhosin.post.max_vars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
suhosin.request.max_vars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           


==========================
Page (performance)
------------------
Parameter        Current  Peak   
Memory usage     2.81 MiB 4.03 MiB
Page generation  48 ms    48 ms   
Page query time  0 ms     0 ms   
Page query count 22       22     


==========================
               
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: unable to create thumbnail images
« Reply #1 on: September 22, 2011, 11:14:27 am »

You're currently using cpg1.5.12. Please upgrade to cpg1.5.16.

Additionally, read this section of the docs: http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_trouble
Logged
Pages: [1]   Go Up
 

Page created in 0.038 seconds with 19 queries.