Raised This Month: $12 Target: $400
 3% 

Source ban++ Step 5 Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
albisse
Member
Join Date: Jun 2017
Old 07-04-2017 , 08:11   Source ban++ Step 5 Error
Reply With Quote #1

Hello !
I'm new in cs go server domain and i have a problem with SourceBan++ at Step 5 of installation.

I have a PHP error so i can't finish the install :/

This is the PHP Error :

Code:
Fatal error: Uncaught exception 'Exception' with message 'There is no suitable CSPRNG installed on your system' in /home/u441843671/public_html/includes/random_compat/lib/random.php:185 Stack trace: #0 /home/u441843671/public_html/install/template/page.5.php(56): random_bytes(16) #1 /home/u441843671/public_html/install/includes/page-builder.php(62): include('/home/u44184367...') #2 /home/u441843671/public_html/install/index.php(32): include_once('/home/u44184367...') #3 {main} thrown in /home/u441843671/public_html/includes/random_compat/lib/random.php on line 185
Help me plz this is le last step to create my server :/
albisse is offline
Cripix
Senior Member
Join Date: Sep 2016
Location: French, Bordeaux
Old 07-04-2017 , 08:31   Re: Source ban++ Step 5 Error
Reply With Quote #2

Quote:
Originally Posted by Cripix View Post
https://github.com/paragonie/random_...ses/tag/v1.3.0

Download the source code and you replace the files in this directory : htdocs/includes/random_compat/
__________________
My jailbreak Server :
Cripix is offline
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
Cripix
Senior Member
Join Date: Sep 2016
Location: French, Bordeaux
Old 07-04-2017 , 09:51   Re: Source ban++ Step 5 Error
Reply With Quote #4

Did you try to restart Apache and empty the cache of your browser?
__________________
My jailbreak Server :
Cripix is offline
albisse
Member
Join Date: Jun 2017
Old 07-04-2017 , 09:57   Re: Source ban++ Step 5 Error
Reply With Quote #5

I can't restart, it's an free host so i can't.

Cache of my browser with PHP ? i think it's not the probleme

Je suis aussi français je t'ai ajouter en amis steam ( almost ) , peux tu accepter afin que l'on puisse discuter plus simplement ?

Last edited by albisse; 07-04-2017 at 10:01.
albisse is offline
Cripix
Senior Member
Join Date: Sep 2016
Location: French, Bordeaux
Old 07-04-2017 , 10:26   Re: Source ban++ Step 5 Error
Reply With Quote #6

Ouais Va y XD
__________________
My jailbreak Server :
Cripix is offline
Groruk
AlliedModders Donor
Join Date: Jul 2016
Old 07-04-2017 , 13:34   Re: Source ban++ Step 5 Error
Reply With Quote #7

Quote:
Originally Posted by albisse View Post
Hello !
I'm new in cs go server domain and i have a problem with SourceBan++ at Step 5 of installation.

I have a PHP error so i can't finish the install :/

This is the PHP Error :

Code:
Fatal error: Uncaught exception 'Exception' with message 'There is no suitable CSPRNG installed on your system' in /home/u441843671/public_html/includes/random_compat/lib/random.php:185 Stack trace: #0 /home/u441843671/public_html/install/template/page.5.php(56): random_bytes(16) #1 /home/u441843671/public_html/install/includes/page-builder.php(62): include('/home/u44184367...') #2 /home/u441843671/public_html/install/index.php(32): include_once('/home/u44184367...') #3 {main} thrown in /home/u441843671/public_html/includes/random_compat/lib/random.php on line 185
Help me plz this is le last step to create my server :/
You can try SourceBans++ 1.6.2 since it's now using password_hash for hashing there shouldn't be any problems.
Groruk is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode