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: 5591
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)
Linux / 1.3.31 / 4.0.20 / 5.0.1 / 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: 5591
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)
Linux / 1.3.31 / 4.0.20 / 5.0.1 / 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: 5591
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)
Linux / 1.3.31 / 4.0.20 / 5.0.1 / 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 can download files in this forum

UltraEdit-32 the most powerful text editor
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Dansk
Deutsch
Eesti
Italia
Norsk

Testimonials [x]
I just did the phpNuke 7.4 to CPG-Nuke CVS conversion. Was very easy. ... Found everything I needed to help me along the way with a few searches.
The most unexpected and best thing I have found after switching was the increased speed. I used to think I needed to change hosts--since switching to CPG-Nuke all my users have commented on how much faster pages load

Whit

i was running phpnuke and have almost 30,000 members apache and sql both running at 99% usage, server crashed when 50 ppl online, Host wanted me off shared hosting as many customers complaining i was crashing a p4 3.2 with 2gig ram, i converted to cpg and now i have less than a 50% server load cpg saved me $300 USD a month offshore dedicated servers cost $$ thx guys
one decision i dont regreat is CPGNUKE

Korben
www.datastreamz.net
It's like this - I was working with Oldsmobiles when I was workin with HTML. Then I moved up to Mazda's and Audi's with PHP Nuke. But now my friends I am riding in style with Benz's and Porche's. The diffrence is that noticable immediatly. The Install is so simple once you get it and the site is so secure its like fort knox. Thank you - And you all can expect to see alot more of me around - suggesting ideas and helping where I can. Peace out all - and enjoy newbies. It's really worth it to use CPGNuke.
- Kid_Creation

One thing I've noticed about CPG-Nuke... it is fast and clean. Impressive. One of my 'customers' liked it so much she wanted everything changed to CPG-Nuke!
- valis
awebware.com

The conversion from phpNuke 7.4 to CPG-Nuke (CVS) was a piece of cake. The data conversion took about two hours. Hit a few snags--but nothing a few forum searches couldn't fix. Probably the best compliment I got from my users--"Did you change hosts?" The speed improvement over phpNuke is quite noticable. Kudos to the developement team! Thanks for helping me get away from the phpNuke tease.
- Whit
endofropegang.com

Thanks for the Great program! I never regret migrating from PhpNuke. My site is so much faster and more secure. Now I spend time managing my site instead of the site software. Keep up the good work!
- Rod
www.gentle.org

Now that we are running CPG Nuke this is the first time I've travelled without having to worry about hacking, monitoring the site daily, etc. Thanks for CPG Nuke and everyone that made it possible. We are running a consumer advocacy site at householdwatch.com and the site is very busy. CPG Nuke is doing the job and doing it well.
NukeFind

CPG is Fast, Secure & Free Since installing it's been much easier to work with as an admin. Better admin features but not as many modules that phpnuke offers. Built for speed and reliability. Admin of 3 prominent sites that combined receive 6 million hits annually. CPGnuke is hands down the best CMS out there.
- djdevon3

I just made the switch to CPG, from phpNuke.
The install was easy, simple when following well written instructions. My site has dramatically increased in speed, it really is a day and nite difference.
Thanks to everyone who is a part of the CPG-Nuke project and for offering this CMS as a great alternative to the other *Nukes.
I look forward to being a part of the community.
Kristin
"I made the switch!"

I managed to stumble onto this remake of phpnuke type CMS and have been VERY pleased ever since... I'm very glad it's the system I'm using to make a web site.
4est
Great sense of community around CPG Nuke! Thanks for your hard work Cheers!
roRisc
To the Dev team. You guys rock keep up the good work. Hopefully I'll get good enough at this quickly so that I'll be able to start posting some solutions and tips as well. Cup-A-Cino
I want to thank everyone who help me to build my cpgnuke, know the final layout look great, makes the user want to register.....thanks alot guys
TRANCEBUDHA
Hey thanks for the quick replies..hehe.. ya I am trying to check out cpg-nuke on the same server.. anyways.. www.sizzle.no-ip.com /ufo just a test site main php-nuke is www.sizzle.no-ip.com and forums www.sizzle.no-ip.com /forums It seems so far that cpg-nuke is quit a bit faster than php-nuke.. thanks again
sixpack
CPG-Nuke and its support community ROCKS!
James D Kirk
CPGNuke is making phpnuke look like hammered dog-crap so far...
Persistence
Just installed the latest version of CPG and I'm lovin' it!
square
love CPG!
Mecro
man i just took a look at the demo ADMIN and you guys truly did a remarkable job.. this blows PHPNuke away...
dirtbag
Thank You, cpgnuke. Thank You All that are behind that wonderful script.
Truden
Excellent Coppermine with safemod :) Work fine with safemod nice Job
Reha
Thank You, cpgnuke. I am amazed at what CPG Nuke has to offer...
JamesSelvage
Great site. Great software.
ShermD3
Well I got my first CPGNuke site up! (huzzah?) I must say of the 5 site I run, 4 of which are PHP-Nuke sites I'm most impressed
GeoffM
This install was SOOO smooth. Great job guys! I love it!
dcorwin
Hey CPG-Nuke Dev Team!! Wow!!!!...pretty much sums it up. I love cpgnuke and I've only had it a couple days now.
sabione
Great system you developed here. Thanks !
cwweb

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.8337 seconds with 17 DB Queries in 0.2409 seconds
Memory Usage: 3.38 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy