Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1321441

    I have the habit of changing the default WP uploads folder location, but every single time I do this when Enfold is my active theme, it triggers the avia-footer-scripts issue (infinite creation of JS files with unique names in the <WP uploads>/dynamic_avia folder). I was able to narrow the cause down to this WP setting after multiple tests (WP Settings > Media > Store uploads in this folder).

    Yes, I’ve tried disabling merging and compression of JS and even CSS files, as well as played with all the “unique timestamps” options (disable adding unique timestamps only; fix WP bug, add unique timestamps; and fix WP bug, disable unique timestamps). None of these “solutions” seem to work for me, and I’ve tried them all on at least three different WP instances (clean installs, BTW).

    Also, I don’t want to have to mess with any of the theme’s core JS files as I administer multiple WP/Enfold sites and it’s just not feasible for me to keep track of these modifications every time I upgrade the theme.

    #1321619

    Hey,

    Thanks for contacting us!

    Which plugin are you using to change uploads folder location? We would like to try to reproduce the issue on our local installations first and if we cannot, then you could create a testing installation for us.

    Best regards,
    Yigit

    #1321686

    Hey Yigit, thanks for your response.

    I’m using WP’s settings to do this (Settings > Media > Store uploads in this folder) – no plugin involved.

    If it helps to reproduce the issue: I create the directory in my WP root folder with 755 permissions and then point to it using the above setting.

    #1321758

    Hey,

    Which version of WordPress and Enfold are you currently using? That option seems to be deprecated in WP 4.9.8. Could you please refer to this post – https://www.webnots.com/change-default-media-upload-folder-wordpress/ to change upload location and check if you still have the issue with this solution?

    Regards,
    Yigit

    #1321817

    WP version: 5.8.1
    Enfold version: 4.8.2

    It’s interesting… I remember having that issue one time when I wasn’t able to find the option to change the Uploads folder in WP’s UI; and I remember bringing it back by setting the upload_path field to 1 in the wp_options table in the WP DB. In any case, I can see this setting in the UI in all my new WP instances. I always use Installatron to install WP, maybe this setting is preset in there by default.

    I will try your suggestion and use the UPLOADS constant in wp-config.php on a clean WP install and let you know how it goes.

    image host

    image host

    image host

    • This reply was modified 3 years, 6 months ago by Enfoldio.
    #1321994

    Hi Yigit,

    Setting the Uploads folder location in wp-config.php seems to have done the trick. It’s been a few hours already and so far so good.

    Even though I can still see the default wp-content/uploads path in WP Settings > Media, my uploads are being stored in the correct place, which is the folder I defined in wp-config.php.

    Thank you for your help.

    #1322498

    Hi Enfoldio,

    Thanks for the update and glad it seems to be working :)

    Would you like us to keep the thread open longer or is everything fine with dynamic_avia folder?

    Best regards,
    Yigit

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.