• Resolved bchavez.gd

    (@bchavezgd)


    I installed this plugin yesterday (2016-11-01), trying to make the following notification/warning go away.

    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.

    i changed the permissions of wp-content/banners to match the wp-content folder, then reactivated the plugin, but the issue persists. i’ve did this after reading the thread below and a thread on https://ajdg.solutions/forums. i believe it may be my sysadmin restricting ftp access of wordpress for security reasons. if this is the case i’d rather turn off the persistent error message and not use the banners folder at all.

    https://www.ads-software.com/support/topic/error-message-wp-contentbanners/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Arnan de Gans

    (@adegans)

    AdRotate looks if the folder exists and if it’s writable.
    If it’s not, the error shows. This is not related to FTP usage.

    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, 11 months ago by eleb.

    Hello,

    I can’t make this message go away either.

    I’ve tried permissions 644
    (https://ajdg.solutions/forums/topic/adrotate-banner-folder-is-not-writable/)

    and I’ve tried permissions 755
    ()

    And I’ve tried creating, and setting, the folder in a new location (also with 644, and 755).

    No matter what–the message will not go away.

    I’d actually like to start using the folder instead of the WP Media folder.

    But when I try to create an ad and set media from the AdRotate Pro banner folder there is a drop down that says:

    No files selected
    – No files found

    So, I don’t know how to get this working, nor how to get banners into the folder this is having issues with.

    Chris

    Since making the folder writable won’t make the message go away, I fixed it another way.

    Add this to your CSS:

    .ajdg_notification {
    display: none!important;
    }

    Spoke too soon–this works in the console, but not in practice.

    This post recommends permissions 0644:
    https://ajdg.solutions/forums/topic/adrotate-banner-folder-is-not-writable/

    I’ve also tried the same as wpcontent 0755 = fail.

    A nice code revision would be to disable this notice if users are not using the banners folder.

    When clients look at the back end of their sites they see this and must wonder about our skill sets at not being able to make the message go away.

    • This reply was modified 7 years, 4 months ago by SmileWP.

    Hi,

    I had the same problem today.

    After I changed UID (Chown) from Apache to Admin, the message was gone.

    SmileWP

    (@anotheropus)

    New site – same issue.

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

    The only thing that made the unnecessary warning go away was creating the non-existent banners folder in /wp-content/ and then setting it to 0777.

    How secure is that folder now?

    How about a checkbox: Do you want to use a banners folder? [_] Yes.
    (If unselected you will not get the warning message)

    That would create fewer issues for users as well as the developer.

    SmileWP

    (@anotheropus)

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

    SOLUTION

    Use SSH and change the ownership to the CPanel user for that install.

    Or, ask your support host to do that.

    =======================================================

    OR

    How about a checkbox: Do you want to use a banners folder? [_] Yes.
    (If unselected you will not get the warning message)

    =======================================================

    BTW — of course 0777 is not secure.

    Our host support changed ownership to the Cpanel user, set permissions to 755, and the unnecessary warning message is now gone.

    Per our support tech he did not know of any way to do this in Cpanel. And in SFTP I could only change file permissions–not ownership.

    He shared this article:

    https://help.liquidweb.com/s/article/Logging-into-Your-Server-via-Secure-Shell-SSH?name=Logging-into-Your-Server-via-Secure-Shell-SSH&fromCase=1

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘persistent error message.’ is closed to new replies.