Andy Baugh cPanel Staff
Developer for over five years at cPanel.
- Total activity 53
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 20
Activity overview
Latest activity by Andy Baugh-
Andy Baugh commented,
Howdy, Any API2 calls that do not have UAPI equivalent will very likely *not* be dropped from the product despite the deprecation (which at this point is 10 years deprecated yet still in use at man...
-
Andy Baugh commented,
Thank you for the clarification. I talked to the documentation team about this, as that does seem odd. It appears that this breaks when cookies for the site are not accepted. I don't think that is ...
-
Andy Baugh commented,
They work with any browser, and on any OS. You likely just need to replace the relevant bits of the URL with what matches for your server & login. For example: https://hostname.example.com:2087/cps...
-
Andy Baugh commented,
I wish I could have better news for you on this, but as of yet I have not gotten approval to even work on this myself. We have had an immense backlog of work for various things getting in the way s...
-
Andy Baugh commented,
If I recall correctly, the error message you have needs to start with "BAILOUT" when dying on blocking events in order to halt execution of the relevant hooked action. See here: https://api.docs.cp...
-
Andy Baugh commented,
So, if I had to guess, this is just a difference between what PHP INI (or FPM config) is in play in the context of php executed via apache versus on the command line. If the configuration loaded vi...
-
Andy Baugh commented,
Hah, of course I see your post now, glad to see it was something simple!
-
Andy Baugh commented,
Sounds like maybe something is odd with the PHP version installed. The script's shebang is currently #!/usr/local/cpanel/3rdparty/bin/php -q so it should be trying to use the PHP installed there (i...
-
Andy Baugh commented,
Hmm, looks like this should be what it's outputting: ~/hook.php --describe[{"blocking":1,"category":"Cpanel","event":"Api2::Email::addforward","stage":"pre","hook":"\/usr\/local\/src\/coursevector\...
-
Andy Baugh commented,
So then when you run that script (/usr/local/src/coursevector/disable_email_forward_hook.php), does it output JSON with a similar looking datastructure when passing it the --describe option? That'd...