Thursday, June 21, 2012

Joomla Customized 500 error problem solution

I was working with Joomla. Got an error message as 'Error:500'. It was working on my local machine, but it's giving error on my server.

Finding no other clues, I searched the error log file. And found that it is not getting the path for the temporary folder and log folder of joomla. The path was not correct.

I have changed the path and now it is working correctly.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide

Wednesday, June 6, 2012

How to empty an array in javascript

I have an array in javascript.
var A = [1,2,3,4];

I want to make it empty. It's pretty simple. Just use the below:
A.length = 0;

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide