View source for Stopping without error while testing database

Hello everybody,
Tried to install WackoWiki. Get 500 Server Error with no description while trying to create tables by setup script. 

Got success on Testing DB conntection and then nothing. 

I have founded that problem was in file install-databases on 168 line 

%%
// set SESSION sql_mode
// mysqli_query($dblink, "SET SESSION sql_mode='$sql_modes'"); <---- Commenting this line helped me
%% 

$dblink and $sql_modes are not empty, so there were no time figure out what to do. 
If someone know what was the problem => write please

Thanks a lot