Thursday, June 27, 2013

post checkbox array limit in php

If you have really large array of checkbox values to be submitted to php,
you will likely to hit the limit on

max_input_vars = 99999
post_max_size = 100M
max_input_nesting_level = 64 #normally good enough unless you have really deep array
or suhosin issue: (php.ini): 

Wednesday, June 26, 2013

modx php5.3 timezone error

In my case, setting
date_default_timezone_set("Asia/Kuala_Lumpur"); //didnt work

only solution was to set it in .htaccess
php_value date.timezone Asia/Kuala_Lumpur

Monday, June 10, 2013

Prestashop cart rules for selecting products not working

In my case, was due to fancybox not working properly on jquery 1.9.
after replacing fancybox with latest version and it works!

Friday, June 7, 2013

R cannot be resolved to a variable

this happen to me on new project,
and it turn out that i need to update every single outdated package for it to compile the r class properly.

help > check for updates

Window > Android SDK Manager
Check all available upgrade and package required for your project (min to max version).
Then make sure to agree on every single package, and then click install.
Next, restart the eclipse.

Thursday, June 6, 2013

bruteforce attack growing

It seems that in a single day, there are 6 attack from different machine and different country to a particular server.
Have you guys protected your server? No? try CSF.