• Resolved akedv

    (@ak71)


    Hi,

    there is an error message on sites where a different foldername instead of wp-content is being used:

    AdRotate has detected one issue that requires your attention:
    » Your AdRotate Banner folder is not writable or does not exist. Set up your banner folder.

    so the wp-content folder name seems to be hardcoded somewhere, not good…

    https://wordpress.org/plugins/adrotate/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theunknown1

    (@deexgnome)

    Jeah same error message here.. can’t get rid of it.

    Plugin Author Arnan de Gans

    (@adegans)

    If you see that message, AdRotate can’t read or find that folder.

    Create a folder named ‘banners’ in wp-content and make sure it’s readable for plugins.
    usually mimicking the wp-content permissions works just fine. Otherwise 0644 for permissions should do.

    Thread Starter akedv

    (@ak71)

    I know that works, but for security reasons some people change the name of the wp-content folder to something else, and a well programmed plugin should cope with that flawless.

    would be great if you could fix that hardcoded wp-content path in your plugin!

    Plugin Author Arnan de Gans

    (@adegans)

    In AdRotate Pro you can move the banner folder to any location on your domain.
    In AdRotate Free it has to stay in wp-content, where-ever you put the wp-content folder is up to you.

    The path is set/determined with WordPress functions, so not hardcoded.

    This is sadly very annoying, because i renamed the wp content folder for security purposes.

    Plugin Author Arnan de Gans

    (@adegans)

    Hmm, i’ll look into that to make it more flexible.

    same problem with the folder, pls fix this … thanks.

    Hello,

    To fix this problematic issue with no further changes to your configuration, additional creation of folders, or anything you don’t want to do, remove this piece of code:

    if(!is_writable(ABSPATH.$adrotate_config['banner_folder'])) {
    $error['banners_folder'] = __('Your AdRotate Banner folder is not writable or does not exist.', 'adrotate-pro').' <a href="https://ajdg.solutions/manuals/adrotate-manuals/manage-banner-images/?utm_campaign=adrotate-manual&utm_medium=dashboard-notification&utm_source=adrotate-free" target="_blank">Set up your banner folder</a>.';
    }

    From line 680 (aprox) in file wp-content/plugins/adrotate/adrotate-output.php

    Hope this helps. Cheers!

    • This reply was modified 7 years, 3 months ago by eleb.

    Works great now with the latest version … thank you 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error message wp-content/banners’ is closed to new replies.