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: Changing default userpics directory in Windows  (Read 2497 times)

0 Members and 1 Guest are viewing this topic.

Jeremiah

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Changing default userpics directory in Windows
« 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:

Quote
Failed 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-
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Changing default userpics directory in Windows
« Reply #1 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.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing default userpics directory in Windows
« Reply #2 on: August 16, 2005, 07:31:52 am »

You might want to look into 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.