• Resolved dan2077

    (@dan2077)


    I can’t delete any of the photos I’ve uploaded. When I click Delete Photo, a box comes up that says “Are you Sure” Ok or cancel. After I click Ok, it takes me to a white page with this text:

    Are you sure you want to do this?

    Please try again.

    Also, I’ve disabled both video and music uploads and yet links to them still exist in the WordPress toolbar.

    My website is: https://c9daynight.tk

    I was also wondering which folder does all the uploads go to. I’ve been browsing all over my site’s ftp and can’t find them. Thanks in advance for your help.

    https://www.ads-software.com/extend/plugins/buddypress-media/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Saurabh

    (@saurabhshukla)

    Hi,

    The first one, we couldn’t duplicate off-hand. We’ll need to look into this further. I’ll update this thread asap.

    The second is a known issue. We are working on this.

    All the uploads are standard WordPress attachments and go to the wp-content/uploads folder and can be also seen in the Media Gallery.

    Regards.

    Thread Starter dan2077

    (@dan2077)

    Ah I found them, I swear I did not see them in that upload folder before. Thanks for pointing that out. As for the first issue, let me know if you need any information from me to help figure it out. It’s a new site running on a VPS with NGIX HTTP server.

    Plugin Author Rahul Bansal

    (@rahul286)

    It’s a new site running on a VPS with NGIX HTTP server.

    Can you paste your Nginx config here?

    Thread Starter dan2077

    (@dan2077)

    user www-data;
    worker_processes 4;
    pid /var/run/nginx.pid;

    events {
    worker_connections 1024;
    # multi_accept on;
    }

    http {
    ##
    # Basic Settings
    ##

    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;
    keepalive_timeout 2;
    types_hash_max_size 2048;
    # server_tokens off;

    # server_names_hash_bucket_size 64;
    # server_name_in_redirect off;

    include /etc/nginx/mime.types;
    default_type application/octet-stream;

    #access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;
    access_log off;

    gzip on;
    gzip_disable “msie6”;
    gzip_vary on;
    gzip_proxied any;
    gzip_comp_level 6;
    gzip_buffers 16 8k;
    gzip_http_version 1.1;
    gzip_types text/html text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

    ##
    # Virtual Host Configs
    ##
    index index.php;
    ## See here: https://wiki.nginx.org/WordPress

    server {
    ## Your IP number goes here:
    listen 198.147.22.194;

    ## Below 3 lines will redirect non-www to www
    if ($host != ‘c9daynight.tk’ ) {
    rewrite ^/(.*)$ https://www.c9daynight.tk/$1 permanent;
    }

    ## Your website name goes here.
    server_name https://www.c9daynight.tk;
    ## Your only path reference.
    root /var/www/c9daynight.tk;

    location = /favicon.ico {
    log_not_found off;
    access_log off;
    }

    location = /robots.txt {
    allow all;
    log_not_found off;
    access_log off;
    }

    location / {
    # This is cool because no php is touched for static content
    try_files $uri $uri/ /index.php;
    }

    location ~ \.php$ {
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
    }

    location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
    expires max;
    log_not_found off;
    }

    }

    }

    Plugin Author Rahul Bansal

    (@rahul286)

    If you are talking about – https://www.c9daynight.tk/
    Then please note that its not opening at the moment. There is a redirect loop error.

    Please use a service like pastin or gist.github.com to share your config.

    Also, if you can share a URL on which you are getting issue, it will be great.

    Plugin Author Rahul Bansal

    (@rahul286)

    Looks like issue is related to www to non-www redirection.

    Your site is working fine on – https://c9daynight.tk/ (non-www domain)

    I also see media files are working properly on – https://c9daynight.tk/members/ikuinen/photos/548/

    You can check image-url which is https://c9daynight.tk/wp-content/uploads/2013/03/2013_03_13-03_40_40-800×640.jpg

    On server you will be able to locate that file in /wp-content/uploads/2013/03

    Files are stored in /wp-content/uploads/ like normal wordpress attachment. This is what makes other CDN, image-optimiser plugin works with BuddyPress-Media seamlessly!

    For your www redirection issue, you may use my other config – https://rtcamp.com/tutorials/nginx-www-non-www-redirection/

    Thread Starter dan2077

    (@dan2077)

    Thanks a lot for your advice on the redirection issue, https://www.c9daynight.tk now works correctly without issue. I was also able to find all those uploaded images in the upload folder. The problem remains with deleting photos from your personal media gallery. Hopefully the latest update fixed this, but I don’t know yet since that updates breaks my site.

    Latest Nginx config: https://pastebin.com/uAmm4y4B

    Thread Starter dan2077

    (@dan2077)

    The problem with deleting photos still persists. Here’s a screen shot on what it looks like:
    https://img822.imageshack.us/img822/1796/photodelete.jpg

    Thread Starter dan2077

    (@dan2077)

    I’ve tried disabling every other plugin besides buddypress and buddypress media, the same thing happens.

    Thread Starter dan2077

    (@dan2077)

    I just noticed that I can’t delete anything from Activity Steam either, I get the same exact error. Any ideas?

    Edit: Problem disappeared after disabling BP Media.

    Edit2: I deactivated and deleted all files of BP Media and re-downloaded + installed it back. The problem is still there, maybe it’s something in the database? I don’t want to remove the image associations with the users on the site.

    Plugin Author Rahul Bansal

    (@rahul286)

    Please upgrade to rtMedia 3.x for new functionality.

    It might fix your issue.

    For future support, please use – https://rtcamp.com/rtmedia/support/

    Sorry but we do not provide support here anymore.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Can't delete photos’ is closed to new replies.