• support[@]kurinchilion.com
  • +1 (888) 666-4252

Generating Certificate for validation (CSR generation)

Sep 10, 2009 - by kurinchilamp 362 Views
In order to install SSL certificates on your Apache server you need to generate a key pair and a CSR (certificate signing request) as the first step. The following points will guide you in the creation of CSR file. Once you finish generating the CSR file, you need to paste the content of the CSR file on to the SSL certificate request page in order for the certificate authorities to start their verification process. Command line prompts in a Linux box Find where openssl is installed and navigated to that directory $ whereis openssl Mostly it will be at /usr/bin/. If it is in a different path, then navigate to that directory path $ cd /usr/bin (more…)
Continue Reading

How to open ALL external web sites or references in a NEW window?

Sep 05, 2009 - by kurinchilamp 419 Views
Using JQuery to open external links in new windows Earlier we used to write a string of code in javascript to enable opening external references in a new window in addition to modifying the html code With JQuery, this can be done with one line of code as shown below
$(document).ready(function(){
    $("a[@href^='http']").attr('target','_blank');
});
The above line checks for occurences http in a tag and if a link has "http" in it, JQuery opens the link in a NEW window. According to W3C standards, the target attribute has been removed from xhtml 1.1 specification. Sample script to open external links in New Window
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB">
<head>
<script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script language="javascript">
$(document).ready(function(){
    $("a[href^='http']").attr('target','_blank');
});
</script> 
</head>
<body>


Testing the pages - Open Links in new <a href="http://yahoo.com">window</a>.

<h1><a href="http://www.kurinchilion.com">Kurinchilion</a></h1>
</body>
</html>
Continue Reading

CakePHP: NuSoap web service call configuration

Sep 02, 2009 - by kurinchilamp 376 Views
This is a beginner tutorial to help beginners make a call to "wsdl" files and for them to display the results returned by the service. First step is to include "nusoap.php" in \vendors folder in cakephp setup. In the controller, we make a call to nusoap.php by the statement App::import('Vendor','nusoap'); (more…)
Continue Reading

cakephp Deprecated: PHP 5.3 Wamp

Sep 01, 2009 - by kurinchilamp 378 Views
Error message cakephp Deprecated: Assigning the return value of new by reference is deprecated You will see the above error message when you try to configure cakePHP framework using a Wamp Server installation and set the debug parameter as in Configure::write('debug', 2); Cause: CakePHP is not PHP 5.3 ready unlike the latest version of Zend framework. Remedy: Try downloading older version of PHP - e.g. PHP 5.2.9
Continue Reading

PHP removing deprecated related errors from display

Aug 31, 2009 - by kurinchilamp 386 Views
To remove deprecated warning message displays when executing PHP programs, open php.ini file and ADD to it error_reporting = E_ALL & ~E_DEPRECATED This is the setting for the production environment where you would not like to display the deprecated function related errors. Sample error message Assigning the return value of new by reference is deprecated in nusoap.php on line 7381
Continue Reading

Apache Error Log

Aug 30, 2009 - by kurinchilamp 408 Views
Apache Error Log Expected "</File> but saw </Files>" Check the error log file (in ubuntu it is in /var/log/apache2/error.log) for the above stated error message. Check the .htaccess file or the apache configuration files where you have restricted file permission using File Directive.
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.