Skip to Content Skip to Menu

Request with Auto-Action

  • nooran
  • nooran
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
10 years 8 months ago #241285 by nooran
Request with Auto-Action was created by nooran
Hello
I want after 'user profile update' execute my php file with parameters.
I try this:

Type: Request
Trigger: onAfterUserUpdate
User: Automatic
Access: Everybody
Url: mydomain.com/myfile.php
Method: post
Request : username=[username]
CurrentIP=[cb_ip]


but doesn't work. What am I doing wrong?

Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 8 months ago - 10 years 8 months ago #241296 by krileon
Replied by krileon on topic Request with Auto-Action
Please provide a full screenshot of the action configuration. Usually it's Conditionals that are failing. Enable debug mode and maximum error reporting in Joomla global configuration then enable debug output of the request and it'll var_dump the $snoopy object so you can see what's happening.


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.
Last edit: 10 years 8 months ago by krileon.

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

  • nooran
  • nooran
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
10 years 8 months ago - 10 years 8 months ago #241349 by nooran
Replied by nooran on topic Request with Auto-Action
Thanks for reply

Attachments:
Last edit: 10 years 8 months ago by nooran.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 8 months ago #241372 by krileon
Replied by krileon on topic Request with Auto-Action
The action looks ok to me. What's your script supposed to be doing? Are you sure there's not an issue with the script it self? Have you tried manually executing it using GET in your browser to ensure it's functional?


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.

  • nooran
  • nooran
  • OFFLINE
  • Posts: 17
  • Thanks: 0
  • Karma: 0
10 years 8 months ago - 10 years 8 months ago #241442 by nooran
Replied by nooran on topic Request with Auto-Action
my script connect to external API and doing some things.
I tested it with redirect auto action and I executed manually too, all things were OK.

Thanks in advance
Last edit: 10 years 8 months ago by nooran.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 8 months ago #241460 by krileon
Replied by krileon on topic Request with Auto-Action
Redirect and browser usage are both GET requests. You're sending a POST. Perhaps it's not designed to work with POST usage?


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