About Amit Badkas

Amit Badkas is Zend certified PHP5 and Zend Framework engineer, and has been working in SANIsoft for past 9 years, his present designation is 'Technical Manager'
Author Archive | Amit Badkas

Setup and run XAMPP in your home directory

TweetWe tend to be old skool people and with every release of our favorite distro we just overwrite the / rather than opt for the upgrade route and it works pretty well because there always is a separate /home/ where all our heart is. Unfortunately XAMPP (yeah we need it to be there on every [...]

Read full story · Comments { 1 }

MediaWiki Gotcha

TweetWhile installing mediawiki, if you enter admin's password same as the admin username, it will not let you log in to the admin account!!! After vexing on the problem for sometime here is what I uncovered. There is a method called 'isValidPassword()' in 'User' class (in includes/User.php file) that has the following line which prevents [...]

Read full story · Comments { 0 }

Use cake console with XAMPP

TweetIf you have problem while running cake console scripts for your LAMPP installation and get an error like './cake: line 34: exec: php: not found', fix this problem by editing 'cake' shell script and changing line PLAIN TEXT CODE: exec php -q ${LIB}cake.php "$@" -working "${APP}" to PLAIN TEXT CODE: exec /opt/lampp/bin/php -q ${LIB}cake.php "$@" [...]

Read full story · Comments { 2 }