[resolved] Banner directory is not read properly (3 posts)

  1. Beee
    Posted 3 years ago #

    I have my site in a subdirectory, so all WP files are located in http://www.domain.com/cms/.

    Since the upgrade the banner directory can not be changed anymore, so it should be at http://www.domain.com/cms/wp-content/banners (which it already was).

    If I now want to add a banner, I can't choose any images from the dropdown even though several banners are in that location.

    If I check the source code of adding/editing a banner I see the following:

    Banner folder: <select tabindex="9" name="adrotate_image_dropdown" style="min-width: 200px;">
       						<option value="">No image selected</option>
    						<br />
    <b>Warning</b>:  opendir(/home/user/domains/domain.com/public_html//wp-content/banners/) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory in <b>/home/user/domains/domain.com/public_html/cms/wp-content/plugins/adrotate/adrotate-functions.php</b> on line <b>719</b><br />

    I'ld like to keep using that feature. I've tried searching the code myself to correct it but wasn't able to find it (yet).


  2. Beee
    Posted 3 years ago #

    When I deactivating, deleted and reinstalled the plugin, all my banners/setting/stats were gone.

    So I killed all database entries and reactivated the plugin.
    I tried to add a new banner, but the same error came up.

    Hope you can tell me where to fix it for now, since I don't want the banners in the normal mediagallery.

  3. Arnan de Gans
    Plugin Author

    Posted 3 years ago #

    This has been resolved for the next version

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AdRotate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic