
Andy Baugh cPanel Staff
Developer for over five years at cPanel.
- Total activity 66
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 25
Comments
Recent activity by Andy Baugh-
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...
-
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...
-
Hah, of course I see your post now, glad to see it was something simple!
-
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...
-
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\...
-
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...
-
You should not have ever seen success via just /usr/local/cpanel/bin/manage_hooks add script /usr/local/src/coursevector/disable_email_forward_hook.php as that does not specify any arguments regard...
-
This may sound silly, but perhaps the tarball got created like `EXAMPLE.tar.gz`? If so you'll wanna rename the tarball to something all lowercase, as realistically that's the only other component t...
-
Hmm, so probably either A collection's state consists of at least a set of mappings between path segments and resources, and a set of properties on the collection itself. In this document...
-
We certainly can arrange a development license for you to test this if the 30 day trial license is insufficient for testing when the time comes for that. Meanwhile I do have a few extra questions: ...