Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 16

6apxatCrusoeCurtisOdenconnectrleafmonsterperegrinewhu606 +9 guests

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

Comments

  • Posts: 135
    @scorchpt try to install on localhost (i love UsbWebserver app), configure everything in the Vanilla as you like, then you can just upload working copy of the forum on your host via ftp and phpmyadmin import/export fuction.
  • Posts: 135
    @scorchpt BTW, try to install Vanilla2 _RC2_ first!
  • TimTim
    Posts: 1,573
    @scorchpt

    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 Senior Developer [GitHub, Twitter, About.me]

  • Posts: 26
    @Tim Thanks, I will do that. :)
Sign In or Register to comment.