Problem placing files Problem placing files
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.