osTicket 1.9.5Ubuntu 12.04PHP 5.3.10MySQL 5.5.35Apache 2.2.22phar is checked under PHP extensions.I am wanting to install the auth-passthru and auth-ldap. I downloaded both from osticket.com/downloads and copied them to the plugins directory (just the .phar file). My first question is hopefully simple: is that the extent of what needs to be done, or does the phar file need to be extracted into the plugins folder?Secondly, when I click the Add New Plugin link, I get the following error in what appears to be the footer of the page: Warning: Invalid callback self:, cannot access self:: when no class scope is active in /var/www/include/mysqli.php on line 157Line 157 - 160 reads:if ($__db->unbuffered_result) {    $__db->unbuffered_result->free();    $__db->unbuffered_result = false;}Admittedly, the above lines probably don't tell enough, but thought I'd at least start with that info as the error has me puzzled - nothing showing up in any of the error logs.Now, I have made some core file changes (nothing substantial, mostly CSS changes and adding a Close button to the client side ticket thread page) and installed the Ticket Status Module mod, but wanted to see if there was something maybe I am missing (i.e. the phar needed to be extracted) before I revert back to an unaltered install and try again. Thanks. 

Actually, looking again this morning this is what is showing up in apache error log: Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.10 with Suhosin-Patch configured -- resuming normal operations PHP Warning:  Invalid callback self:, cannot access self:: when no class scope is active in /var/www/include/mysqli.php on line 157, referer: http://10.200.217.72/scp/plugins.php PHP Warning:  Invalid callback self:, cannot access self:: when no class scope is active in /var/www/include/mysqli.php on line 157, referer: http://10.200.217.72/scp/plugins.php10.200.211.110 is my local machine (Windows 7)10.200.217.72 is the remote server (Ubuntu 12.04)

Q: My first question is hopefully simple: is that the extent of what needs

to be done, or does the phar file need to be extracted into the plugins

folder?A: Presuming that your server uses .phars yes thats all you need to do.Based on the error you posted it looks like Suhosin is blocking the script from running.You might try disabling Suhosin and see if that fixes your issue.

Well, disabling Suhosin did not seem to have any effect on the error message. So I reverted back to an unaltered state of osTicket 1.9.5 and went ahead and upgraded osTicket to 1.9.6. Now both plugins show up. I doubt it was an out of date osTicket issue. Suhosin probably played some role, and my core file issues must have had some effect. As I alter them again - thankfully I have well documented what I've done - I'll see if I can find the source of the problem. Not sure what fixed what or what caused the error, but I guess you can close this now. Thanks for your help.

Very welcome.  Let me know if you have further issues. :)

Write a Reply...