[fixed] Server error are related to vm2share

More
11 years 3 months ago - 11 years 3 months ago #15871 by marvelhezki
Dear support,
I am using Google admin tools for my website : ampmparts.com
Google is Crawl the website and all my server error are related to "plugins/content/vm2share/vm2share.php on line 74"
Its look like it generate wrong URL on the PDF file
Please see sample :
ampmparts.com/index.php/component/virtue...component&format=pdf
I download CSV file from Google with some URL samples please see attached file
Thanks,
Marvelcloud.net
Last edit: 11 years 3 months ago by nordmograph.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #15886 by nordmograph
Hello

Nothing attached. But Iunderstand the problem.
the PDF format can not handle adding open graph to the page.
So we shall make a condition to check if the page has a pdf format var and if not process.
I'll provide a fix in a sec.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago - 11 years 3 months ago #15887 by nordmograph
Try this:
open: plugins\content\vm2share/vm2share.php
In the first lines replace
Code:
if($context == 'com_virtuemart.productdetails'){

with
Code:
if($context == 'com_virtuemart.productdetails' && !$page_format){

And just before that line add:
Code:
$page_format = JRequest::getVar('format');

Tested fine on Nordmograph.com. Let me know if it's fine with you.

You can also redownload and reinstall as I updated the product archive.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
Last edit: 11 years 3 months ago by nordmograph.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #15896 by marvelhezki
Professional %100
Service %100
Quality %100
It is a plusher working with you and your company !
Thank you,
Marvelcloud.Net

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #15900 by nordmograph
Thanks.:)
Feel free to leave reviews on our products at JED, it really helps. But only if you have time.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #17251 by nordmograph
Sorry I don't understand what your issue is.

Post a new topic and describe precisely. Make short sentences, provide error messages, software versions and if you can URL to illsutrate your issue.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

Time to create page: 0.343 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.