Wednesday, June 3, 2009

How to update flex builder 3 license key?

If you are using windows, delete the file %ALLUSERS%\Application Data\Adobe\Flex\license.properties and start your flex builder. It will ask you for the key. Give your new key. You are done!

Tuesday, June 2, 2009

PHP: try catch not working/exception is not catched

If the catch block in your code is not executed and you are getting error/warning message in the browser, it is an issue with the behavior of PHP. In php some errors/warnings are not exceptions.

You could convert all errors to exceptions by using the following in your code.

set_error_handler(create_function('$p1, $p2, $p3, $p4', 'throw new ErrorException($p2, 0, $p1, $p3, $p4);'), E_ALL);

PHP: odbc_longreadlen() corruption problem

You may need to configure max_execution_time, memory_limit and odbc.defaultlrl in the php.ini file according to your requirement.