Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Critical error - Unable to create thumbnail or reduced size image.  (Read 4788 times)

0 Members and 1 Guest are viewing this topic.

jrminardi

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
  • Catamaran Sailors
    • HO Sensations

Dear Coppermine Superusers...

I'm using coppermine since 2months now, and I had not problems until yesterday when I hit by mistake the button "Restore factory Default" in the config menu.
Since yesterday I desperate in trying all the method I founds in the forum, documents... without success.

Changed the maintenance settings like mentioned, verified all folders etc.

I have certainly missed something but do not know what to do now. I cannot upload pictures as the admin of my gallery.

this is the link to my gallery: http://www.h2o-sensations.com/galleryh2o/index.php
user created to get assistance is error / error

Hope I have done all the necessary steps, if not I hope I will understand you process (I'm Swiss-French speaker).

Quote
USER:
------------------
Array
(
    [ID] => a6994c7ff81111235580ef04d21a5e51
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 927
  • [1] => 926
                [2] => 924
                [3] => 920
                [4] => 804
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       
[user_id] => 1
    [user_name] => jrminardi
    [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 galleryfiletypes; (0.002s)
  • [1] => select * from galleryplugins order by priority asc; (0.027s)
        [2] => delete from `h2o-sensationscom`.gallerysessions where time<1167401916 and remember=0; (0.107s)
        [3] => delete from `h2o-sensationscom`.gallerysessions where time<1166195916; (0.001s)
        [4] => select user_id from `h2o-sensationscom`.gallerysessions where session_id=md5("05c81b80f4936e1c4f33e39504b84745e2e622062d0a921483c01ca923a45ac8"); (0.001s)
        [5] => select user_id as id, user_password as password from `h2o-sensationscom`.galleryusers 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 `h2o-sensationscom`.galleryusers AS u INNER JOIN `h2o-sensationscom`.galleryusergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `h2o-sensationscom`.galleryusers AS u WHERE user_id='1' and user_group_list <> ''; (0.022s)
        [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 galleryusergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  galleryusergroups WHERE group_id= 1 (0s)
        [10] => update `h2o-sensationscom`.gallerysessions set time='1167405516' where session_id=md5('05c81b80f4936e1c4f33e39504b84745e2e622062d0a921483c01ca923a45ac8'); (0.001s)
        [11] => SELECT user_favpics FROM galleryfavpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM gallerybanned WHERE expiry < '2006-12-29 16:18:36' (0.001s)
        [13] => SELECT * FROM gallerybanned WHERE (ip_addr='85.3.24.160' OR ip_addr='85.3.24.160' OR user_id=1) AND brute_force=0 (0.001s)
        [14] => SELECT category FROM galleryalbums WHERE aid='43' (0s)
        [15] => SELECT COUNT(*) FROM gallerypictures WHERE approved = 'NO' (0s)
    )

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 4.1.22-max-log
------------------
Coppermine version: 1.4.10(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 5.0.22
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/opt/misc/mysql/include/mysql
MYSQL_LIBS -L/opt/misc/mysql/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.2
Linked Version 1.2.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 | set_time_limit,passthru,exec,system,popen,shell_exec,proc_open | set_time_limit,passthru,exec,system,popen,shell_exec,proc_open
file_uploads | On | On
include_path | .:/opt/php/lib/php | .:/opt/php/lib/php
open_basedir | /home/www/e798e4db774f2cc13f51a37b7170de56/:/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail_r -t -i -fwebmaster@h2o-sensations.com | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 10 | 10
max_input_time | 10 | 10
upload_max_filesize | 48M | 48M
post_max_size | 48M | 48M
==========================
Page generated in 0.417 seconds - 16 queries in 0.165 seconds - Album set : ; Meta set: ;
« Last Edit: January 04, 2007, 05:32:27 pm by Nibbler »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Critical error - Unable to create thumbnail or reduced size image.
« Reply #1 on: December 29, 2006, 05:29:24 pm »

please read the upload trouble shoot guide and follow the instructions
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble

jrminardi

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
  • Catamaran Sailors
    • HO Sensations
Re: Critical error - Unable to create thumbnail or reduced size image.
« Reply #2 on: December 29, 2006, 05:51:12 pm »

Dear Stramm,

Thank you very much for your answer. This is exactly what I have done several times... and in order to be sure that I really did it, I just did it once more. The error message is still the same, I'm login as the Admin and Coppermine has identified me as the user 1. (which is the case as I installed and created this gallery). This is the error message I'm getting. "The file 'albums/userpics/10001/thumb_DSC01739.jpg' can't be inserted in the album - Unable to create thumbnail or reduced size image. - File: /home/www/e798e4db774f2cc13f51a37b7170de56/web/galleryh2o/db_input.php - Line: 402 ".

I did followed step by step all the points mentioned into the link you gave me (which I also found this morning into the forum many times)... but it still does not work.

It has also copied pictures into the userpics/10001... and this was the first time since the last two months. I have loaded about 1000 pictures without issues, but now I do not know what to do.

thank you for your time,
Jr
 
Logged

jrminardi

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
  • Catamaran Sailors
    • HO Sensations
Re: Critical error - Unable to create thumbnail or reduced size image.
« Reply #3 on: January 04, 2007, 05:15:25 pm »

Problem is solved.
Jr
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 22 queries.