Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Coppermine ⇒ Unable to create thumbnail or reduced size image.


Unable to create thumbnail or reduced size image.
Please post bugs in the Projects Module.
Post anything and everything else about Coppermine in this forum.

Go to page Previous  1, 2, 3, 4  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & BlocksCoppermine

View previous topic :: View next topic  
Author Message
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Fri Jan 28, 2005 5:29 am
Post subject: Re: Unable to create thumbnail or reduced size image.

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 Photo Gallery
sennsi
Newbie
Newbie

Offline Offline
Joined: Apr 27, 2004
Posts: 37

PostPosted: Fri Jan 28, 2005 6:14 am
Post subject: Re: Unable to create thumbnail or reduced size image.

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
Supporter

Offline Offline
Joined: Oct 19, 2004
Posts: 508
Location: Asheville, NC
PostPosted: Sun Feb 13, 2005 7:51 pm
Post subject: Re: Unable to create thumbnail or reduced size image.

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 Photo Gallery
Pazu
Nice poster
Nice poster

Offline Offline
Joined: Feb 14, 2005
Posts: 86

PostPosted: Thu Feb 17, 2005 7:00 am
Post subject: Re: Unable to create thumbnail or reduced size image.

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
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Thu Feb 17, 2005 7:40 am
Post subject: Re: Unable to create thumbnail or reduced size image.

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 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Pazu
Nice poster
Nice poster

Offline Offline
Joined: Feb 14, 2005
Posts: 86

PostPosted: Thu Feb 17, 2005 8:30 am
Post subject: Re: Unable to create thumbnail or reduced size image.

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
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Thu Feb 17, 2005 4:25 pm
Post subject: Re: Unable to create thumbnail or reduced size image.

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 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Gerald
Supporter
Supporter

Offline Offline
Joined: Oct 19, 2004
Posts: 508
Location: Asheville, NC
PostPosted: Thu Feb 17, 2005 4:25 pm
Post subject: Re: Unable to create thumbnail or reduced size image.

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 Photo Gallery
Pazu
Nice poster
Nice poster

Offline Offline
Joined: Feb 14, 2005
Posts: 86

PostPosted: Thu Feb 17, 2005 4:43 pm
Post subject: Re: Unable to create thumbnail or reduced size image.

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
Nice poster

Offline Offline
Joined: Feb 14, 2005
Posts: 86

PostPosted: Thu Feb 17, 2005 7:11 pm
Post subject: Re: Unable to create thumbnail or reduced size image.

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
Nice poster

Offline Offline
Joined: Feb 14, 2005
Posts: 86

PostPosted: Fri Feb 18, 2005 11:53 am
Post subject: Re: Unable to create thumbnail or reduced size image.

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
Nice poster

Offline Offline
Joined: Feb 14, 2005
Posts: 86

PostPosted: Fri Feb 18, 2005 11:56 am
Post subject: Re: Unable to create thumbnail or reduced size image.

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
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Fri Feb 18, 2005 3:43 pm
Post subject: Re: Unable to create thumbnail or reduced size image.

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 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Pazu
Nice poster
Nice poster

Offline Offline
Joined: Feb 14, 2005
Posts: 86

PostPosted: Fri Feb 18, 2005 5:21 pm
Post subject: Re: Unable to create thumbnail or reduced size image.

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
Newbie

Offline Offline
Joined: Oct 19, 2004
Posts: 13

PostPosted: Fri Feb 18, 2005 6:15 pm
Post subject: Re: Unable to create thumbnail or reduced size image.

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 Index ⇒  Add-Ons & BlocksCoppermine
Page 2 of 4
All times are GMT
Go to page Previous  1, 2, 3, 4  Next



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


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
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

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
Interactive software released under GNU GPL, Code Credits, Privacy Policy