[Skip to main content](#vessel-content)

#   Forbidden message in Actions column persists

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 5 months ago -  13 years 5 months ago [\#108644](#108644) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Forbidden message in Actions column persists](/forum/22-market-bug-report/83586-forbidden-message-in-actions-column-persists#108644 "I reported this problem some days ago and I was told tu update both Shop and MArket.  Well, the updates are done and the problem persists.  The problem is not only the message but that the Publishing / unpublishing feature doesn't work")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

I reported this problem some days ago and I was told tu update both Shop and MArket.

Well, the updates are done and the problem persists.

The problem is not only the message but that the Publishing / unpublishing feature doesn't work

[ ![Captura&#95;de&#95;pantalla&#95;2013-06-11&#95;a&#95;les&#95;11&#95;01&#95;25.png](/forum/attachment/10564) ](/forum/attachment/10564 "...s&#95;11&#95;01&#95;25.png")

- [ ![Captura&#95;de&#95;pantalla&#95;2013-06-11&#95;a&#95;les&#95;11&#95;01&#95;25.png](/forum/attachment/10564) ](/forum/attachment/10564 "...s&#95;11&#95;01&#95;25.png") [ ](/forum/attachment/10564?download=1 "...s&#95;11&#95;01&#95;25.png")

Last edit: 13 years 5 months ago by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0LzgzNTg2LWZvcmJpZGRlbi1tZXNzYWdlLWluLWFjdGlvbnMtY29sdW1uLXBlcnNpc3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 5 months ago [\#108660](#108660) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Forbidden message in Actions column persists](/forum/22-market-bug-report/83586-forbidden-message-in-actions-column-persists#108660 "I reported this problem some days ago and I was told tu update both Shop and MArket.  Well, the updates are done and the problem persists.  The problem is not only the message but that the Publishing / unpublishing feature doesn't work")*

Hi,

I was expected it was a problem with the token validation passed in the url. It wasn't.
Please edit the file "administrator/com_hikamarket/classes/product.php" and replace: Code:

protected $toggle = array('product_published' =&gt; 'product_id');

By Code:

protected $toggle = array('product_published' =&gt; 'product_id'); protected $toggleAcl = array('product_published' =&gt; 'product_edit_published');

And Code:

if(!$app-&gt;isAdmin() &amp;&amp; ((int)$value == 0 &#124;&#124; empty($this-&gt;toggle[$task]) &#124;&#124; !hikamarket::acl('product_edit_'.$task) &#124;&#124; !hikamarket::isVendorProduct((int)$value) ))

By Code:

if(!$app-&gt;isAdmin() &amp;&amp; ((int)$value == 0 &#124;&#124; empty($this-&gt;toggle[$task]) &#124;&#124; ( empty($this-&gt;toggleAcl[$task]) &amp;&amp; !hikamarket::acl('product_edit_'.$task) ) &#124;&#124; ( !empty($this-&gt;toggleAcl[$task]) &amp;&amp; !hikamarket::acl($this-&gt;toggleAcl[$task]) ) &#124;&#124; !hikamarket::isVendorProduct((int)$value) ))

Regards,

---

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

The following user(s) said Thank You: [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0LzgzNTg2LWZvcmJpZGRlbi1tZXNzYWdlLWluLWFjdGlvbnMtY29sdW1uLXBlcnNpc3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 5 months ago [\#108694](#108694) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Forbidden message in Actions column persists](/forum/22-market-bug-report/83586-forbidden-message-in-actions-column-persists#108694 "I reported this problem some days ago and I was told tu update both Shop and MArket.  Well, the updates are done and the problem persists.  The problem is not only the message but that the Publishing / unpublishing feature doesn't work")*

WORKED!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0LzgzNTg2LWZvcmJpZGRlbi1tZXNzYWdlLWluLWFjdGlvbnMtY29sdW1uLXBlcnNpc3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.057 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
