orderstatus update not working after update

  • Posts: 506
  • Thank you received: 21
  • Hikashop Business
9 years 7 months ago #172815

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.4
-- PHP version -- : 5.4.25-1
-- Browser(s) name and version -- : Firefox 31.0

Hi,

I updated hikashop (2.3.3) and joomla (3.3.4) and now when I try to change te orderstatus of an order I get an error (see screenshot). I can't change the status.

Attachments:
The following user(s) said Thank You: DIrk

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

  • Posts: 4
  • Thank you received: 0
9 years 7 months ago #172843

Hello,
Exactly the same situation here!
Hikashop Essential 2.3.3
PHP 5.3.27
I really hope someone has a solution!
Best,
Ineke

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

  • Posts: 26032
  • Thank you received: 4006
  • MODERATOR
9 years 7 months ago #172844

Hi,

Please check your PHP error log.
I think you edited the "address_template" view for your backend template and there is a PHP error into.

HikaShop 2.3.3 is just HikaShop 2.3.2 with a security patch.
There is nothing more in this release.


Nevermind, I reproduced your problem after an update to Joomla 3.3.4

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 9 years 7 months ago by Jerome.

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

  • Posts: 506
  • Thank you received: 21
  • Hikashop Business
9 years 7 months ago #172848

Hi,

I only a changed it in the frontend template, but that was 3 years ago. There are no changes in the backend template. Everything worked fine untill this latest 2 updates. Can it been caused by the security-update of joomla?

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

  • Posts: 26032
  • Thank you received: 4006
  • MODERATOR
9 years 7 months ago #172850

Hi,

It's a "new feature" added in Joomla 3.3.4 :)

Please edit the file "administrator/component/com_hikashop/helpers/helper.php" and replace

	$view->setLayout($layout);
	ob_start();
	$view->display(null,$params);
	$js = @$view->js;
By
	$old = $view->setLayout($layout);
	ob_start();
	$view->display(null,$params);
	$js = @$view->js;
	if(!empty($old))
		$view->setLayout($old);
It will fix the issue.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: s21rc, jazzmang, PolishedGeek, ihuibregtse, cpaschen, oxido, DIrk

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

  • Posts: 506
  • Thank you received: 21
  • Hikashop Business
9 years 7 months ago #172856

Thanks Jerome! It did solve the problem! :)

Michel

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

  • Posts: 4
  • Thank you received: 0
9 years 7 months ago #172858

Indeed it does!
Thank you very much for your quick reply! :cheer:
Ineke

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

  • Posts: 506
  • Thank you received: 21
  • Hikashop Business
9 years 7 months ago #172864

Oops,

Still an error when changing the orderstatus in the order itself (see screenshot)

Attachments:
Last edit: 9 years 7 months ago by michelpouli.

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

  • Posts: 26032
  • Thank you received: 4006
  • MODERATOR
9 years 7 months ago #172879

Hi,

I definitively love the Joomla minor security release where there is a lot of modifications without a "Bug & Fun" session before...

Please edit the file "administrator/component/com_hikashop/helpers/helper.php" and replace

	function display($cachable = false, $urlparams = false) {
		$config =& hikashop_config();
By
	function display($cachable = false, $urlparams = false) {
		if(HIKASHOP_J30) {
			$document = JFactory::getDocument();
			$view = $this->getView('', $document->getType(), '');
			if($view->getLayout() == 'default' && JRequest::getString('layout', '') != '')
				$view->setLayout(JRequest::getString('layout'));
		}

		$config =& hikashop_config();
Similar modifications will also be required in HikaMarket and HikaSerial ; we will update the packages with "hot fixes" as soon as possible.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: PolishedGeek

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

  • Posts: 506
  • Thank you received: 21
  • Hikashop Business
9 years 7 months ago #173022

thanks again.

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

  • Posts: 169
  • Thank you received: 2
  • Hikashop Business
9 years 7 months ago #173027

can you inform when these fixes will be available here?
couse i don't like to edit some files.

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

  • Posts: 26032
  • Thank you received: 4006
  • MODERATOR
9 years 7 months ago #173035

Hi,

The HikaShop packages are up to date for the Joomla 3.4.4 problem.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 95
  • Thank you received: 1
9 years 7 months ago #173075

Hi Jerome,

I just downloaded the latest update, installed it and the error stil persist.

Thanks
Vaclav

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

  • Posts: 26032
  • Thank you received: 4006
  • MODERATOR
9 years 7 months ago #173097

Hi,

Which package did you download ?
I guess I'll have to tell Nicolas to check the packages he updated yesterday night.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 95
  • Thank you received: 1
9 years 7 months ago #173099

Hi Jerome,

I downloaded the package from "My Account -> Subscriptions -> Hikashop Business 2.3.3. zip file" about 2 hours ago.

Thanks
Vaclav

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

  • Posts: 26032
  • Thank you received: 4006
  • MODERATOR
9 years 7 months ago #173105

Hi,

I slapped Nicolas, I made a mistake in the Business package (not in the Starter one).
He is fixing it for the package and will re-upload it in around 15 minutes.

Regards,

Note: the slap was a joke


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 9 years 7 months ago by Jerome.
The following user(s) said Thank You: diabola99, DIrk

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

  • Posts: 95
  • Thank you received: 1
9 years 7 months ago #173271

Hi Jerome,

it is working.

Thanks
Vaclav

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

Time to create page: 0.119 seconds
Powered by Kunena Forum