product page in second language is empty

  • Posts: 69
  • Thank you received: 1
9 years 2 months ago #188085

-- url of the page with the problem -- : www.instrucenter.com/en/contact-portable...mometer-model-tm-914
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 2.5
-- Browser(s) name and version -- : FireFox

Hello
I transfer all off my product from virtuemart to hikashop successfully.
Product page is ok in fires languale (first language is persian) but is second language (en lang) product page is empty.
here is a product in first lang:
www.instrucenter.com/fa/contact-portable...mometer-model-tm-914

and this is that link in second language:
www.instrucenter.com/en/contact-portable...mometer-model-tm-914

how can i fix this problem?

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

  • Posts: 81428
  • Thank you received: 13058
  • MODERATOR
9 years 2 months ago #188091

Hi,

The blank page indicates a fatal error. Turn on the debug mode and error reporting options of the Joomla configuration and try again and you should get an error message which will give more information on what is the problem.

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

  • Posts: 69
  • Thank you received: 1
9 years 2 months ago #188153

hello
i turned on debug mode and this is the result:
Fatal error: Call to undefined method stdClass::get() in /home/instrucent/domains/instrucenter.com/public_html/libraries/joomfish/translatable/translationobject.php on line 311

i reinstall joomfish 2.5.1 but problem not fixed.
please help me

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

  • Posts: 69
  • Thank you received: 1
9 years 2 months ago #188154

I searched google to fix this problem and reach to this address:
www.hikashop.com/forum/2-general-talk-ab...-joomfish-issue.html

i removed

$key = $dbObject->get('_tbl_key');
		$db->setQuery("SELECT * FROM " . $dbObject->get('_tbl') . " WHERE " . $key . "='" . $dbObject->$key . "'");
		$origObject = $db->loadObject('stdClass', false);
in the file libraries\joomfish\translatable\translationobject.php and problem fixed.
thanks again nicolas.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum