× Joomla Facebook Connect support forum

Topic-icon Send Button problems

Active Subscriptions:

None
14 years 1 month ago #21943 by deepavaith
Hi,
I'm setting up the social media portion of my site. When I use the JFBCLike with show_send_button=true, I am not
able to display the send button any more. So, I tried using the JFBCSend - I am getting an error while trying to send
to friends on FB. There is nor error message. This is my URL
s374370321.onlinehome.us/VMSEF/virtuemar...cellaneous-p-185-101
I am using Joomla 1.5

Thanks,
Deepa
The topic has been locked.
Support Specialist
14 years 1 month ago #21958 by alzander
Replied by alzander on topic Send Button problems
Deepa,
There are a few issues that may or may not be related to the problem, but that will need to be fixed first.
1) The page you linked to is showing a 404 error. Can you link to a page that is active?
2) I went to another page on your site, within Virtuemart. If you open the HTML on any page, at the very top, there are some CSS styles declared before anything else, including the opening HTML element. That's improper coding, and you'll need to remove or fix those CSS statements so they show properly within the HTML. It's possible these out of line styles are causing problems with Facebook seeing and parsing your page.

Hope that helps get you started. Once you have a page that works and the CSS styles are fixed, let me know. Please enable the Send button, either inside the Like tag, or with the JFBCSend tag, and we can help debug further.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 1 month ago #21999 by deepavaith
Replied by deepavaith on topic Send Button problems
Thanks a lot! I've removed the css styling, but the send button error remains.
You can try it on any product in the s374370321.onlinehome.us/VMSEF/virtuemart/ page
Deepa
The topic has been locked.
Support Specialist
14 years 1 month ago #22028 by alzander
Replied by alzander on topic Send Button problems
The problem is the HTML markup of your page. You have 2 opening <html> tags on the page. One at the very top (where it should be) and another about half-way down the page. That extra html tag is confusing Facebook, and it's likely preventing the Send button from working.

Please find and remove that extra html tag, and try again. Let us know if that does, or doesn't, help.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 1 month ago #22031 by deepavaith
Replied by deepavaith on topic Send Button problems
Sorry that didn't work either.
I'm new to Joomla, so I the tags keep popping up from different places
and I didn't know I should look for it! Thanks for your prompt responses-it really helps.

Thanks,
Deepa
The topic has been locked.
Support Specialist
14 years 1 month ago #22051 by alzander
Replied by alzander on topic Send Button problems
Hate to point out one more thing, but it's a biggie. You have 2 opening body and 2 closing body tags. The general document flow should look like:
<html>
  <head>
  </head>
  <body>
  </body>
</html>
You have 2 extra body's in the middle:
<html>
  <head>
  </head>
  <body>
     <body onload="document.getElementById('main-shift').style.marginLeft='0px';"> <--- Bad
        <div class="productdetails-view" >
        .... </div>
     </body> <--- Bad
  </body>
</html>
I can't guarantee that removing the extra body tags will fix things, but they will help in many other ways by ensuring the page is shown right in all browsers, and able to be properly indexed by search engines.

Fix those, and let us know if you still have issues, and we can investigate further.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 1 month ago #22054 by deepavaith
Replied by deepavaith on topic Send Button problems
Sorry about that Alex :(
Still not working though - appreciate your help and patience immensely!

Deepa
The topic has been locked.
Support Specialist
14 years 1 month ago #22058 by alzander
Replied by alzander on topic Send Button problems
Deepa,
No problem. HTML looks much better. Now, there's a few other (hopefully easy) things to fix up. It looks like the issue now is simply an SEF (pretty URL) issue. If you run your page through the URL debug tool from facebook, you'll see there's a redirect loop:
developers.facebook.com/tools/debug/og/o...%2Fmassage-p-192-103

First, can you try disabling whatever SEF extension you're using, re-navigate to the page, and try again.
If that works, then try re-arranging the JFBCSystem plugin to be either ordered at the first position (usually 0) or the last position in the Plugin manager. One will hopefully fix your issue. You'll need to clear your Joomla cache after each change, and then test again.

Please let us know how that goes,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 1 month ago #22082 by deepavaith
Replied by deepavaith on topic Send Button problems
Hi!
I tried both - it doesn't work. The link for the non-sef url is s374370321.onlinehome.us/TriBuyMar24/virtuemart - the send
button does not work form there either.
The order is 0 for all JFBC plugins when I log in as administrator - it's been that way since installation.

Thanks,
Deepa
The topic has been locked.
Support Specialist
14 years 1 month ago #22086 by alzander
Replied by alzander on topic Send Button problems
Deepa,
That's not a non-SEF URL. When all SEF is turned off, your URLs should look like:
site.com/index.php?option=com_virtuemart&view=....

Can you disable SEF URLs in both the Joomla Global Configuration area and also in any additional extensions you may have (sh404SEF, AceSEF, etc) that you may have?

Finally, can you try moving the ordering of the JFBCSystem plugin to the highest (100, 200, etc) number so it's at the bottom of the list and try again?

Thanks,
Alex
The topic has been locked.