Problem placing files Problem placing files
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Problem placing files

Started by dicka_j, February 20, 2006, 03:09:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dicka_j

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, 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...

Nibbler

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.