• Resolved someonehere15

    (@someonehere15)


    I cannot seem to make the sharing buttons work.
    When I click on each of them, they just open another window loading the same page. I tried reactivating, reinstalling, theme changing, deactivating other plugins, I even restored older VM snapshots and reconnected with wp.com, but still not working.
    I desperately need this working fast because I need it in my prototype. They do work with the official buttons, but that looks too messy, and I would not like to install another plugin for this.
    Can you please help? If you need to check the site let me know, because it is not always active.

    https://wordpress.org/plugins/jetpack/

Viewing 15 replies - 16 through 30 (of 33 total)
  • Thread Starter someonehere15

    (@someonehere15)

    I also just checked the locations.conf file for
    try_files $uri $uri/ /index.php?$args
    and it is present.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    added this temp domain to the nginx conf file, so that the prototype is ready to be migrated in the end.
    I am also using the dynamic siteurl and home values in wp-config.

    Could you try to revert those changes, and let me know if one of these things appear to affect the sharing buttons?

    Thread Starter someonehere15

    (@someonehere15)

    I cannot remove the temp domain from nginx conf because then the site will not be accessible, since the future productive domain is not ready.

    I did change all the SQL references to the current domain, and removed the dynamic variables from wp-config, but still nothing.

    Thread Starter someonehere15

    (@someonehere15)

    server {
    
        server_name example.com www.example.com soziotech.serveblog.net;
    
        access_log /var/log/nginx/example.com.access.log rt_cache;
        error_log /var/log/nginx/example.com.error.log;
    
        root /var/www/example.com/htdocs;
    
        index index.php index.html index.htm;
    
        include  common/wpsc.conf;
        include common/wpcommon.conf;
        include common/locations.conf;
        include /var/www/example.com/conf/nginx/*.conf;
    }

    this is the nginx conf for the site. As I said, I have only added the last temp domain.

    Thread Starter someonehere15

    (@someonehere15)

    I also just checked passing parameters to a phpinfo file in the wp folder, and they show up in the REQUEST_URI variable, so I guess the variables are being passed?

    EDIT: I just tried disabling permalinks in wp, and now it is working. Why is that? can you tell me how to fix this? I need the pretty permalinks of course.

    Thread Starter someonehere15

    (@someonehere15)

    just to be sure, here’s my locations.conf file too, although this is configured by EE and replaced on updates:

    # NGINX CONFIGURATION FOR COMMON LOCATION
    # DO NOT MODIFY, ALL CHANGES LOST AFTER UPDATE EasyEngine (ee)
    # Basic locations files
    location = /favicon.ico {
      access_log off;
      log_not_found off;
      expires max;
    }
    location = /robots.txt {
      # Some WordPress plugin gererate robots.txt file
      # Refer #340 issue
      try_files $uri $uri/ /index.php?$args;
      access_log off;
      log_not_found off;
    }
    # Cache static files
    location ~* \.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|css|rss|atom|js|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf|swf)$ {
      add_header "Access-Control-Allow-Origin" "*";
      access_log off;
      log_not_found off;
      expires max;
    }
    # Security settings for better privacy
    # Deny hidden files
    location ~ /\.well-known {
      allow all;
    }
    location ~ /\. {
      deny all;
      access_log off;
      log_not_found off;
    }
    # Deny backup extensions & log files
    location ~* ^.+\.(bak|log|old|orig|original|php#|php~|php_bak|save|swo|swp|sql)$ {
      deny all;
      access_log off;
      log_not_found off;
    }
    # Return 403 forbidden for readme.(txt|html) or license.(txt|html) or example.(txt|html)
    if ($uri ~* "^.+(readme|license|example)\.(txt|html)$") {
      return 403;
    }
    # Status pages
    location /nginx_status {
      stub_status on;
      access_log off;
      include common/acl.conf;
    }
    location ~ ^/(status|ping) {
      include fastcgi_params;
      fastcgi_pass php;
      include common/acl.conf;
    }
    # EasyEngine (ee) utilities
    # phpMyAdmin settings
    location /pma {
      return 301 https://$host:22222/db/pma;
    }
    location /phpMyAdmin {
      return 301 https://$host:22222/db/pma;
    }
    location /phpmyadmin {
      return 301 https://$host:22222/db/pma;
    }
    # Adminer settings
    location /adminer {
      return 301 https://$host:22222/db/adminer;
    }
    Thread Starter someonehere15

    (@someonehere15)

    So it’s monday again. Any chance you can help me please? I am still desperate about finding a solution for this. No idea why it’s not working.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    just tried disabling permalinks in wp, and now it is working.

    There is definitely something going on with your server configuration, but I can’t seem to figure out why. Could you try to update EasyEngine, and let me know if this changes anything?

    Thread Starter someonehere15

    (@someonehere15)

    I did, and no it didn’t change anything. I haven’t changed anything there, beside the additional domain I added. But none of that should be a problem since everything else works, even the share buttons on the frontpage. Do you need something else?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Could you tell me more about where you deployed EE? Is that a local VM? Do you experience similar issues when trying on a different server?

    Thread Starter someonehere15

    (@someonehere15)

    It is a local VM yes. What do you mean by different server? I only have one VM with this, I don’t have multiple setups or anything.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Could you try to set up a different instance on your machine, using the default EE settings again, and let me know if it changes anything?

    Thread Starter someonehere15

    (@someonehere15)

    Ok, so i tried first with the default settings, and it appeared to have worked, at least the short time I tried.
    But then I updated the site with EE to enable WP super cache, and after that it didn’t work again, even after disabling the WPSC plugin (just disabled from WP, not uninstalled).

    Thread Starter someonehere15

    (@someonehere15)

    And now I just tried removing WPSC from my actual site, and it worked there too. I guess I found the conflict. I don’t necessarily need to use WPSC at the moment, but if it’s not only me, maybe you need to check what the problem is.
    Or maybe EE configures it wrong, i don’t know.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Could you tell me what your WPSC settings were, so I can try to reproduce?

Viewing 15 replies - 16 through 30 (of 33 total)

The topic ‘Sharing buttons not working’ is closed to new replies.