coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: dicka_j on February 20, 2006, 03:09:12 AM

Title: Problem placing files
Post by: dicka_j on February 20, 2006, 03:09:12 AM
Hi All,

My setup is:  php 4.1, safe mode & GD2.0

I was having an issue with uploading photos.  Well, they would upload fine but then it wouldn't be able to place them.

Anywho, after switching notices on I found that the image_jpeg was unable to create the thumbnail file however all permissions were correct!!

It seems that this issue has been mentioned before http://us2.php.net/imageJPEG (http://us2.php.net/imageJPEG), and I implemented a suggested solution of adding a touch command prior to the image_jpeg.

So developers, as it makes no difference to functionality, could you please add:

touch($dest_file);

above line 271 in include/picmgmt.inc.php for the next release?  Might safe a few headaches for those of us who have safemode inflicted apon them...
Title: Re: Problem placing files
Post by: Nibbler on February 20, 2006, 03:25:58 AM
We have a sticky thread about this http://forum.coppermine-gallery.net/index.php?topic=23342.msg107361#msg107361

It may as well go into the next release anyways.