Skip to Content Skip to Menu

Package Builder - 401 problem

  • rbuelund
  • rbuelund
  • OFFLINE
  • Posts: 615
  • Thanks: 42
  • Karma: 4
  • Add-ons
1 week 17 hours ago #341392 by rbuelund
Package Builder - 401 problem was created by rbuelund
I am still having trouble getting the Package Builder plugin to work correctly.

I have this redirect in my htaccess:
Redirect /updates/plg_xxxx_xxxx.xml /index.php?option=com_comprofiler&view=pluginclass&plugin=cbpackagebuilder&action=versions&func=joomla&id=1&format=raw

But I get the error: Could not open update site. If I try the URL directly in a browser i get an 401 Unauthorized - but where do I authorize this access ??? I really need a manual for this plugin.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49297
  • Thanks: 8426
  • Karma: 1465
5 days 18 hours ago #341397 by krileon
Replied by krileon on topic Package Builder - 401 problem
401 error is a permission error. That means the endpoint isn't accessible for whatever reason. I'll walk you through some things to check to ensure access is available.

Joomla doesn't like URLs not having an Itemid. Itemid is the menu id that belongs to a URL. Create a Joomla menu item with a Menu Type of Community Builder > Plugin then set Plugin to CB Package Builder now set Action to Internal > Versions. Now save this as public and published. Next add &Itemid=MENU_ID to your URL where MENU_ID is the ID of the menu item you just created.

Next within CB > Plugin Management ensure CB Package Builder itself is Public and Published access. This ensure the plugin will actually load for guest users, which is what that endpoint will be treated as.

Now within CB Package Builder > Parameters > Versions > Checker ensure "Joomla Checker" is set to "Enable" and click Save. Now on that same tab click the URL next to "Joomla Versions" and make sure its outputting and accessible. It should return a Joomla version collection XML.

If you're still having issues please PM backend super user login credentials and will take a look.

I really need a manual for this plugin.

A manual isn't going to cover this. This is access permission issues. Regardless we'll be addressing user usage manual issues with Joomla Tours instead of a traditional manual. We'll be providing technical manuals for basically programmers externally. This will all happen after CB 3.0 when plugins are redesigned into standalone Joomla extensions.


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.

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

  • rbuelund
  • rbuelund
  • OFFLINE
  • Posts: 615
  • Thanks: 42
  • Karma: 4
  • Add-ons
5 days 18 hours ago - 5 days 18 hours ago #341402 by rbuelund
Replied by rbuelund on topic Package Builder - 401 problem

Joomla doesn't like URLs not having an Itemid. Itemid is the menu id that belongs to a URL. Create a Joomla menu item with a Menu Type of Community Builder > Plugin then set Plugin to CB Package Builder now set Action to Internal > Versions. Now save this as public and published. Next add &Itemid=MENU_ID to your URL where MENU_ID is the ID of the menu item you just created.

Did that - still get 401 error with the URL - menu item set to Public and all languages.

Next within CB > Plugin Management ensure CB Package Builder itself is Public and Published access. This ensure the plugin will actually load for guest users, which is what that endpoint will be treated as.

Have not changed that so is Public

Now within CB Package Builder > Parameters > Versions > Checker ensure "Joomla Checker" is set to "Enable" and click Save. Now on that same tab click the URL next to "Joomla Versions" and make sure its outputting and accessible. It should return a Joomla version collection XML.

Is enabled and that URL works.
 
Last edit: 5 days 18 hours ago by rbuelund.

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

  • rbuelund
  • rbuelund
  • OFFLINE
  • Posts: 615
  • Thanks: 42
  • Karma: 4
  • Add-ons
5 days 18 hours ago #341403 by rbuelund
Replied by rbuelund on topic Package Builder - 401 problem
Have sent you a PM

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49297
  • Thanks: 8426
  • Karma: 1465
5 days 17 hours ago #341404 by krileon
Replied by krileon on topic Package Builder - 401 problem
Both extensions in your version collection are Joomla plugins. Looks like you didn't specify what their plugin type was. Please fill out the details under the XML tab of your packages. In a future release it will do this automatically on first parse, but currently it doesn't.


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.

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

Moderators: beatnantkrileon
Powered by Kunena Forum