403 Error un/publishing variants

  • Posts: 57
  • Thank you received: 2
11 years 10 months ago #55573

Hi,

On the Variants screen, when ticking the check boxes and then clicking on the main 'Publish' or 'Unpublish' button a 403 (Access Forbidden) error is generated.

Using the 'Published' button on each individual line works okay.

It's only been noticed, by my client, since the upgrade to 1.5.8

Regards,
Martyn

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

  • Posts: 81568
  • Thank you received: 13079
  • MODERATOR
11 years 10 months ago #55651

Hi,

Thank you for your feedback.

Please change the lines:
$this->modify_views[] = array('unpublish');
$this->modify_views[] = array('publish');

to:
$this->modify_views[] = 'unpublish';
$this->modify_views[] = 'publish';

in the file administrator/components/com_hikashop/controllers/product.php and that will fix the problem.
We'll add that fix in next version.

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

  • Posts: 57
  • Thank you received: 2
11 years 10 months ago #55694

Hi Nicolas,

Thanks for the fix.

Regards,
Martyn.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum