WHM API 1 - set_tweaksetting for phploader
Hey all,
I'm sure I'm the one causing the issue here but I can't figure out how yet. I'm using the following API call to try and enable just Ioncube for 'cPanel PHP loader' in tweak settings. The API call I'm using is the following.
This is returning as if it succeeded but what it actually sets in /var/cpanel/cpanel.config is the following.
To add to the weirdness, lets say that I wanted to set Ioncube and Zend. I've tested and confirmed that this is 'ioncube,zend' in /var/cpanel/cpanel.config, but using the value of 'ioncube%2Czend' fails with the reason 'Value is not a valid key.' I've been able to reproduce this in the API Shell as well. Any guidance or just a confirmation that this happens to others will be greatly appreciated.
/json-api/set_tweaksetting?api.version=1&key=phploader&value=ioncubeThis is returning as if it succeeded but what it actually sets in /var/cpanel/cpanel.config is the following.
phploader=HASH(0x647f170)To add to the weirdness, lets say that I wanted to set Ioncube and Zend. I've tested and confirmed that this is 'ioncube,zend' in /var/cpanel/cpanel.config, but using the value of 'ioncube%2Czend' fails with the reason 'Value is not a valid key.' I've been able to reproduce this in the API Shell as well. Any guidance or just a confirmation that this happens to others will be greatly appreciated.
-
Awesome, glad to know this and will keep a watch out. 0 -
Hello :) To update, the issue has been resolved and the resolution is scheduled for cPanel version 56. You can follow our news page to see when version 56 is released to your build tier: cPanel Newsroom | cPanel, Inc. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments