4571 Posts in 1384 Topics by 1376 members
Installing SilverStripe
SilverStripe Forums » Installing SilverStripe » Fatal error during silverstripe installation (Call to undefined method com::GetRandom())
Getting SilverStripe up and running on your computer and on your web server.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1392 Views |
-
Fatal error during silverstripe installation (Call to undefined method com::GetRandom())

30 January 2011 at 11:43pm
Hey
Trying to get the silverstripe to install. My system is Windows 7 32bit, I have downloaded latest WAMP server 2.1 server (Apache 2.2.17, PHP 5.3.5, mySQL 5.5.8).
I am getting this error always:
--- begin ---
( ! ) Fatal error: Call to undefined method com::GetRandom() in C:\wamp\www\silverstripe-v2.4.4\sapphire\security\RandomGenerator.php on line 51
Call Stack
# Time Memory Function Location
1 0.0054 803912 {main}( ) ..\install.php:0
2 0.0424 1591264 Installer->install( ) ..\install.php:190
3 8.3674 23445720 DataObject->write( ) ..\install.php:1103
4 8.3680 23446488 Member->onBeforeWrite( ) ..\DataObject.php:936
5 8.3695 23446480 Security::encrypt_password( ) ..\Member.php:663
6 8.3697 23446984 PasswordEncryptor->salt( ) ..\Security.php:842
7 8.3703 23465568 RandomGenerator->generateHash( ) ..\PasswordEncryptor.php:94
8 8.3703 23465568 RandomGenerator->generateEntropy( ) ..\RandomGenerator.php:69
--- end ---I Googled for a fix and found this, but it didn't worked either: http://open.silverstripe.org/changeset/115314
Thanks
-
Re: Fatal error during silverstripe installation (Call to undefined method com::GetRandom())

1 February 2011 at 8:34am
WAMP is to blame. On my other machine where I don't have the latest WAMP everything worked fine.
-
Re: Fatal error during silverstripe installation (Call to undefined method com::GetRandom())

27 February 2011 at 7:31am
I have submitted a patch to fix this:
-
Re: Fatal error during silverstripe installation (Call to undefined method com::GetRandom())

27 February 2011 at 8:21am
Thanks
| 1392 Views | ||
|
Page:
1
|
Go to Top |


