hello therei want to upgrade osticket from 1.6 to 1.8 but i cant because system saysPrerequisites:These items are necessary in order to run the latest version of osTicket.PHP v5.3 or greater - (5.4.22)MySQL v5.0 or greater - (module loaded)But checking version of my mysql i saw: Currently installed: 5.1.70So, how can i upgrade osticket to 1.8 ?

Wow I miss read that... I would try upgrading your MySQL.  Chances are the installer isn't stating the right version of MySQL.You should also check your error logs to see if there are any errors being thrown.

I'm having the same issue.  I have verified through the server that we are running MySQL version 5.5.34-cllWhat could be causing this issue and, hence, not being about to finalize the upgrade process?Also checked the error logs and no errors are appearing, and we were upgrading from version 1.7 as well.

The db_version function is different for mysql/mysqli.. by one thing: 1.8 declares         $matches = array(); before setting it.. that's it. Unless its comparing to a different value, it is exactly the same.Checked, it uses builtin php version_compare function to check that mysql is >= 5.0.. should be pretty straightforward.Are you getting any errors in the logs etc?If not, you could probably bypass this (if you KNOW its greater than 5.0), by simply returning true from: /include/class.setup.php line 97:  function check_mysql_version() {        return true;// (version_compare(db_version(), $this->getMySQLVersion())>=0);    }

heh, they just changed this too: https://github.com/osTicket/osTicket-1.8/commit/334461e1a0fbab563ae9dd0ab1bef18730aff018#diff-403a4819d34ffd27c1dd56cada3f7636

Write a Reply...