-4

i am converting mysqli into PDO and then running my application in hiphop(hhvm), getting the following errors..please help me !!!

HipHop Notice: Undefined property: stdClass::$sessionTimeOut in /var/www/webApp/services/adminSessionSettingService.php on line 204

HipHop Warning: Cannot access property on non-object in /var/www/webApp/config.php on line 116

HipHop Warning: Cannot access property on non-object in /var/www/webApp/userLoginController.php on line 52

HipHop Warning: Cannot access property on non-object in /var/www/webApp/userLoginController.php on line 61

HipHop Warning: Cannot access property on non-object in /var/www/webApp/userLoginController.php on line 61

2893428
  • 23
  • 2

1 Answers1

0

Rule of the thumb:

Never "convert" your application.

but write it from scratch, as though there was no previous version at all.

If it asked for the conversion - then it was poorly written. And just a plain "conversion" will do no good for it. Learn better practices (such as DBAL, Query builder, ORM) and then rewrite your application using them, instead of just mechanical transition from one API to another.

Community
  • 1
  • 1
Your Common Sense
  • 156,878
  • 40
  • 214
  • 345