Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author webaware

    (@webaware)

    G’day marinkom,

    I just had one of those “oh shit!” moments, but I checked in my test environment and it all seems OK. Can you please tell me:

    • WordPress version, and single or multisite
    • NextGEN Gallery / NextCellent Gallery version
    • membership / content restriction plugins
    • security / antimalware plugins

    cheers,
    Ross

    Thread Starter marinkom

    (@marinkom)

    Hi Ross,

    Sorry about the panic attack!
    I use the following.
    Wordpress 3.8.3 Single site
    NextCellent Gallery 1.9.20
    No restriction plugins
    No security plugins

    I set up the users as Subscribers, and this worked fine until I upgraded both NextGen Download and NextCellent Gallery to the versions above yesterday.

    Thanks for the quick response,
    Marinko

    Thread Starter marinkom

    (@marinkom)

    Hi Ross,

    Sorry about the panic attack!
    I use the following.
    Wordpress 3.8.3 Single site
    NextCellent Gallery 1.9.20
    No restriction plugins
    No security plugins

    I set up the users as Subscribers, and this worked fine until I upgraded both NextGen Download and NextCellent Gallery to the versions above yesterday.

    Thanks for the quick response,
    Marinko

    Plugin Author webaware

    (@webaware)

    G’day Marinko,

    Can you post a link to the site please? If that’s a problem, please send me a link through my contact page. I have tested and it seems OK here, so I’d like to look at the site it’s happening on.

    cheers,
    Ross

    Thread Starter marinkom

    (@marinkom)

    Sending you details through the contact form now.
    Cheers,
    Marinko

    Thread Starter marinkom

    (@marinkom)

    I forgot to mention that it does a redirect to the home page when it fails, but when logged in as an administrator, it downloads and stays on the same page.

    Thread Starter marinkom

    (@marinkom)

    I have just spotted something that I did in “gallery-download.php”
    Let me try reverting a change I did, and see what happens?

    I hope I haven’t stuffed it, and wasted your time??

    I’ll test now.

    Thread Starter marinkom

    (@marinkom)

    Nope, that hasn’t fixed it.
    Now its your version, with just the button text changed.

    I will leave it alone now.

    Plugin Author webaware

    (@webaware)

    G’day Marinko,

    Got your email, thanks. I can see that it all works OK if I use the old AJAX interface to call the files up, but not if I use the new admin-post.php endpoint. I’m wondering: do you have any security rules in your .htaccess that might be preventing anything but admin-ajax.php from being called from the front end?

    I might need to revert the admin-post.php change to admin-ajax.php again if this is a problem. It doesn’t buy me much, I just thought it might be a minor improvement, but not if it’s causing problems.

    cheers,
    Ross

    Thread Starter marinkom

    (@marinkom)

    Hey Ross,
    Here is the .htaccess for the site.
    Cheers,
    Marinko

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Plugin Author webaware

    (@webaware)

    G’day Marinko,

    Nup, nothing there. I think the best thing is if I revert that particular change. I can’t see why it’s causing you grief, and have tested on a few different server scenarios without replication, but it isn’t buying me anything so it’s coming out.

    To get you back up and working, please replace v1.4.0 with this alpha test version. I’ll set about releasing 1.4.1 shortly, but I want to make some text changes to the readme while I’m at it, so it could take some time (and dinner isn’t going to cook itself either!)

    https://dl.dropboxusercontent.com/u/26305751/nextgen-download-gallery-1.4.1-alpha1.zip

    cheers,
    Ross

    Plugin Author webaware

    (@webaware)

    Also, for my own benefit now, are you able to grab the server error logs to see if anything of interest was logged?

    cheers,
    Ross

    Thread Starter marinkom

    (@marinkom)

    Hi Ross,

    Thanks so much for your help, it is greatly appreciated.
    I love the plug-in. Its so awesome for this website, that I built for my best mate.

    I will get the new version going, and let you know how I go.
    I will also see what i find in any logs.

    Now go and get some dinner sorted out… The stomach is a number 1 priority.

    Kind Regards,
    Marinko

    Thread Starter marinkom

    (@marinkom)

    Hi Ross,

    That works beautifully!

    I have already done my mods to the gallery-download.php template, to style it for the site, so my mate should be happy its going again.

    I don’t have a lot of access to the hosting, but let me know which logs you want me to have a look at, and I will see what I can get.

    Cheers,
    Marinko

    Plugin Author webaware

    (@webaware)

    Excellent, I’ll get an official 1.4.1 out tonight. You’ll be able to just update from the plugins admin page.

    If you can, please grab me a copy of the error_log from the hosting account (generally under Logs in cPanel or Plesk). It might give me a clue as to why it failed on your mate’s site. I’ll reply to your contact form email so you can just email me the log file if you find it.

    I’m not wedded to using admin-post.php, but I do use it in about three other plugins so I wouldn’t mind knowing what’s going on.

    cheers,
    Ross

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Only Administrator can download?’ is closed to new replies.