I have OS Ticket v 1.9.2 installed on my website and use it to handle incoming enquiries. I set-up e-mail polling, (using the set-up guide http://osticket.com/wiki/POP3/IMAP_Setting_Guide) and it worked fine for about a month.Unfortunately something happened with the MySQL on the server now which my site is hosted. This was resolved on 11 July.I recently noticed that I have not had any notifications of new tickets, and put in a up port ticket to my web host. I also set an e-mail to receive chron job notifications via cPanel. The job should run every 5 minutes, and I received the following error which I forwarded to my we host's support team:Cron <abcounti@cpanel52> /usr/local/cpanel/3rdparty/bin/php /home/abcounti/public_html/enquiries/api/cron.php

/usr/local/cpanel/3rdparty/bin/php: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directoryMy web host looked into the issue and as they were doing this, a few tickets pooped up and I received e-mail notifications. My web host came back and said the following:"it is an issue with the php in your cron.php file. With our recent upgrade to PHP 5.4.30, a lot of older functions were replaced with new ones. And older ones that were working (for backwards compatibility) were taken out so that only the newer version worked. In order to get this back up and running, you'll want to make sure that your PHP code is using the correct code for version 5.4.30."I tried to send another test to the e-mail and this has not come through to OS Ticket, so there is obviously still a problem.Can anyone help?

I believe that your hosting company are actually wrong.  If they were correct, then the error would state that suchAndSuch function is deprecated (or not found).  This:"error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory"means that their PHP instance is throwing an error.  Which means it's having a problem loading their shared object libmysqlclient.so.  Their PHP is reporting that the file doesn't appear to exist.  This shared file comes with PHP.

Thank you. I went back to my web host and they seem to have corrected the problem. It works at the moment in any case.They said:"the issue was that the cron job was set to call on php through an absolute path, rather than using the system variable "php". We set it up to just use the php command..."

Well at least it's fixed. :) I'll mark this as resolved and

close it, but please do not hesitate to open a new thread if you have

another question, comment, etc.

Write a Reply...