forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: lamer on April 14, 2006, 04:17:34 pm
-
Hi there,
another problem today:
is it possible to let coppermine save the uploaded files (html-interface,xp-publisher) to a seperate subfolder for each person or album?
so you have userpics/"username"/ or userpics/"albumname"/ or, best would be, userpics/"categorie"/"album"/"user"/
i ask myself, if that wouldn't be very practicable for the next release?
hundrets of files in the userpics-folder aren't very comfortable.
thanks
-
if php doesn't run in savemode then coppermine's already doing that
-
thank you for your answer,
it actually is running in safemode, an neither the one nor the other provider has save mode on (the one wants me to pay for it, the other one doesn't want to activate it, for what reason i don't know.
i'm searching for another way to activate it, so lets say i make the subfolders for every person an let the php skript put it into the right folder for every user-id.
-
Remove the SILLY_SAFE_MODE define from include/config.inc.php if you are not in safe mode.
-
it IS running in safemode and the server is also!
so there no way, i think?
-
Remove the line and see what happens.
-
the folder 10001 is created, but it says the file couldn't be added (web interface). 10001 is 777, so that's not the problem
-
is there nothing i can do without safemode beeing off?
thats really sad :-\
maybe there is another solution (that: http://forum.coppermine-gallery.net/index.php?topic=28374.0 would help also)
-
safe mode sucks - the whole point of safe mode is that the user can't do everything. Coppermine is built to offer a workaround (no folders being created for different users on upload, but all files go into userpics folder). This is not the daefualt behaviour of coppermine, but a workaround for people on cheap webspace like you seem to be. Nothing to be changed for future versions, as coppermine's default behaviour is just fine. If this bothers you, get better webhosting.
-
you are partially right, the one webspace is really stupid, safe_mode=off will cost 25€.
but the other, all-inkl, is know as one of the best in germany, and they won't enable it at all (for safety reasons).
so it's ok if there's no way, thank you for your help.