Saturday, 11 July 2015

[Solution] Unable to load or find PHP extension php_intl.dll in WAMP 0

Recently I was started to working with CakePHP 3.x. The latest version of CakePHP needed intl extension to work with it. But I could not enable intl extension in my latest version of Wamp 2.5. So, I have got an error, PHP Startup : Unable to load dynamic library C:/wamp/path/to/php/ext/php_intl.dll - The specified module could not be found. We can solve it in a two ways. Solution 1: Just go to C:/wamp/path/to/bin/php/php5.5.12/. Copy all the files starts with icu* and...

Friday, 3 July 2015

How to use plug-in's component in our application controller - CakePHP 3 0

.gist-file{ background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px; word-wrap: normal; } Here is a small How to about creating and using plugin component...

Monday, 4 May 2015

How to get relative path in javascript 0

.gist-file{ background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px; word-wrap: normal; } code{ background-color:#f0f0f0; } Problem We can't easily...

Thursday, 26 February 2015

How to get sql dump using command prompt in WAMP 0

To get a mysql dump of a database in wamp, first we need to set our mysql path using set path command. The example is given below.    set path=c:\wamp\bin\mysql\mysql5.1.36\bin Replace c:\wamp\bin\mysql\mysql5.1.36\bin with your mysql bin directory path. Then use the below command to export our database.   mysqldump -u YourUserName -p YourDatabaseName > sqlDumpFileName.sql YourUserName will be our mysql username. And YourDatabaseName will be our DataBase name....