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: Batch Add: Why Not /userpics?  (Read 2660 times)

0 Members and 1 Guest are viewing this topic.

Ocean

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Batch Add: Why Not /userpics?
« on: April 28, 2004, 02:51:53 am »

Why shouldn't you put your folders to batch add in the /userpics directory?

Just curious.  I'd accidentally done that before seeing that in big red letters, and it worked okay.  Just wondering... I've duplicated my directories outside the /userpics folder and am editing the image paths in phpMyAdmin, so I'm fixing it.

Just wanted to know the reasoning. :)
« Last Edit: April 28, 2004, 03:24:35 am by Ocean »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch Add: Why Not /userpics?
« Reply #1 on: April 28, 2004, 09:28:45 am »

Because there have been reports of strange things happening when you do that before - the stuff you upload there just might colide with the things coppermine does when people upload with the http upload. It's possible to ftp upload to userpics and all goes well for you, but not for others, or problems may arise later.

GauGau
Logged

Ocean

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Batch Add: Why Not /userpics?
« Reply #2 on: May 01, 2004, 02:56:37 pm »

Probably why I didn't run into any issues.  No one uses the site but me. :)

Nonetheless, I've moved them to their own subdirectories outside the userpics folder and edited the paths in MySQL.  Should be okay now. :)
Logged

honna

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Batch Add: Why Not /userpics?
« Reply #3 on: May 04, 2004, 03:33:20 am »

So is it a problem to batchload to the userpics directory if you are the only one
uploading pics ? Or is this only a problem if you have multiple users ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch Add: Why Not /userpics?
« Reply #4 on: May 04, 2004, 07:40:20 am »

You must not ftp-upload to userpics-folder. Don't ask why, just create some other folder(s) within the albums folder and ftp-upload your stuff there.

GauGau
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Batch Add: Why Not /userpics?
« Reply #5 on: May 04, 2004, 11:09:32 am »

The problems that it can cause are varied, and can strike later, so don't do it.

As an added security against these problems, version 1.3 has the userpics folder hidden from the batch add utility, so if you ftp your pics there, you will not be able to batch add them anyway.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 14 queries.