I haven't uploaded my gallery since April 5 and today I wanted to add some photos. They uploaded fine from SmartFTP but when I went to add batch files I added them to their categories and hit enter and what showed up was a bunch of x's. I clicked on them and it says, "Unable to create thumbnail or reduced size image." Please help.
This issue has been asked many times... Go to: http://forum.coppermine-gallery.net/index.php/topic,51973.0.html (http://forum.coppermine-gallery.net/index.php/topic,51973.0.html)
Net time, use docs and button Search. ;)
I did all that was told for me to do.
Here's the gallery: http://www.elizabethtaylorfan.com/gallery/
Username: testuser
password: pleasework
Error message:
USER:
------------------
Array
(
[ID] => d111590f3b41a963d819acd142c62b8b
[am] => 1
[lang] => english
[liv] => Array
(
- => 1776
[1] => 601
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 2
[user_name] => Shane
[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 cpg14x_filetypes; (0s)
[1] => select * from cpg14x_plugins order by priority asc; (0s)
[2] => delete from `allstars_nat`.cpg14x_sessions where time<1212289651 and remember=0; (0.001s)
[3] => delete from `allstars_nat`.cpg14x_sessions where time<1211083651; (0.001s)
[4] => select user_id from `allstars_nat`.cpg14x_sessions where session_id=md5("367139e35ee2fa1226ebb017ba85786ef2aa6c7ffab9a014eb5ef00f8c280bd7"); (0s)
[5] => select user_id as id, user_password as password from `allstars_nat`.cpg14x_users where user_id=2 (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 `allstars_nat`.cpg14x_users AS u INNER JOIN `allstars_nat`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='2' (0s)
[7] => SELECT user_group_list FROM `allstars_nat`.cpg14x_users AS u WHERE user_id='2' 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 cpg14x_usergroups WHERE group_id in (1) (0s)
[9] => SELECT group_name FROM cpg14x_usergroups WHERE group_id= 1 (0s)
[10] => update `allstars_nat`.cpg14x_sessions set time='1212293251' where session_id=md5('367139e35ee2fa1226ebb017ba85786ef2aa6c7ffab9a014eb5ef00f8c280bd7'); (0s)
[11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 2 (0s)
[12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-06-01 04:07:31' (0s)
[13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='67.34.41.74' OR ip_addr='67.34.41.74' OR user_id=2) AND brute_force=0 (0s)
[14] => SELECT aid, title FROM cpg14x_albums WHERE 1 (0.002s)
[15] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.002s)
)
==========================
GET :
------------------
Array
(
[insert] => 1
)
==========================
POST :
------------------
Array
(
[d0000] => 348
[pics] => Array
(
- => 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
[13] => i0013
)
[album_lb_id_i0000] => d0000
[picfile_i0000] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMDEucG5n
[album_lb_id_i0001] => d0000
[picfile_i0001] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMDIucG5n
[album_lb_id_i0002] => d0000
[picfile_i0002] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMDMucG5n
[album_lb_id_i0003] => d0000
[picfile_i0003] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMDQucG5n
[album_lb_id_i0004] => d0000
[picfile_i0004] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMDUucG5n
[album_lb_id_i0005] => d0000
[picfile_i0005] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMDYucG5n
[album_lb_id_i0006] => d0000
[picfile_i0006] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMDcucG5n
[album_lb_id_i0007] => d0000
[picfile_i0007] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMDgucG5n
[album_lb_id_i0008] => d0000
[picfile_i0008] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMDkucG5n
[album_lb_id_i0009] => d0000
[picfile_i0009] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMTAucG5n
[album_lb_id_i0010] => d0000
[picfile_i0010] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMTEucG5n
[album_lb_id_i0011] => d0000
[picfile_i0011] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMTIucG5n
[album_lb_id_i0012] => d0000
[picfile_i0012] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMTMucG5n
[album_lb_id_i0013] => d0000
[picfile_i0013] => U2NyZWVuIENhcHMvTW92aWVzL1RoZSBTYW5kcGlwZXIvc2FuZHBpcGVyMDAwMTUucG5n
[insert] => Insert selected files
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.9 - OK
------------------
mySQL version: 4.1.20
------------------
Coppermine version: 1.4.13(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.20
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -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 | no value | no value
file_uploads | On | On
include_path | .:.: | .:.:
open_basedir | /var/www/vhosts/elizabethtaylorfan.com/httpdocs:/tmp | 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.122 seconds - 16 queries in 0.006 seconds - Album set : ; Meta set: ;
Any solutions?
This is not a hotline, give it at least a day or two. Have you the correct permissions set? Do regular HTTP Uploads work?
Quote from: http://forum.coppermine-gallery.net/index.php/topic,24088.0.html
FIRST AND FOREMOST: CHECK YOUR PERMISSIONS ON THE /ALBUMS, /ALBUMS/USERPICS, AND /ALBUMS/EDIT DIRECTORIES. ALL SHOULD BE 777 OR 755.
If you don't know what we mean when we write 777 or 755, you need to do a Google search on UNIX file permissions. Windows has a similar set of file permissions. You can usually set these permissions using your FTP client.
I cannot check regular uploads because the test user account you posted does not the permmission to upload files, please correct this or test regular uploads yourself.
The testuser has the permissions set now.
QuoteCritical error
The file 'albums/userpics/10008/flower2.jpg' can't be inserted in the album
Unable to create thumbnail or reduced size image.
File: /mnt/data/var/www/vhosts/elizabethtaylorfan.com/httpdocs/gallery/db_input.php - Line: 402
Search results for "Unable to create thumbnail or reduced size image" (http://forum.coppermine-gallery.net/index.php?action=search2;search=%22Unable%20to%20create%20thumbnail%20or%20reduced%20size%20image%22). Upgrade (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14)!
QuoteI had the same problem.. Check under config. Files and thumbnails settings ...Max width or height of an intermediate picture/video ** mine got set to 1... i changed it to 400 and now i can upload. hope it works for you..
This helped me! All that other stuff didn't work. Thanks to whoever wrote this!
Quote from: Joachim Müller on June 02, 2008, 07:30:08 AM
Upgrade (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14)!