Skip to main content

403 Error un/publishing variants

More
14 years 3 months ago #55573 by expertbeginner
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.

More
14 years 3 months ago #55651 by nicolas
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.

More
14 years 3 months ago #55694 by expertbeginner
Hi Nicolas,

Thanks for the fix.

Regards,
Martyn.

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

Time to create page: 0.149 seconds
Powered by Kunena Forum