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

product details not showing

Started by plunk, May 27, 2015, 17:41:29 PM

Previous topic - Next topic

plunk

I builded my website on localhost Xampp, made a backup with Akeeba and moved it to my real website.
From there: category-layout: fine
Product detail page showing nothing, only:

<html>
<head>
</head>
<body>
</body>
</html>

I looked through this topic: https://forum.virtuemart.net/index.php?topic=104004.0, but found no answer there. PLease help!

I am logged in!
Tried different Joomla templates...

Database Version    5.5.43
Database Collation    latin1_swedish_ci
PHP Version    5.4.40
Web Server    Apache/2
WebServer to PHP Interface    apache2handler
Joomla! Version    Joomla! 3.4.1 Stable [ Ember ] 21-March-2015 20:30 GMT
Joomla! Platform Version    Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Virtuemart version 3.0.8

jenkinhill

Are you using template overrides or the default VirtueMart templates?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

plunk

#2

jenkinhill

The question was about VM templates (or overrides thereof), not the Joomla template.

Have you checked the server error log? What shows when you turn on VirtueMart debug?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

plunk

#4
Thanks for answering quickly!

Switched it on now:
Parse error: syntax error, unexpected 'if' (T_IF) in /home/baiky/domains/bai-nonsens-kraprao.nl/public_html/webshop/components/com_virtuemart/views/productdetails/tmpl/default.php on line 45

VM template overrides... You mean: did I alter VM code???
Yes!

Starting from line 43.I guess no coïncidense.
From default.php I disabled:

        <!-- <div class="product-neighbours">
       <?pXXhp
       if (!empty($this->product->neighbours ['previous'][0])) {
      $prev_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['previous'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id, FALSE);
      echo JHtml::_('link', $prev_link, $this->product->neighbours ['previous'][0]
         ['product_name'], array('rel'=>'prev', 'class' => 'previous-page','data-dynamic-update' => '1'));
       }
       if (!empty($this->product->neighbours ['next'][0])) {
      $next_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['next'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id, FALSE);
      echo JHtml::_('link', $next_link, $this->product->neighbours ['next'][0] ['product_name'], array('rel'=>'next','class' => 'next-page','data-dynamic-update' => '1'));
       }
       ?>
       <div class="clear"></div>
        </div> -->


Later today I will check if I altered more.

plunk

Yep, I created this error myself. I wanted to disable... something (???), but didn't do a good job and it gave me error. No problem in Xampp, that's why I didn't see before.
Thanks Jenkinhill!!!