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

Zend Framework: Simple steps to create Action Helper

Mar 06, 2011 - by kurinchilamp 379 Views
Action helpers in Zend controller helps in abstracting concepts that are in common use for the project without cluttering the code base. Zend's official website and Zend casts gives detailed easy to use examples. Step 1: Decide where you want the helper class for the controllers to reside inside the application folder. For this example, let us create a folder hierarchy under "application" folder » application/controllers/Helper (more…)
Continue Reading

Netbeans: Authentication required dialog box requesting user name and password

Feb 15, 2011 - by kurinchilamp 1755 Views
If a user role and his credentials are not set or is incorrect for Tomcat startup via NetBeans IDE you will get this dialog box opened i) First check the Netbeans configuration settings Open Tools > Server ii) Base path for Catalina will be set in the General tab andn it will be of the form \CATALINA_BASE\conf\tomcat-users.xml. Check if a user and his role is defined as stated in the below syntax. If not add these lines <role rolename="manager"/> <user username="tomcat" password="secured" roles="manager"/> iii) In Tools > Server > General tab enter the username and password stated in the tomcat-users.xml file and this will stop the Netbeans IDE from asking you the name and password
Continue Reading

To debug struts, add the below line in the struts.xml file

Feb 14, 2011 - by kurinchilamp 339 Views
//struts.xml <struts> <constant name="struts.devMode" value="true" /> ..... </struts>
Continue Reading

Netbeans: HTTP Status 404 – There is no Action mapped for namespace / and action name

Feb 13, 2011 - by kurinchilamp 400 Views
i) Check where struts.xml is defined - Path where the file exists. In netbeans, easy way to do this to add the struts.xml file to package folder. ii) Check if the correct namespace is added in the struts.xml iii) Check if the package name is given correctly for the class in execution.
Continue Reading

PHP Excel reader

Jan 26, 2011 - by kurinchilamp 370 Views
php-excel-reader Parse and retrieve information from XLS files Download from Code Google When the excel reader is run on PHP 5.3, below mentioned deprecated warning messages gets shown. i) Assigning the return value of new by reference is deprecated Remove & from the line below $this->_ole =& new OLERead(); and have $this->_ole = new OLERead(); instead. ii) Function split() is deprecated Function split() is deprecated and we can use explode() instead of that. $parts = split(";",$format); change it to $parts = explode(";",$format);
Continue Reading

Linux: How to display ONLY the directories?

Jan 10, 2011 - by kurinchilamp 356 Views
To display a list of directories in Linux, issue the command $ ls -l | egrep '^d'
Continue Reading

TECHNOLOGY DEV STACK

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