Unable to create thumbnail or reduced size image.
Skriv ny tråd   Besvar indlægget   Printvenlig side     Forum indeksCoppermine
Forfatter Besked
Pazu
Nice poster


Indmeldt: Feb 14, 2005
Indlæg: 86

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Ons Feb 23, 2005 8:47 am
Besvar, med citat

FYI, reinstalled Dragonfly files and the problem persists. I switched back to GD from IM and see the following error text on upload attempt:

Code:
./includes/imaging/gd2.inc

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

./includes/cmsinit.inc

    * Warning line 623: fopen(cache/tpl_dragonfly_header.html.inc) [function.fopen]: failed to open stream: Permission denied
    * CMS Warning line 624: Cannot open file (cache/tpl_dragonfly_header.html.inc)


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
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
DJ Maze
Developer


Indmeldt: Apr 19, 2004
Indlæg: 5628
Geografisk sted: http://tinyurl.com/5z8dmv

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Ons Feb 23, 2005 6:11 pm
Besvar, med citat

Pazu what host do you have ?
You have so much permission troubles, it seems they are so scared that they've locked everything to the bone to disallow you any access to your own webspace.

Let them contact us for advice at a $50 an hour rate.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside Yahoo messenger
Pazu
Nice poster


Indmeldt: Feb 14, 2005
Indlæg: 86

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Fre Feb 25, 2005 11:24 am
Besvar, med citat

DJMaze wrote:
Pazu what host do you have ?
You have so much permission troubles, it seems they are so scared that they've locked everything to the bone to disallow you any access to your own webspace.

Sigh. My host is run by a friend, and I have access to everything. I have my own permissions set to the minimum necessary to allow access.

For example, my web root is drwx---r-x, as are other directories inside that. Regular files are -rw----r--. This is all that's required to serve files via a web server, so I have no more granted. (In other words, my web tree uses umask 072.)

(Of course, where Dragonfly’s INSTALL.txt specifies certain permissions for certain directories, I have granted those.)

What are the default permissions you suggest to allow this software to work?


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
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
Pazu
Nice poster


Indmeldt: Feb 14, 2005
Indlæg: 86

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Man Feb 28, 2005 10:42 am
Besvar, med citat

Hm, one thing I noticed is that on my Solaris installation Dragonfly wants to put the uploaded photo into /modules/coppermine/albums/userpics
/10002, while on my test OS X installation the photo goes straight into /modules/coppermine/albums/userpics.

This could account for some of the error messages:

Quote:
Warning line 40: exec() [function.exec]: Unable to fork [/usr/local/bin/convert -quality 80 -antialias -interlace plane -geometry 2048x1536 '/var/tmp/phpk_aOOf' '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/phpk_aOOf' '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

Since the .jpg file is not, in fact, in userpics, but rather in userpics/10002.

Why is it going there? Does the folder correspond to an album? If so, then why isn’t this happening on my OS X install? If I delete the directory, it simply reappears on the next upload attempt.


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
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
Pazu
Nice poster


Indmeldt: Feb 14, 2005
Indlæg: 86

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Ons Mar 02, 2005 9:01 am
Besvar, med citat

…so, is it normal for the uploaded photo to go into userpics/10002 or not?

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
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
RedGerry
Silver Supporter


Indmeldt: Jun 29, 2004
Indlæg: 448
Geografisk sted: Alloa, Scotland

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Ons Mar 02, 2005 3:00 pm
Besvar, med citat

Been keeping an eye on this post.I've been having this problem with CVS site for a week or so.

Have just updated latest CVS and problem has now resolved.

_________________
gerry @ redgerry.com
redgerry.com - Home of RG_Sports
scottishwomensfootball.co.uk
scottishjuniorfootball.co.uk

RedGerry's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Suse9.3/Apache2.6.8-24.14/MySQL4.0.21Max/PHP4.3.8/CVS on Athlon64
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside ICQ nummer MSN messenger
renshai
Newbie


Indmeldt: Mar 02, 2005
Indlæg: 3
Geografisk sted: st. louis

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Tor Mar 03, 2005 11:27 pm
Besvar, med citat

Okay, this is the error I am getting, none of these solutions have worked so far for me.
and how do you install imagemagick on a 2003 server running iis and php. Sorry, still have my new car smell.

Unable to create thumbnail or reduced size image.

File: d:\prophets\forum4\modules\coppermine\db_input.php - Line: 446

and this

includes\imaging\im.inc
Warning line 44: exec(): Unable to fork [/imagemagick/convert "C:\PHP\uploadtemp\php47.tmp" -quality 80 -antialias -geometry 1280x960 "modules\coppermine\albums\userpics\10002\mlna0019.jpg" 2>&1]
CMS Warning line 49: Error executing ImageMagick - Return value: -1
Cmd line : /imagemagick/convert "C:\PHP\uploadtemp\php47.tmp" -quality 80 -antialias -geometry 1280x960 "modules\coppermine\albums\userpics\10002\mlna0019.jpg"


Warning line 50: unlink(modules/coppermine/albums/userpics/10002/mlna0019.jpg): No such file or directory


renshai's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2003/IIS/ 4.0.23/4.3.9/9.0.1.1
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
Pazu
Nice poster


Indmeldt: Feb 14, 2005
Indlæg: 86

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Fre Mar 04, 2005 6:03 pm
Besvar, med citat

RedGerry wrote:
Been keeping an eye on this post.I've been having this problem with CVS site for a week or so.

Have just updated latest CVS and problem has now resolved.

Any idea what files changed that might have fixed this? Maybe we can hope for a maintenance release sometime soon.


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
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
Phoenix
Site Admin


Indmeldt: Apr 19, 2004
Indlæg: 8598
Geografisk sted: Netizen

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Fre Mar 04, 2005 7:32 pm
Besvar, med citat

I had similar issues on a site I installed a couple of weeks ago - essentially just update all the files in modules/coppermine/..... plus the includes/coppermine directory.
_________________
AdvertisingResources


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
Pazu
Nice poster


Indmeldt: Feb 14, 2005
Indlæg: 86

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Man Mar 07, 2005 2:10 pm
Besvar, med citat

Phoenix wrote:
I had similar issues on a site I installed a couple of weeks ago - essentially just update all the files in modules/coppermine/..... plus the includes/coppermine directory.

I’m having CVS problems, and would prefer not to go the CVS route, anyway. Might you be able to gzip up these directories and e-mail them to me?


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
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
Pazu
Nice poster


Indmeldt: Feb 14, 2005
Indlæg: 86

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Tor Mar 10, 2005 8:37 am
Besvar, med citat

Hm, dead silence…

Oh, well. Any chance of a 9.0.1.2 release at some point?


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
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
Pazu
Nice poster


Indmeldt: Feb 14, 2005
Indlæg: 86

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Tir Mar 15, 2005 3:57 pm
Besvar, med citat

I updated to the latest, html-200503151200/9.0.1.9, and sadly the problem still occurs.

Code:
./includes/imaging/gd2.inc

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


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
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
renshai
Newbie


Indmeldt: Mar 02, 2005
Indlæg: 3
Geografisk sted: st. louis

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Tor Mar 17, 2005 4:10 am
Besvar, med citat

how do you install imagemagick on a IIS/2003 system so that it works with coppermine?

renshai's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2003/IIS/ 4.0.23/4.3.9/9.0.1.1
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
Paganstar
Newbie


Indmeldt: Sep 07, 2005
Indlæg: 24

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Ons Sep 07, 2005 3:52 pm
Besvar, med citat

Ok I am having the same issue as all above.
It is a fresh install of Dragonfly downloaded today from the site. I have all the chmod settings correct

The errors I am getting is
Code:
CMS Warning line 49: Error executing ImageMagick - Return value: 127
Cmd line : convert 'modules/coppermine/albums/userpics/php27Udok' -quality 80 -antialias -geometry 185x231 'modules/coppermine/albums/userpics/10002/epic_lvl.gif'
sh: line 1: convert: command not found

Warning line 50: unlink(modules/coppermine/albums/userpics/10002/epic_lvl.gif): No such file or directory

I have tested this with a .gif, .jpg and .png file. I have made sure all were lower case with no change.
I have heard about a SILLY_SAFE_MODE file but I do not know where it is so I do not know whether it is commented out or not.

Any assistance would be greatly appreciated.


Paganstar's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
OS=Linux/Apache=1.3.33 (Unix)/MySQL=4.0.25-standard/PHP=4.3.11/CPGNuke=9.0.6.0
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
ductsoup
Newbie


Indmeldt: Nov 03, 2005
Indlæg: 2

IndlægTråd: Re: Unable to create thumbnail or reduced size image.
Skrevet: Man Nov 07, 2005 3:49 pm
Besvar, med citat

Not sure if this covers all the issues in this thread but it might help those using GD2 and PHP 4.1.1. For the background check:

http://bugs.php.net/bug.php?id=35060

Here's a workaround. Add two lines to the imaging/gd2.inc file around line 90 ...

Code:
	if ($dest_info[2] == IMAGETYPE_GIF) {
		if (!imagegif($dst_img, $dest_file)) { return -3; }
	} else if ($dest_info[2] == IMAGETYPE_JPEG) {
// PHP 4.1.1 workaround	
		touch($dest_file);
  		chmod($dest_file,0777); 
// 	
		if (!isset($dest_info['quality']) || intval($dest_info['quality']) < 10) $dest_info['quality'] = 85;
		if (!imagejpeg($dst_img, $dest_file, intval($dest_info['quality']))) { return -3; }
	} else {
		if (!imagepng($dst_img, $dest_file)) { return -3; }
	}


ductsoup's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FC2 / 2.0.51 / 5.0.15 / 4.1.1 / 9.0.6.1
Tilbage til toppen
Vis brugerens profil Besøg brugerens webside
Vis ikke tråde ældre end:   
Skriv ny tråd   Besvar indlægget   Printvenlig side     Forum indeksCoppermine Alle tidspunkter er GMT
Gå til side Forrige  1, 2, 3, 4  Næste
Side 3 af 4


Gå til:  
Du kan ikke skrive nye indlæg i dette forum
Du kan ikke besvare indlæg i dette forum
Du kan ikke rette dine indlæg i dette forum
Du kan ikke slette dine indlæg i dette forum
Du kan ikke stemme på afstemninger i dette forum
Du kan ikke tilføje filer i dette forum
Du kan ikke downloade filer fra dette forum

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

Velkommen Gæst

Brugernavn
Kodeord
(Registrer)

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
Side Generering tog 0.3235 sekunder og 19 Database Opkald på 0.0376 sekunder
Memory Usage: 3.37 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy