coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: mookoo on December 01, 2006, 11:02:18 PM

Title: The previous file could not be placed.
Post by: mookoo 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
Title: Re: The previous file could not be placed.
Post by: Joachim Müller on December 02, 2006, 06:43:02 AM
Turn admin approval off temporarily.
Title: Re: The previous file could not be placed.
Post by: mookoo on December 02, 2006, 08:06:16 PM
Done.
Title: Re: The previous file could not be placed.
Post by: Joachim Müller 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?
Title: Re: The previous file could not be placed.
Post by: mookoo 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  ;)

Title: Re: The previous file could not be placed.
Post by: Joachim Müller 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?
Title: Re: The previous file could not be placed.
Post by: mookoo 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.

Title: Re: The previous file could not be placed.
Post by: Joachim Müller 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.
Title: Re: The previous file could not be placed.
Post by: mookoo 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  :(
Title: Re: The previous file could not be placed.
Post by: Joachim Müller on December 05, 2006, 05:30:07 AM
For what user?
Title: Re: The previous file could not be placed.
Post by: mookoo on December 05, 2006, 09:55:09 PM
For the internet guest account.
Title: Re: The previous file could not be placed.
Post by: Joachim Müller on December 05, 2006, 11:01:21 PM
I_USR?
Title: Re: The previous file could not be placed.
Post by: mookoo on December 05, 2006, 11:07:26 PM
Yes - correct
Title: Re: The previous file could not be placed.
Post by: Joachim Müller on December 05, 2006, 11:09:59 PM
OK, do you explicitely have set "denied" to a particular group or user then?
Title: Re: The previous file could not be placed.
Post by: mookoo 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
Title: Re: The previous file could not be placed.
Post by: antoniojeldres 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.
Title: Re: The previous file could not be placed.
Post by: Joachim Müller 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.