I've got a php script that geocodes an address and puts it into the database. It works great on it's own when I call it like this:
site/update_geo_code.php?user_id=250
I coded it with a $user variable that can be passed in the URL like this:
$user = "$_GET[user_id]";
then in the query:
WHERE
a.id = $user
I'm using autoactions and something isn't right because it works outside of AA just fine, but I can't get it to work when someone is saving their profile.
These are the triggers (basically whenever a user profile is saved in front or backend):
onAfterUserRegistration,onAfterUserUpdate,onAfterNewUser,onAfterUpdateUser
It's a Request set to "Everybody" on automatic with the correct URL (site/update_geo_code.php?user_id=[user_id])
I'm using POST and this in the box: user_id=[user_id]
The AA is published.
Here's pic of the settings:
I get no errors using Maximum error reporting. I've also set the AA plugin to #1 but it's still not firing.
This site is J2.5, CB1.9, php5.3
Any help is appreciated.