Some common osCommerce errors and their fixing

When I worked with osCommerce projects I had experienced with some common errors those I have mentioned here and also their solutions :

Error Type : Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is X is not allowed to access owned by uid Y in /path/to/your/oscommerce/catalog/includes/functions/sessions.php on line 167

How to [...]

Magento Installation on XAMPP and WAMP

Magento is a feature-rich eCommerce solution built on open-source technology using PHP. When I first learned Magento of course I had to follow some instructions to install Magento in my local server and here is some short instructions by which someone can get help. It can be easily installed on windows with XAMPP and [...]

Refresh particular div by jQuery

First we will make a customize function called getRefresh() -

function getRefresh(){
$(”#auto”).load(”data.php”, ”, callback);
}

Here we have used load( url, [data], [callback] ) ajax api. This api load HTML output from a remote file (data.php) and inject it into the div (auto). Below we have created a callback function named callback() -

function callback(){
setTimeout(”getRefresh()”, 1000);
}

setTimeout() function is [...]

URI Routing

Uniform Resource Identifier or URI consists of a string of character used to name a resource on the Internet. The name of a resource on the Internet should be naming conventional so that Search Engine like google , yahoo, ask etc. can easily find out. And it can be possible if we arrange the [...]

A simple trick to apply alternate css class part 1

In our professional work sometimes we need to apply some simple trick to overcome complexity when retrieving data from database and showing those on user interface using loop.
Suppose that we have some data from database and showing them using loop on our interface like below -
First one we have designed static so that we [...]

A simple trick to add static content block in magento template

Just go to your magento admin panel and then CMS -> Static Blocks
Now click on Add New Block button below and there will be a New Block form with some required fields. Now fill up all the required fields and save. Congrats! you have created your new static block . You have an identifier for [...]

How to check dynamic group checkbox?

Suppose that I have an admin panel and there have a content management system. And contents are belong to categories. Each category may have lots of contents and I want to delete the contents of each category separately. To make it possible first we will make an interface so that anybody can understand what [...]