Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Vanilla 2 RC1 Instalation Error
Well, I was trying to install Vanilla 2 on my host (byethost) but I have always the same error. After pressing "Continue" in the first screen, I get this message:
Fatal Error in PHP.Gdn_ErrorHandler();
getmypid() has been disabled for security reasons
The error occurred on or near: /(...)/library/vendors/phpass/PasswordHash.php
39: $this->iteration_count_log2 = $iteration_count_log2;
40:
41: $this->portable_hashes = $portable_hashes;
42:
43: $this->random_state = microtime() . getmypid();
44: }
45:
46: function get_random_bytes($count)
47: {
Is this error because of my host? It seems that a function has been disabled, because I have a free account only. Is there any solution?
Thanks,
Scorch
Fatal Error in PHP.Gdn_ErrorHandler();
getmypid() has been disabled for security reasons
The error occurred on or near: /(...)/library/vendors/phpass/PasswordHash.php
39: $this->iteration_count_log2 = $iteration_count_log2;
40:
41: $this->portable_hashes = $portable_hashes;
42:
43: $this->random_state = microtime() . getmypid();
44: }
45:
46: function get_random_bytes($count)
47: {
Is this error because of my host? It seems that a function has been disabled, because I have a free account only. Is there any solution?
Thanks,
Scorch
0
Comments
It seems like your host might have disabled the getmypid() function for some reason. I'm guessing that they consider it to be a security hole somehow...
This function is actually being called in a piece of 3rd party code that we use for generating passwords. We've recently updated our version of that library to avoid usage of getmypid() when it is not available. We'll be putting this up as part of RC3 when it comes out sometime this week.
Sorry for the inconvenience. If you're desperate to sort this out ASAP, just change that one line (43) to $this->random_state = microtime();.
Vanilla Forums COO [GitHub, Twitter, About.me]