coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Jeremiah on August 15, 2005, 05:45:06 PM

Title: Changing default userpics directory in Windows
Post by: Jeremiah on August 15, 2005, 05:45:06 PM
Hi,

I am trying to change the default userpics directory for my Coppermine install.

I am running a WAMP box, using Apache 2 and Coppermine 1.3.3.  My doc root and all apps are installed on the C: drive, which is a relatively small drive.  So, I threw my database on my D: drive (several times larger then the boot drive).  At the time, I was not sure if coppermine stored images in the database, or just in a directory.

I had uploaded about 20 pictures into cpg, and realized that it was all being stored on the C: drive.  So, I moved the directory over to the D: drive, and set up an alias in Apache.  Worked seemlessly, until I decided to upload another image.  Then, I got the following error:

QuoteFailed to create directory albums/userpics/10001 !


Warning: mkdir() [function.mkdir]: No such file or directory in[...]\htdocs\coppermine\upload.php on line 2192

Anyone have an idea how I can do this?  I know that cpg doesn'st support multiple servers, but can it support a userpics directory that doesn't fall under doc_root?

Thanks-
Title: Re: Changing default userpics directory in Windows
Post by: kegobeer on August 15, 2005, 09:36:13 PM
It does not support directories outside of the document root at this time.  That's why the mkdir command fails.
Title: Re: Changing default userpics directory in Windows
Post by: Joachim Müller on August 16, 2005, 07:31:52 AM
You might want to look into Winbolic (http://www.pearlmagik.com/winbolic/) - it's the Windows equivalent of a symlink in the Unix world. I haven't tested so far, but it might do what you're up to.