Changing default userpics directory in Windows Changing default userpics directory in Windows
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Changing default userpics directory in Windows

Started by Jeremiah, August 15, 2005, 05:45:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jeremiah

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-

kegobeer

It does not support directories outside of the document root at this time.  That's why the mkdir command fails.
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

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.