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: A few questions  (Read 2725 times)

0 Members and 1 Guest are viewing this topic.

EricMagnus

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
A few questions
« on: May 18, 2004, 09:02:31 pm »

My web host, doesn't allow scripts to run in a folder in the WWW area with writable permissions .  Do the 2 folders that you CHMOD to 755 run scripts in them?

My host will set up a virtual directory that will point to a dir out of my WWW area?  Would that work?

Any help would be appreciated.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: A few questions
« Reply #1 on: May 19, 2004, 09:13:05 am »

should be working (never tried actually): if your webhost sets up a "virtual dir" (i.e. a symlink or shortcut) this should be enough. It's recommended that the virtual dir is within the coppermine folder (preferably even called "albums", just to be on the safe side).

GauGau
Logged

EricMagnus

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: A few questions
« Reply #2 on: May 19, 2004, 03:34:44 pm »

IM completely new to this, and my host is no help.  Are scripts executed out of the album or include folders? Or are they just writen to?  Any help would be appreciated.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: A few questions
« Reply #3 on: May 19, 2004, 04:18:22 pm »

there are no scripts executed in the albums dir (in fact, there are none in it), coppermine only needs write access there because that's the place where the intermediate pics and thumbnails get stored.

GauGau
Logged

EricMagnus

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: A few questions
« Reply #4 on: May 19, 2004, 06:45:41 pm »

and the include folder?  there are scripts in it.  Do they get executed there or are the read from a different script?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: A few questions
« Reply #5 on: May 20, 2004, 06:10:20 am »

you need write access in the include script only once during installation (and after that you won't need write access there anymore). The scripts in the include dir get executed, but if you can't establish write access on this dir, you can manually create a file in it called config.inc.php (for the contents of this file, refer to the file config.inc.php.sample that comes with the package). The installer also creates a file called install.lock in the include dir once the install was successfully run. This file disables the installer to be run a second time. As a workaround, you can create the file include/install.lock manually or delete the installer (install.php in the coppermine root directory) manually.
I think this discussion is very theoretical, why don't you go ahead and just try; report back if you encounter any problems.

GauGau

Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 14 queries.