Welcome, Guest
Username: Password: Remember me

TOPIC: upload dir...

upload dir... 30 Jun 2018 12:14 #15596

  • Frederic
  • Frederic's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
Hello,

I might miss something obvious but I have setteled my upload dir at : [IMAGES]/myfolder

Of course, myfolder exists and is writtable.

But pictures are still uploaded in the default directory : [COM_SITE]/files/...

Is there somethnig else to do for the pictures to go in the right folder ?

Thanks in advance,
Best,
Fred
The administrator has disabled public write access.

upload dir... 04 Jul 2018 11:09 #15598

  • Frederic
  • Frederic's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
Well, I feel very lonely in this forum...

I still face this upload directory problem. I su'rely do something wrong somewhere.

Do I have to empty the current folde first ?

Best,
Fred
The administrator has disabled public write access.

upload dir... 06 Jul 2018 14:07 #15599

  • Frederic
  • Frederic's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
Tried on a fresh new install and the original folder remains the target folder when I upload a picture...

Any idea ?

Admin are you there ?
The administrator has disabled public write access.

upload dir... 06 Jul 2018 19:05 #15600

  • Romkabouter
  • Romkabouter's Avatar
  • Offline
  • Elite Member
  • Posts: 310
  • Thank you received: 131
  • Karma: 48
I haven't actually used that in one of my components, so I a sorry I can not be of any help

[edit]I think I did somewhere, I have put /images/myfolder in the component settings[/edit]
Last Edit: 06 Jul 2018 19:17 by Romkabouter.
The administrator has disabled public write access.

upload dir... 07 Jul 2018 11:10 #15601

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
The upload folder is defined at the level of the uploader instance. You might see it in the JDom parameters of this uploader you want to edit. (Template file)
(Your web application can be using different upload directories in the same time)

Then, you can also have a look on the top of /helpers/file.php
it contains usefull security parameters...
Hope it helps.
Coding is now a piece of cake
Last Edit: 07 Jul 2018 11:11 by admin.
The administrator has disabled public write access.

upload dir... 10 Jul 2018 09:49 #15603

  • Frederic
  • Frederic's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
Sorry, you lost me... :(

What is the settings for? If you need to dig in the code to change the target folder accordingly ?

Best regards,
Fred
Last Edit: 10 Jul 2018 09:52 by Frederic.
The administrator has disabled public write access.

upload dir... 05 Aug 2018 11:50 #15605

  • liubov
  • liubov's Avatar
  • Offline
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
  • Karma: 22
I had exactly the same issue with my first component...

This trouble comes when you start to reccord Datas BEFORE save our own Params. Then the component create default Folder : [COM_SITE]/files/ and store images here (ifexists function)
With a fresh install of your component, if you first set your Images Folder, it works fine.

Marc
Last Edit: 05 Aug 2018 11:51 by liubov.
The administrator has disabled public write access.

upload dir... 27 Aug 2018 12:34 #15607

  • Frederic
  • Frederic's Avatar
  • Offline
  • Senior Member
  • Posts: 56
  • Karma: 0
Hi Marc,
Thank you for your help.
I did try to setup before uploading on a fresh install but problem remained.
For the moment, I use the default folder... :(

Best regards,
Fred
The administrator has disabled public write access.
Time to create page: 0.088 seconds

Get Started