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: The previous file could not be placed.  (Read 5181 times)

0 Members and 1 Guest are viewing this topic.

mookoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • Manx Visions
The previous file could not be placed.
« on: December 01, 2006, 11:02:18 pm »

Ok - I know this is well documented but I have a problem. Uploads do work fine if you set coppermine to single uploads only so there's surely no point doing this. If I set the upload boxes to 2 or more on the groups screen I then run into upload problems. I am using GD2 and as far as I am concerned I have edited PHP.ini and increased the necessary settings to allow for more time and bigger uploads. I run my own server with Win 2003, IIS6, PHP 5 & MYSQL 5.

The actual upload works fine and I can see the images in the albums folder. It's placing the images where I get the error. Also when I set the upload boxes to 2 or more I can't seem to get any expanded error info other than "The previous file could not be placed".

My site is www.manxvisions.com and I have set up a user "test" password "1234"

Thanks
« Last Edit: December 06, 2006, 06:28:23 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: The previous file could not be placed.
« Reply #1 on: December 02, 2006, 06:43:02 am »

Turn admin approval off temporarily.
Logged

mookoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • Manx Visions
Re: The previous file could not be placed.
« Reply #2 on: December 02, 2006, 08:06:16 pm »

Done.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: The previous file could not be placed.
« Reply #3 on: December 03, 2006, 10:31:10 am »

OK, this worked as expected (http://manxvisions.myphotos.cc/displayimage.php?pos=-299). Now please set the number of upload fields to "2".

Actual gallery URL is http://manxvisions.myphotos.cc/, not http://www.manxvisions.com/ - what URL do you have set up in Coppermine's config?
Logged

mookoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • Manx Visions
Re: The previous file could not be placed.
« Reply #4 on: December 03, 2006, 12:35:05 pm »

Ok - uploads now changes to 2.

I do have the gallery URL set to http://manxvisions.myphotos.cc/.  I have framed forwarding from www.manxvisions.com and use dyndns to resolve my dynamic IP address at home. The server is in my bedroom  ;)

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: The previous file could not be placed.
« Reply #5 on: December 04, 2006, 03:15:15 am »

Ah, the joys of self-hosting. What operating system (Windows, Linux, other) and webserver (IIS, Apache, other) do you have?
Logged

mookoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • Manx Visions
Re: The previous file could not be placed.
« Reply #6 on: December 04, 2006, 02:54:09 pm »

Hi - I did mention this in my first post - I have  Win 2003 Std, IIS6, PHP5 & MySQL 5.

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: The previous file could not be placed.
« Reply #7 on: December 04, 2006, 09:11:32 pm »

OK, sorry. Please review your permissions on the albums folder as suggested in the docs - it looks to me as if there's a permission issue.
Logged

mookoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • Manx Visions
Re: The previous file could not be placed.
« Reply #8 on: December 04, 2006, 11:16:25 pm »

permissions set to read, write on albums and all sub folders. I've also just added read + execute too but it made no difference  :(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: The previous file could not be placed.
« Reply #9 on: December 05, 2006, 05:30:07 am »

For what user?
Logged

mookoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • Manx Visions
Re: The previous file could not be placed.
« Reply #10 on: December 05, 2006, 09:55:09 pm »

For the internet guest account.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: The previous file could not be placed.
« Reply #11 on: December 05, 2006, 11:01:21 pm »

I_USR?
Logged

mookoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • Manx Visions
Re: The previous file could not be placed.
« Reply #12 on: December 05, 2006, 11:07:26 pm »

Yes - correct
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: The previous file could not be placed.
« Reply #13 on: December 05, 2006, 11:09:59 pm »

OK, do you explicitely have set "denied" to a particular group or user then?
Logged

mookoo

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
    • Manx Visions
Re: The previous file could not be placed.
« Reply #14 on: December 06, 2006, 01:03:14 am »

Sorted!!!   ;D

Although I have read, right perms for the internet guest account, there is a further setting in the advanced section which specifically allows "create files". I checked the box and it's sorted.

Thanks for pointing me in the right direction. This may well be useful for others with their own II6 configs.

Cheers
Logged

antoniojeldres

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: The previous file could not be placed.
« Reply #15 on: December 14, 2006, 07:58:29 pm »

Hi,

Sorry to bother you, but I have the same problem as you did, you said that you fixed it " further setting in the advanced section which specifically allows "create files"

Can you please direct me where are those settings?

Thanks in advance

Antonio.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: The previous file could not be placed.
« Reply #16 on: December 15, 2006, 08:49:43 am »

Start a thread of your own, doing exactly as suggested in the uploads troubleshooting section of the docs.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.