Domanda

I'm new to Magento. I have just upgraded from 1.8.1.0 to 1.9.3.2. On my product page I get getChildHtml('info_tabs') ?> printed out below our add to cart-button. See screenshot below (I have blurred some product information and the language is Swedish for you who wonder :)).

I get no errors in my Apache error log, nor in var/log/system.log. I have no idea how to proceed since I am new to Magento development.

enter image description here

È stato utile?

Soluzione

I found the problem with help from @JaiminSutariya, thanks!

The problem was related to PHP comments. Before, I had this line in my catalog/product/view.pthml:

<?//php echo $this->getChildHtml('info_tabs') ?>

which gave the following HTML:

<!--?//php echo $this--->
getChildHtml('info_tabs') ?>

Changing the PHP line to the following solved the problem:

<?php /* echo $this->getChildHtml('info_tabs') */ ?>

This must be due to the upgrade from PHP 5.4 to 5.6 which I also did when upgrading to 1.9.3.2.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top