Skip to Content Skip to Menu

[SOLVED] How do I run script to activate auto-actions?

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
9 years 10 months ago #256356 by fribse2011
Replied by fribse2011 on topic How do I run script to activate auto-actions?
Ok, I've tried activating the URL for performing the Internal Users Auto-Action.
If I enter the URL in a browser I get a white page (even with max error reporting), and as far as I can tell, nothing is done for the user I've activated for testing.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48481
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #256362 by krileon
Replied by krileon on topic How do I run script to activate auto-actions?
You'll always get a whitepage. It has no output. It's just an endpoint for CRON/AJAX primarily. If the action does output something it'll output if format parameter isn't set to raw in the URL.

Enable debug mode and maximum error reporting in Joomla global configuration. Next edit your action and under Parameters enable debug. Now navigate to the internal users URL with &format=raw removed from the URL. This will allow debug output to display and CB Auto Actions will tell you if access or conditionals failed. Note your actions must have the "Internal Users" trigger or they will not fire for that URL.


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: fribse2011

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

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
9 years 10 months ago #256365 by fribse2011
Replied by fribse2011 on topic How do I run script to activate auto-actions?
Ok, excellent, I'll try that

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.

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

  • fribse2011
  • fribse2011
  • OFFLINE
  • Posts: 921
  • Thanks: 79
  • Karma: 8
9 years 10 months ago #256426 by fribse2011
Replied by fribse2011 on topic How do I run script to activate auto-actions?
Ok, if I changed the ACL to Everybody (as you adviced in the other thread), the rules are fired as they should be, and it works perfectly.

Best regards
Fribse

Frømandsklubben Nikon, www.nikondyk.dk
We're a volunteer driven diving club in Ishøj, Denmark.
Har du brug for en dykkerklub der rummer alle, så kom ned til os.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum