5 ms·
Really cool. Tried to run it, unfortunately the code is broken at the moment- saw this error: May 11 19:42:11 fbctf hhvm[12971]: [Wed May 11 19:42:11 2016]
by STRML 10y ago
Really cool. Tried to run it, unfortunately the code is broken at the moment- saw this error:
May 11 19:42:11 fbctf hhvm[12971]: [Wed May 11 19:42:11 2016] [hphp] [12971:7f304b7ff700:6:000001] [] \nFatal error: Class undefined: AsyncMysqlConnectionPool in /var/www/fbctf/src/Db.php on line 19
Very much looking forward to trying it out.
- WizKid 10y agoDid you run it on HHVM? That class is implemented in HHVM https://docs.hhvm.com/hack/reference/class/AsyncMysqlConnectionPool/ https://docs.hhvm.com/hack/reference/class/AsyncMysqlConnect...
- gulshan-fb 10y agoIf you just want to try it out, I'd recommend using the provided instructions for Vagrant. Everything should work with that VM, and if it doesn't please let me know. Regarding your actual issue, how did you actually run the provision script, and on what type of server (i.e VM or physical machine)?
- gulshan-fb 10y agoAfter doing some more investigation, I'm suspecting you're running this on Ubuntu 16.04, and not 14.04. Is this correct? HHVM doesn't provide a 16.04 package yet in their dl.hhvm.com repo, so what's happening is that the provision script installs the system version of HHVM, which is 3.11. On 14.04, you'll get the correct version which is 3.13.
- STRML 10y agoThanks - it was indeed on 16.04. Thought I'd try something new while doing fbctf. Will revert to 14.04 and try again.