{"action":"reopened","issue":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/2910","labels_url":"https://api.github.com/repos/phalcon/cphalcon/issues/2910/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/issues/2910/comments","events_url":"https://api.github.com/repos/phalcon/cphalcon/issues/2910/events","html_url":"https://github.com/phalcon/cphalcon/issues/2910","id":45891935,"number":2910,"title":"Errors on Phalcon 2 build","user":{"login":"Mech7","id":190633,"avatar_url":"https://avatars.githubusercontent.com/u/190633?v=3","gravatar_id":"","url":"https://api.github.com/users/Mech7","html_url":"https://github.com/Mech7","followers_url":"https://api.github.com/users/Mech7/followers","following_url":"https://api.github.com/users/Mech7/following{/other_user}","gists_url":"https://api.github.com/users/Mech7/gists{/gist_id}","starred_url":"https://api.github.com/users/Mech7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mech7/subscriptions","organizations_url":"https://api.github.com/users/Mech7/orgs","repos_url":"https://api.github.com/users/Mech7/repos","events_url":"https://api.github.com/users/Mech7/events{/privacy}","received_events_url":"https://api.github.com/users/Mech7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-10-15T16:54:45Z","updated_at":"2015-01-05T22:17:38Z","closed_at":null,"body":"I am getting the following errors when trying to build phalcon 2\r\n\r\nWarning: Class \"APCIterator\" does not exist at compile time  in /home/chris/www/cphalcon/phalcon/cache/backend/apc.zep on 224 [nonexistent-class]\r\n\r\n\t   apc = new \\APCIterator(\"user\", prefixPattern);\r\n\t------------------------------------------------^\r\n\r\n\r\nWarning: Function \"mcrypt_get_iv_size\" does not exist at compile time in /home/chris/www/cphalcon/phalcon/crypt.zep on 334 [nonexistent-function]\r\n\r\n\t  let ivSize = mcrypt_get_iv_size(cipher, mode);\r\n\t-----------------------------------------------^\r\n\r\n\r\nWarning: Function \"mcrypt_create_iv\" does not exist at compile time in /home/chris/www/cphalcon/phalcon/crypt.zep on 340 [nonexistent-function]\r\n\r\n\t  let iv = mcrypt_create_iv(ivSize, MCRYPT_RAND);\r\n\t------------------------------------------------^\r\n\r\n\r\nWarning: Constant 'MCRYPT_RAND' does not exist at compile time in /home/chris/www/cphalcon/phalcon/crypt.zep on 340 [nonexistent-constant]\r\n\r\n\t  let iv = mcrypt_create_iv(ivSize, MCRYPT_RAND);\r\n\t-----------------------------------------------^\r\n\r\n\r\nWarning: Function \"mcrypt_get_block_size\" does not exist at compile time in /home/chris/www/cphalcon/phalcon/crypt.zep on 345 [nonexistent-function]\r\n\r\n\t  let blockSize = mcrypt_get_block_size(cipher, mode);\r\n\t-----------------------------------------------------^\r\n\r\n\r\nWarning: Function \"mcrypt_encrypt\" does not exist at compile time in /home/chris/www/cphalcon/phalcon/crypt.zep on 358 [nonexistent-function]\r\n\r\n\t  return iv . mcrypt_encrypt(cipher, encryptKey, padded, mode, iv);\r\n\t------------------------------------------------------------------^\r\n\r\n\r\nWarning: Function \"mcrypt_get_iv_size\" does not exist at compile time in /home/chris/www/cphalcon/phalcon/crypt.zep on 392 [nonexistent-function]\r\n\r\n\t  let ivSize = mcrypt_get_iv_size(cipher, mode);\r\n\t-----------------------------------------------^\r\n\r\n\r\nWarning: Function \"mcrypt_decrypt\" does not exist at compile time in /home/chris/www/cphalcon/phalcon/crypt.zep on 404 [nonexistent-function]\r\n\r\n\t  let decrypted = mcrypt_decrypt(cipher, decryptKey, substr(text, ivSize), mode, substr(text, 0, ivSize));\r\n\t---------------------------------------------------------------------------------------------------------^\r\n\r\n\r\nWarning: Function \"mcrypt_get_block_size\" does not exist at compile time in /home/chris/www/cphalcon/phalcon/crypt.zep on 406 [nonexistent-function]\r\n\r\n\t  let blockSize = mcrypt_get_block_size(cipher, mode);\r\n\t-----------------------------------------------------^\r\n\r\n\r\nWarning: Possible attempt to use non-object in \"new\" operator in /home/chris/www/cphalcon/phalcon/mvc/model.zep on 584 [non-valid-new]\r\n\r\n\t   let hydrate = new \\stdclass();\r\n\t--------------------------------^\r\n\r\n\r\nWarning: Function \"phalcon_orm_singlequotes\" does not exist at compile time in /home/chris/www/cphalcon/phalcon/mvc/model/query.zep on 512 [nonexistent-function]\r\n\r\n\t       let escapedValue = phalcon_orm_singlequotes(value);\r\n\t---------------------------------------------------------^\r\n\r\n\r\nWarning: Variable 'sqlJoinConditions' was assigned for the first time in conditional branch, consider initialize it at its declaration in /home/chris/www/cphalcon/phalcon/mvc/model/query.zep on 936 [conditional-initialization]\r\n\r\n\t  ];\r\n\t--^\r\n"}}