Error Access forbidden

  • Posts: 158
  • Thank you received: 8
10 years 6 months ago #157666

Hi,

Latest version of hikashop & market.

In back end, when if you clic on "cancel" in the vendor edit page it displays:
Error
Access forbidden

(save is ok and save+close is ok too)

Any reason?

regards

Last edit: 10 years 6 months ago by pprle. Reason: SOLVED

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
10 years 6 months ago #157679

Hi,

I try on my J2.5 and J3.3 websites, I do not reproduce your problem in the HikaMarket backend.
Which Joomla and HikaMarket version do you use ?
(We have two "latest" right now for HikaShop and HikaMarket)

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: 158
  • Thank you received: 8
10 years 6 months ago #157680

Hi,

Joomla 3.3
You have the latest stable version of HikaShop Business: 2.3.1
You have the latest stable version of HikaMarket Multivendor: 1.4.1

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
10 years 6 months ago #157684

Hi,

I see, you do not have the "cancel_redirect" variable when you open the vendor page.
In the file "administrator/components/com_hikamarket/controllers/vendor.php" please replace

'display' => array('display', 'show', 'listing', 'admin', 'products', 'invoices', 'pay', 'geninvoice', 'selection', 'useselection', 'getprice', 'searchfields'),
By:
'display' => array('display', 'show', 'cancel', 'listing', 'admin', 'products', 'invoices', 'pay', 'geninvoice', 'selection', 'useselection', 'getprice', 'searchfields'),

And
	public function store() {
		return parent::adminStore();
	}
By:
	public function store() {
		return parent::adminStore();
	}

	public function cancel(){
		$this->setRedirect( hikamarket::completeLink('vendor',false,true) );
	}
I will add this patch in the next HikaMarket build.

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: 158
  • Thank you received: 8
10 years 6 months ago #157688

Perfect !

Thank you (again) Jerome.

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

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