View Single Post
albisse
Member
Join Date: Jun 2017
Old 07-04-2017 , 09:45   Re: Source ban++ Step 5 Error
Reply With Quote #3

I make that where i can :
Quote:
try {
$bytes = random_bytes(32);
} catch (Exception $ex) {
$strong = false;
$bytes = openssl_random_pseudo_bytes(32, $strong);
if (!$strong) {
throw $ex;
}
}
And replace my random_compact file in includes path of source ban ++ with his random_compact but its same and PHP say :

Quote:
Fatal error: Call to undefined function random_bytes() in /home/u441843671/public_html/install/init.php on line 38
So undo / delete this part of code and just replace files but "Fatal error: Uncaught exception 'Exception' with message 'There is no suitable CSPRNG installed on your system' ... the same ..

This is normal because i think i did'nt have this function so i don't know what i can do :/

Last edited by albisse; 07-04-2017 at 09:50.
albisse is offline