Sorry for the late reply.
I guess you are still using the old version as we can see the same error which we had fixed in FreiChat V8.7.2
Anyway , before making any changes , you can try this .
Go to freichat/server/freichat.php
Around line 402 , replace the entire function lim_top() with below :
private function lim_top($lim) {
//if only the standards provided the limits
//limit -> mysql,postgresql,sqlite
//top -> mssql
if ($this->pdo_driver == "sqlsrv") {
return array(" TOP $lim ", " ");
} else {
return array(" ", " LIMIT $lim ");
}
}
Sorry for the late reply.
I guess you are still using the old version as we can see the same error which we had fixed in FreiChat V8.7.2
Anyway , before making any changes , you can try this .
Go to freichat/server/freichat.php
Around line 402 , replace the entire function lim_top() with below :
<code>
private function lim_top($lim) {
//if only the standards provided the limits
//limit -> mysql,postgresql,sqlite
//top -> mssql
if ($this->pdo_driver == "sqlsrv") {
return array(" TOP $lim ", " ");
} else {
return array(" ", " LIMIT $lim ");
}
}
</code>
Necessity is the mother of all inventions!