Skip to Content Skip to Menu

CBsubs content restriction access issue with cb2

  • julos08
  • julos08
  • OFFLINE
  • Posts: 12
  • Thanks: 1
  • Karma: 0
9 years 10 months ago #256214 by julos08
Hello All,

I'm trying to parameter cbsubs with the new cb 2 and I am front of an issue.

If an article is protected by cbsub where only user with subscription can read it
and when I try to access to the article without subscription, I receive a 404 error with strange url : http://url-website/Banners/profil/pluginclass.html?plugin=cbpaidsubscriptions&do=accessdenied&accesstype=contentdisplay&accessvalue=103&accessurl=

With the previous version I was receiving a message which was saying that the article was protected and the user was invited to pay the subscription.

If the user subscription is Ok, the page is openning correctly without 404 error.

Thanks in advance for your support.

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 years 9 months ago #258616 by krileon
If you're getting a 404 when trying to reach CBSubs then your menu item to CBs profile page is not public. A public and published menu item to CBs profile page is mandatory as its Itemid will be used by CBs various URLs. A 404 means Joomla menu access protection has kicked in, which CB can not override. The article you're protecting should also be Public access so CBSubs it self is entirely controlling its access.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum