Dragonfly CMS v9 ⇒ Coppermine ⇒ Unable to create thumbnail or reduced size image. (page 2) ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexModules & BlocksCoppermine

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


mixing of cvs and other files is not suggested, can you download the latest snap and update all files except your theme? I can not recreate the problem in my cvs copy.

looking at the debug output the picture name is not being passed to the imaging function which works fine here...

AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)


Thanks akamu!

I've already downloaded RC1 and installed the files over PR1. So far everything works great. Pictures are uploading fine.

Cheers,
sennsi

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/Apache1/4.0.22-standard/4.3.10/CPGNuke 9.0.0 RC1


I'm working this issue too. I have reuploaded the file like was mentioned here but no luck. Having a image gallery is a major part of my site. The info below is from the attemp to upload an image it's close to the other info posted here other than the line number. As for me I have no idea what it means. Any help would be great. What should I do Next?

Unable to create thumbnail or reduced size image.

File: /home/six50rider.com/www/650rider.com/modules/coppermine/db_input.php - Line: 446


Debug Info

Debug InformationIntegration vars
Selected Nuke Theme: dragonfly
Coppermine Theme: modules/coppermine/themes/default
Module path modules/coppermine
Nukelink index.php?name=coppermine

$_SERVER vars
DOCUMENT_ROOT: /home/six50rider.com/www/650rider.com
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
SCRIPT_FILENAME: /home/six50rider.com/www/650rider.com/index.php
QUERY_STRING: name=coppermine&file=db_input
PHP_SELF: /index.php

CPG Config
TABLE_PICTURES cms_cpg_pictures
TABLE_ALBUMS cms_cpg_albums
TABLE_COMMENTS cms_cpg_comments
TABLE_CATEGORIES cms_cpg_categories
TABLE_CONFIG cms_cpg_config
TABLE_USERGROUPS cms_cpg_usergroups
TABLE_VOTES cms_cpg_votes
TABLE_USERS cms_users
allow_private_albums 1
Site url (ecards_more_pic_target) http://650rider.com/
fullpath modules/coppermine/albums/
USER_IN_GROUPS 1
Default Language english
Language Directory coppermine

Queries
GET

Array
(
[name] => coppermine
[file] => db_input
)

POST

Array
(
[event] => picture
[album] => 3
[MAX_FILE_SIZE] => 1048576
[title] => test
[caption] =>
[keywords] =>
[user1] =>
[user2] =>
[user3] =>
[user4] =>
)

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
. . . . . . . . .. . . . . . ( Linux 2.6.9 / 2.2.3 / 5.0.22 / 5.1.6 / 9.1.2.1 )


I’m having this problem as well on either Upload or Batch Add:

Unable to create thumbnail or reduced size image.

File: ./modules/coppermine/db_input.php - Line: 446


No additional error messages are shown in the Admin footer, though. If it were a safe mode issue, I would, wouldn’t I?

UPDATE: Configured Coppermine to use ImageMagick instead of GD and same problem still happens. (Path to convert is correct.)

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.17.11-grsechg / Apache 1.3.37 / MySQL 4.1.21-standard / PHP 5.2.1 / Dragonfly 9.1.1


We definatly need the info that is reported BELOW your page footer to solve these issues.

Thank you for your co-operation

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


DJMaze wrote
We definatly need the info that is reported BELOW your page footer to solve these issues.


You mean the Debug information, I presume. Here it is:

Integration vars
Selected Nuke Theme: dragonfly
Coppermine Theme: modules/coppermine/themes/default
Module path modules/coppermine
Nukelink index.php?name=coppermine
$_SERVER vars
DOCUMENT_ROOT: [fs path to web root supressed for this post]/docs/
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.8,de-at;q=0.5,de;q=0.3
HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050213 Firefox/1.0+
SCRIPT_FILENAME: [fs path to web root supressed for this post]/docs/index.php
QUERY_STRING: name=coppermine&file=searchnew&insert=1
PHP_SELF: /index.php
CPG Config
TABLE_PICTURES cms_cpg_pictures
TABLE_ALBUMS cms_cpg_albums
TABLE_COMMENTS cms_cpg_comments
TABLE_CATEGORIES cms_cpg_categories
TABLE_CONFIG cms_cpg_config
TABLE_USERGROUPS cms_cpg_usergroups
TABLE_VOTES cms_cpg_votes
TABLE_USERS cms_users
allow_private_albums 1
Site url (ecards_more_pic_target) greg.tcp.com/
fullpath modules/coppermine/albums/
USER_IN_GROUPS 1
Default Language english
Language Directory coppermine
Queries
GET

Array
(
[name] => coppermine
[file] => searchnew
[insert] => 1
)

POST

Array
(
[d0000] => 3
[pics] => Array
(
[0] => i0000
[1] => i0001
[2] => i0002
[3] => i0003
[4] => i0004
[5] => i0005
[6] => i0006
)

[album_lb_id_i0000] => d0000
[picfile_i0000] => dXNlcnBpY3MvMjAwNS8yMDA1LjAxLjA3LCBNeSBuZXcgZmxhdC9EU0MwMDM0OC5qcGc=
[album_lb_id_i0001] => d0000
[picfile_i0001] => dXNlcnBpY3MvMjAwNS8yMDA1LjAxLjA3LCBNeSBuZXcgZmxhdC9EU0MwMDM0OS5qcGc=
[album_lb_id_i0002] => d0000
[picfile_i0002] => dXNlcnBpY3MvMjAwNS8yMDA1LjAxLjA3LCBNeSBuZXcgZmxhdC9EU0MwMDM1MC5qcGc=
[album_lb_id_i0003] => d0000
[picfile_i0003] => dXNlcnBpY3MvMjAwNS8yMDA1LjAxLjA3LCBNeSBuZXcgZmxhdC9EU0MwMDM1MS5qcGc=
[album_lb_id_i0004] => d0000
[picfile_i0004] => dXNlcnBpY3MvMjAwNS8yMDA1LjAxLjA3LCBNeSBuZXcgZmxhdC9EU0MwMDM1Mi5qcGc=
[album_lb_id_i0005] => d0000
[picfile_i0005] => dXNlcnBpY3MvMjAwNS8yMDA1LjAxLjA3LCBNeSBuZXcgZmxhdC9EU0MwMDM1My5qcGc=
[album_lb_id_i0006] => d0000
[picfile_i0006] => dXNlcnBpY3MvMjAwNS8yMDA1LjAxLjA3LCBNeSBuZXcgZmxhdC9EU0MwMDM1NC5qcGc=
[insert] => Insert selected pictures
)

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.17.11-grsechg / Apache 1.3.37 / MySQL 4.1.21-standard / PHP 5.2.1 / Dragonfly 9.1.1


no pazu the debug info that is even lower.
Below your "Interactive software released under GNU GPL, Code Credits, Privacy Policy"

Try using the cpgnuke or dragonfly theme, those templates have the proper settings for it

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


Hey Pazu,
This may help, Not sure if your issue is the same as mine was but check this thread out.

this may work for you

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
. . . . . . . . .. . . . . . ( Linux 2.6.9 / 2.2.3 / 5.0.22 / 5.1.6 / 9.1.2.1 )


DJMaze wrote
no pazu the debug info that is even lower.
Below your "Interactive software released under GNU GPL, Code Credits, Privacy Policy"

Try using the cpgnuke or dragonfly theme, those templates have the proper settings for it


Sorry, I have all debug options on and the only thing down there are the database queries, even after switching back to the cpgnuke theme.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.17.11-grsechg / Apache 1.3.37 / MySQL 4.1.21-standard / PHP 5.2.1 / Dragonfly 9.1.1


Okay, I was able to generate some error text:

./modules/coppermine/db_input.php

* Notice line 361: Undefined variable: dest_dir
* Notice line 362: Undefined variable: dest_dir
* CMS Warning line 362: Destination directory is not writable by the script !

./includes/imaging/gd2.inc

* Warning line 34: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/var/tmp/php34aGPd' is not a valid JPEG file


(Note that I was able to successfully upload the same JPEG to my test installation running on Mac OS X 10.3.7/Apache 2.0.52/PHP 4.3.9/MySQL 4.0.21/Dragonfly 9.0.1.1.)

(Note also that modules/coppermine/albums & modules/coppermine/albums/userpics are both 777.)

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.17.11-grsechg / Apache 1.3.37 / MySQL 4.1.21-standard / PHP 5.2.1 / Dragonfly 9.1.1


I switched coppermine to use ImageMagick instead and got the following, slightly different, error text:

./modules/coppermine/db_input.php

* Notice line 361: Undefined variable: dest_dir
* Notice line 362: Undefined variable: dest_dir
* CMS Warning line 362: Destination directory is not writable by the script !

./includes/imaging/im.inc

* Notice line 32: Undefined index: OS
* Warning line 40: exec() [function.exec]: Unable to fork [/usr/local/bin/convert -quality 80 -antialias -interlace plane -geometry 2048x1536 '/var/tmp/phpARaGwX' 'modules/coppermine/albums/userpics/schnee.jpg' 2>&1]
* CMS Warning line 45: Error executing ImageMagick - Return value: -1
Cmd line : /usr/local/bin/convert -quality 80 -antialias -interlace plane -geometry 2048x1536 '/var/tmp/phpARaGwX' 'modules/coppermine/albums/userpics/schnee.jpg'
The convert program said:
* Warning line 46: unlink(modules/coppermine/albums/userpics/schnee.jpg) [function.unlink]: No such file or directory

./includes/cmsinit.inc

* Warning line 468: htmlspecialchars() expects parameter 1 to be string, array given

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.17.11-grsechg / Apache 1.3.37 / MySQL 4.1.21-standard / PHP 5.2.1 / Dragonfly 9.1.1


Is there any known problem running Dragonfly on Solaris?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.17.11-grsechg / Apache 1.3.37 / MySQL 4.1.21-standard / PHP 5.2.1 / Dragonfly 9.1.1


Ah pazu i think i see the problem.
Did you login as member ?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


DJMaze wrote
Ah pazu i think i see the problem.
Did you login as member ?


Yes, but the error occurs whether logged in as a member or an admin.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.17.11-grsechg / Apache 1.3.37 / MySQL 4.1.21-standard / PHP 5.2.1 / Dragonfly 9.1.1


thanks guys.... it works... i just need 2 install image magick in my web space... its runs nicely...hooray....

:: LiFe iS a CaRNiVaL ::

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
winxp/apache 1.3.1/MySQL 4.0.28/PHP 4.3.8/Dragonfly 9.0.1

All times are UTC


Jump to: