WordPress.org

Ready to get started?Download WordPress

Forums

rtMedia for WordPress, BuddyPress and bbPress
[resolved] Can't delete photos (12 posts)

  1. dan2077
    Member
    Posted 1 year ago #

    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: http://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.

    http://wordpress.org/extend/plugins/buddypress-media/

  2. Saurabh Shukla
    Member
    Plugin Contributor

    Posted 1 year ago #

    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.

  3. dan2077
    Member
    Posted 1 year ago #

    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.

  4. rahul286
    Member
    Plugin Author

    Posted 1 year ago #

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

    Can you paste your Nginx config here?

  5. dan2077
    Member
    Posted 1 year ago #

    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: http://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 ^/(.*)$ http://www.c9daynight.tk/$1 permanent;
    }

    ## Your website name goes here.
    server_name http://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;
    }

    }

    }

  6. rahul286
    Member
    Plugin Author

    Posted 1 year ago #

    If you are talking about - http://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.

  7. rahul286
    Member
    Plugin Author

    Posted 1 year ago #

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

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

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

    You can check image-url which is http://c9daynight.tk/wp-content/uploads/2013/03/2013_03_13-03_40_40-800x640.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 - http://rtcamp.com/tutorials/nginx-www-non-www-redirection/

  8. dan2077
    Member
    Posted 1 year ago #

    Thanks a lot for your advice on the redirection issue, http://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: http://pastebin.com/uAmm4y4B

  9. dan2077
    Member
    Posted 1 year ago #

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

  10. dan2077
    Member
    Posted 1 year ago #

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

  11. dan2077
    Member
    Posted 1 year ago #

    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.

  12. rahul286
    Member
    Plugin Author

    Posted 1 year ago #

    Please upgrade to rtMedia 3.x for new functionality.

    It might fix your issue.

    For future support, please use - http://rtcamp.com/rtmedia/support/

    Sorry but we do not provide support here anymore.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.