Install Error
Error on Install
On first run, I get an immediate error:
Fatal error: Call to undefined function Phile\openssl_random_pseudo_bytes() in C:\xampp\htdocs\phile10\site1\lib\Phile\Utility.php on line 164
Research shows this is a problem with php settings on my server. Yes, there are many ways to fix this, spent time googleing, but in the end, I shouldn't have to do this. I think it discourages new users whose only purpose is to throw a bunch of markdown files into the content folder and IT SHOULD JUST WORK. Actually, If I wasn't really interested I would have abandoned phile at that moment.
I can't get server settings changed. My solution work around was to modify \lib\Phile\Utility.php
.
//jacmgr: error on this line; replaced with below
//$rnd = hexdec(bin2hex(openssl_random_pseudo_bytes($bytes))); //original
$rnd = hexdec(bin2hex(rand(1, $bytes))); //replacement by jacmgr
Yes, probably better to fix my servers. I really don't know how this impacts security in phile. Seems like it is not really securing anything anyway.