Some product pages open without styling

  • Posts: 4
  • Thank you received: 2
11 years 6 months ago #143587

-- url of the page with the problem -- : beanrushcoffees.co.za/index.php/category.../category/25-blended
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 3.2.1
-- PHP version -- : 5.4.20
-- Browser(s) name and version -- : Chrome x.x.x
-- Error-message(debug-mod must be tuned on) -- : No error

Hello community,
I have this enigmatic problem where one product opens correctly within the Joomla template and another (the rest) don't. I have compared the HikaShop configuration of one opening correctly (250g House Blend Roasted Beans) and the other that does not (250g Daily Grind Blend Roasted Beans). I looked at the HTML code (Chrome Inspect element) and apart from the product numbers the HTML looks identical. It would seem that the form submits the same information, yet the one opens within the Joomla Template and the other one pops-out into a style-less window.

Functional Product: href="/index.php/category-listing/hikashop-products-listing/product/1-250g-house-blend-roasted-beans"
Dysfunctional Product: href="/index.php/category-listing/hikashop-products-listing/product/54-250g-daily-grind-blend-roasted-beans"

Any ideas? This is befuddling be completely.

Thanks for your help.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 6 months ago #143614

Hi,
Can you :
- Active the joomla debug mode ("Administration->Global configuration->System->Debug System/Language")
- Set the "error reporting" option of the joomla configuration to "maximum"
- test it again so that we can see if it display an error message.

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

  • Posts: 4
  • Thank you received: 2
11 years 6 months ago #143631

:)

Thanks for the feedback.

Okay, I can see what the problem is, i.e. that it is referring to a module (set up somewhere) that probably has been removed--jcomments, it would seem.

It consequently would seem that I should remove this citation from the particular product's page. The exact place is slipping from me presently. Does this seem more intuitive to you?

Attachments:

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

  • Posts: 4
  • Thank you received: 2
11 years 6 months ago #143638

Hello,

Okay, I found the solution.

There seems to be a fault in the file: components/com_jcomments/classes/plugin.php in function [public static function getItemid]. I took guidance from a posting [ www.joomlatune.com/forum/index.php?topic=8521.0 ] to correct the issue and it worked great.

The offending line seems to be [require_once(JPATH_SITE . '/includes/application.php');] that should be [$app = JFactory::getApplication('site');].

Not HikaShop, but Joomla.

Thanks for your input.

The following user(s) said Thank You: Mohamed Thelji

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

  • Posts: 12953
  • Thank you received: 1778
11 years 6 months ago #143679

And thanks for your feedback :).

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

Time to create page: 0.049 seconds
Powered by Kunena Forum