Error after saving the variant

  • Posts: 369
  • Thank you received: 14
  • Hikaauction Standard Hikamarket Multivendor Hikaserial Subscription Hikashop Business
1 week 3 days ago #322520

-- HikaShop version -- : 4.3.0
-- HikaMarket version -- : 3.1.1

Hi, when I add a new variant as a vendor, after saving the variant, I will receive the specified error. Applies only to variants, for creating new products no problem.

Attachments:

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

  • Posts: 24320
  • Thank you received: 3749
  • MODERATOR
1 week 2 days ago #322563

Hello,

Can you reproduce the issue in our demo website ?
Please provide the details so we can see the problem directly.

You can also activate temporally the debug mode in your Joomla global configuration so you will have more details about the error.

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: 369
  • Thank you received: 14
  • Hikaauction Standard Hikamarket Multivendor Hikaserial Subscription Hikashop Business
1 week 2 days ago #322568

The problem has been identified and is caused by the setting: Product edition cancel mode - Current url.


Test
demo.hikashop.com/index.php/en/hikashop/...product/4-brow-shoes
The result

Attachments:

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

  • Posts: 24320
  • Thank you received: 3749
  • MODERATOR
1 week 2 days ago #322569

Hello,

Sorry but it does not allow us to understand what you did exactly to have that error.

Please provide the details so we can see the problem directly.


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: 369
  • Thank you received: 14
  • Hikaauction Standard Hikamarket Multivendor Hikaserial Subscription Hikashop Business
1 week 1 day ago #322579

You can look here: youtu.be/7JWIVM_zaTc

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

  • Posts: 24320
  • Thank you received: 3749
  • MODERATOR
1 week 22 hours ago #322586

Hello,

Since we do not work with videos ; Just to let the context clear for everybody.

1 - You're edit a classical product
2 - You set-up the "vendor" characteristic
3 - You configure the display of the "edit" button for vendor and the "cancel mode" to "current url"
4 - You create a new variant as a vendor, using the button in the product page.
5 - When saving, you have an error

Now these points are defined, we will be able to investigate on the problem.

Off the topic :
Please understand that we are in a support forum and we are working with text explanations and images.
People would will browse the support forum can't watch the videos to understand the thread conversation.
Watch the videos took the time of the video, and it needs for me and other people just few seconds to read the 5 points in my message.
I consider the "video" conversation closed and we can now go back on the bug topic.

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: neo191987

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

  • Posts: 369
  • Thank you received: 14
  • Hikaauction Standard Hikamarket Multivendor Hikaserial Subscription Hikashop Business
1 week 15 hours ago #322593

I tried to help you as much as possible. I gave you a link for a test, but your demo restarted and there was no way I could help you. Another time I will try to explain it in words, I thought the video was the best way to show it. But you have rules and I will stick to them.

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

  • Posts: 24320
  • Thank you received: 3749
  • MODERATOR
5 days 18 hours ago #322687

Hello,

As temp patch, you can edit the file "components/com_hikamarket/controllers/product.php" and replace

	$cancel_url = urldecode(hikaInput::get()->getString('cancel_url', ''));
	if(!empty($cancel_url) && !hikamarket::disallowUrlRedirect($cancel_url))
		$app->redirect( base64_decode($cancel_url) );
By
	$cancel_url = urldecode(hikaInput::get()->getString('cancel_url', ''));
	if((!empty($cancel_url) && strpos($cancel_url,'http')!==0&&strpos($cancel_url,'/')!==0)
		$cancel_url = base64_decode($cancel_url);
	if(!empty($cancel_url) && !hikamarket::disallowUrlRedirect($cancel_url))
		$app->redirect( $cancel_url );
It will unsure that the the string is in base64 to decode it.

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: 5 days 18 hours ago by Jerome.
The following user(s) said Thank You: neo191987

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

Moderators: Obsidev
Time to create page: 0.087 seconds
Powered by Kunena Forum