News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

utf8 sharing problem

Started by peete, August 04, 2013, 23:10:09 PM

Previous topic - Next topic

peete

I use vm 2.0.12f. I want to share my product via facebook but i can't. The link when tha facebook show is fake because not valid. I try the validator.w3.org and i found a problem whyich connection with the sharing problem. The validator show this errors:

No Character Encoding Found! Falling back to UTF-8
None of the standards sources gave any information on the character encoding labeling for this document. Without encoding information it is impossible to reliably validate the document. As a fallback solution, the "UTF-8" encoding was used to read the content and attempt to perform the validation, but this is likely to fail for all non-trivial documents.

Unable to Determine Parse Mode!

The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions). For this document, the information available was not sufficient to determine the parsing mode unambiguously, because:

    the MIME Media Type (text/html) can be used for XML or SGML document types
    No known Document Type could be detected
    No XML declaration (e.g <?xml version="1.0"?>) could be found at the beginning of the document.
    No XML namespace (e.g <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">) could be found at the root of the document.

As a default, the validator is falling back to SGML mode.

No Character encoding declared at document level

No character encoding information was found within the document, either in an HTML meta element or an XML declaration. It is often recommended to declare the character encoding in the document itself, especially if there is a chance that the document will be read from or saved to disk, CD, etc

I don't understand it. What the problem. Which file is wrong or how can I fix this error. Please tell me the solution and if I need change some line of php files please write detailed specification.
Thanks

Maxim Pishnyak

I have no idea how do you deal with your shop and FB. But there is a related thread in FAQs of Template forum section. Check it, please.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

peete

Dear Maxim!

Thanks fou your suggestion but I don't know how can I search this problem. I try some changes but I can't find the solution. This is the main reason that I wrote this post.

Maxim Pishnyak

#3
Did you find and read mentioned by me thread?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

peete

No I didn't found the perfect thread. I didn't know which topic have been perfect. I think my problem is a very specific problem and I hope this forum give me the solution.

Maxim Pishnyak

Quote from: Maxim Pishnyak on August 05, 2013, 12:11:44 PM
But there is a related thread in FAQs of Template forum section. Check it, please.
Are you ok?
Template forum section here
http://forum.virtuemart.net/index.php?board=130.0
Template FAQs in the Template forum section here
http://forum.virtuemart.net/index.php?board=137.0
Thread "Virtuemart 2 & Open Graph - Facebook share" in the Template FAQs in the Template forum section here
http://forum.virtuemart.net/index.php?topic=102032.0
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

PRO

you want just a regular share link?

<?php $sharelink=JURI::current();
?>
<div class="fbookwrap"><a class="fbooklink none" title="Share on Facebook" href="http://www.facebook.com/share.php?u=<?php echo $sharelink ?>" target="_blank"></a></div>