After installing Laravel I get the following error "You need to specify a file path to store the seed. "
I have openSSL enabled and confirmed that it is running via phpinfo. ( OpenSSL support enabled ) and checking it runtime with the php command extension_loaded('openssl').
If I delete domain cookies then it is ok until I hit refresh.
I am using Wamp Apache->2.2.22 PHP->5.3.1
I have seen other posts with the same issue but with no solution that works for me?
On solution said:
You can add a text file like "seed.txt" in bootstrap directory and change line 7877 in bootstrap/compiled.php like that :
$bytes = with(new SecureRandom('seed.txt'))->nextBytes(16);
It'll work because nextBytes method needs a file if open_ssl doesn't work.
This did not really help as I do not have the file bootstrap/compiled.php
With WAMP you need to enable openssl from their menu, otherwise it's not active.
Make sure it's selected here; http://s.asbra.net/0525/2014-05-25_17-17-26.png
I have found the solution it appears that my php version was too old. I was using 5.3.1 and min is 5.3.7. All is ok now I have upgraded. Have seen a few similar posts so hope this helps somebody else.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community