SSL certificate problem, verify that the CA cert is OK Windows AWS

October 23, 2014

It’s a pretty common problem in Windows, curl used to include a list of accepted CAs, but no longer bundles ANY CA certs. So by default it’ll reject all SSL certificates as unverifiable. You need just to set cacert.pem to curl.cainfo. Since PHP 5.3.7 you could do: and save it somewhere. 2.update php.ini […]

Javascript toggle show/hide div or anything

October 14, 2014

You would manipulate the elements by toggling between styling rather than changing the elements based on the innerHTML. In this case, you would toggle between display:none and display:block. Example:

jQuery(…).datepicker is not a function

October 7, 2014

The are several reasons for this error: 1.The jquery.ui is used before jquery. 2.The $ is used by another library. 3.The jquery lib that is referenced locally(wordpress) has different version from that using jquery.ui. 4.When the right library and version is referenced the browser cache must be cleared.

Eclipse pdt install javascript checker – JSHint

October 1, 2014

JSHint Eclipse is available in the Eclipse Marketplace. The easiest way to install it is to drag the icon on the start page into your Eclipse. You can also install jshint-eclipse directly from this update site: In the Eclipse main menu, click: Help > Install New Software… Enter the URL above and select JSHint […]