PHP usort not working or running or happening?
If you are using in a class, make sure:
usort($results, array(“MASSAGESTATS_Admin”,”j_cmp_revenue”));
http://stackoverflow.com/questions/6419818/php-usort-wont-sort
and also try static.
If you are using in a class, make sure:
usort($results, array(“MASSAGESTATS_Admin”,”j_cmp_revenue”));
http://stackoverflow.com/questions/6419818/php-usort-wont-sort
and also try static.
define(
'ALLOW_UNFILTERED_UPLOADS'
, true); in wp-config.php
or see:
http://pixert.com/blog/wordpress-file-type-permitted-security-reasons/
http://stackoverflow.com/questions/2322621/cron-job-creating-empty-file-each-time-it-runs
wget -O /dev/null http://www.example.com/your-script.php
Apparently, Chrome would not redirect after login. This seems to be an issue with common.js in Discuz 7.2
Had to hack Discuz 7.2 common.js to fix login problems on Chrome.
Had to change:
if(BROWSER.ie) { s = $(ajaxframeid).contentWindow.document.XMLDocument.text; } else { s = $(ajaxframeid).contentWindow.document.documentElement.firstChild.wholeText; }
to:
if(BROWSER.ie) { s = $(ajaxframeid).contentWindow.document.XMLDocument.text; } else if (BROWSER.chrome > ‘0’) { s = $(ajaxframeid).contentWindow.document.firstChild.textContent; } else { s = $(ajaxframeid).contentWindow.document.documentElement.firstChild.wholeText; }