Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Problem placing files  (Read 2313 times)

0 Members and 1 Guest are viewing this topic.

dicka_j

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Problem placing files
« 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, 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:

Code: [Select]
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...
« Last Edit: February 20, 2006, 03:26:08 am by Nibbler »
Logged

Nibbler

  • Guest
Re: Problem placing files
« Reply #1 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.