Unable to create thumbnail or reduced size image.
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine
Author Message
Śyama_Dāsa
Developer


Joined: Apr 19, 2004
Posts: 2049
Location: Dragonfly CMS Tribe

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Fri Jan 28, 2005 5:29 am
Reply with quote

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

Śyama_Dāsa's 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)
Back to top
View user's profile Visit poster's website Yahoo Messenger
sennsi
Newbie


Joined: Apr 27, 2004
Posts: 37

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Fri Jan 28, 2005 6:14 am
Reply with quote

Thanks akamu!

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

Cheers,
sennsi

_________________


sennsi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache1/4.0.22-standard/4.3.10/CPGNuke 9.0.0 RC1
Back to top
View user's profile Visit poster's website
Gerald
Supporter


Joined: Oct 19, 2004
Posts: 508
Location: Asheville, NC

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Sun Feb 13, 2005 7:51 pm
Reply with quote

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?

Quote:
Unable to create thumbnail or reduced size image.

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

Debug Info
Quote:

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] =>
)


Gerald's 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 )
Back to top
View user's profile Visit poster's website
Pazu
Nice poster


Joined: Feb 14, 2005
Posts: 86

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Thu Feb 17, 2005 7:00 am
Reply with quote

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

Quote:
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.)


Pazu's 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
Back to top
View user's profile Visit poster's website
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Thu Feb 17, 2005 7:40 am
Reply with quote

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

Thank you for your co-operation


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
Pazu
Nice poster


Joined: Feb 14, 2005
Posts: 86

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Thu Feb 17, 2005 8:30 am
Reply with quote

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
)


Pazu's 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
Back to top
View user's profile Visit poster's website
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Thu Feb 17, 2005 4:25 pm
Reply with quote

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


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
Gerald
Supporter


Joined: Oct 19, 2004
Posts: 508
Location: Asheville, NC

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Thu Feb 17, 2005 4:25 pm
Reply with quote

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


Gerald's 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 )
Back to top
View user's profile Visit poster's website
Pazu
Nice poster


Joined: Feb 14, 2005
Posts: 86

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Thu Feb 17, 2005 4:43 pm
Reply with quote

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.


Pazu's 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
Back to top
View user's profile Visit poster's website
Pazu
Nice poster


Joined: Feb 14, 2005
Posts: 86

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Thu Feb 17, 2005 7:11 pm
Reply with quote

Okay, I was able to generate some error text:

Quote:
./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.)


Pazu's 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
Back to top
View user's profile Visit poster's website
Pazu
Nice poster


Joined: Feb 14, 2005
Posts: 86

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Fri Feb 18, 2005 11:53 am
Reply with quote

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

Quote:
./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


Pazu's 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
Back to top
View user's profile Visit poster's website
Pazu
Nice poster


Joined: Feb 14, 2005
Posts: 86

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Fri Feb 18, 2005 11:56 am
Reply with quote

Is there any known problem running Dragonfly on Solaris?

Pazu's 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
Back to top
View user's profile Visit poster's website
DJ Maze
Developer


Joined: Apr 19, 2004
Posts: 5668
Location: http://tinyurl.com/5z8dmv

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Fri Feb 18, 2005 3:43 pm
Reply with quote

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


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger
Pazu
Nice poster


Joined: Feb 14, 2005
Posts: 86

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Fri Feb 18, 2005 5:21 pm
Reply with quote

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.


Pazu's 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
Back to top
View user's profile Visit poster's website
biotones
Newbie


Joined: Oct 19, 2004
Posts: 13

PostPost subject: Re: Unable to create thumbnail or reduced size image.
Posted: Fri Feb 18, 2005 6:15 pm
Reply with quote

thanks guys.... it works... i just need 2 install image magick in my web space... its runs nicely...hooray....
_________________
:: LiFe iS a CaRNiVaL ::

biotones's 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
Back to top
View user's profile Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine All times are GMT
Go to page Previous  1, 2, 3, 4  Next
Page 2 of 4


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Dedicated Server & Bandwidth Sponsored by DedicatedNOW
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.9369 seconds with 19 DB Queries in 0.0955 seconds
Memory Usage: 3.05 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy