Change group and owners of files and folders on Linux server

chown command – change the owner of a file You must be either the root user or the owner of the file in order to change the group ownership. To change the group and owners of files and folders on the linux server use the below command Set the file’s owner: $ chown username filename […]

How to restore compressed mysql backup file

To restore compressed backup files you can do the following: gunzip < [backupfile.sql.gz] | mysql -u [uname] -p[pass] [dbname] If you need to restore a database that already exists, you’ll need to use mysqlimport command. The syntax for mysqlimport is as follows: mysqlimport -u [uname] -p[pass] [dbname] [backupfile.sql]

Upgrade from WordPress 2.5.x to WordPress 2.6 in easy steps

Step 1 : Backup your existing files of wordpress site . Step 2 : Backup your wordpress database. Step 3 : Deactivate your plugins. A plugin might not be compatible with the new version, so it’s nice to check for new versions of them and deactivate any that may cause problems. You can reactivate plugins […]

How to insert html code in Joomla content or module?

Many of the times there is need or requirement to insert raw HTML in a Joomla article or module. For example, embedding Google maps etc. Unfortunately, sometimes the editor screen you are using will strip out the HTML code, or cause an error. Rather than having to turn the editor on/off in global configuration, there […]

How to find the module positions for a new or existing Joomla template?

To find the module positions in your Joomla 1.0.x or  Joomla  1.5.x template simply add  the following  to your URL /index.php?tp=1 for eg. if your domain name is www.mydomain.com,  then to find the module position type in the addressbar www.mydomain.com/index.php?tp=1

Adding new module position to Joomla 1.0.x and 1.5.x

In Joomla 1.0.x we can add new module positions by going to Site -> Template manager -> module positions (total 50 places). [Add your position] However in Joomla 1.5.x we need to add the module positions within the templatedetails.xml under the active template folder <positions> <position>hornav</position> <position>breadcrumbs</position> <position>banner</position> <position>left</position> <position>right</position> <position>top</position> <position>search</position> <position>topsl</position> <position>user1</position> <position>user2</position> […]

Installing Joomla 1.5.x

With the increasing popularity of Joomla most people are moving towards Joomla. I would like to take the initiative to help the new Joomla family members installing Joomla 1.5.x version on their server Please follow the following steps Download joomla package from joomla.com Decompress the file downloaded Login to your FTP server Upload the extracted […]

What is MVC pattern in Joomla ?

With the introduction of joomla 1.5.x, I was very excited to learn the new architecture implemented. With the increasing popularity of Joomla 1.5.x I could not stop myself teach myself the new Joomla MVC pattern. MVC stands for Model View Controller MVC is an architectural pattern used in software engineering. The model-view-controller solves this problem […]

How to get my pagerank back for joomla site

I wondered why google is considering http://www.technointellects.com and http://technointellects.com as different sites and rank both the URLs separately Try this quick test for your web site. Navigate to the two following URL’s: http://yoursite.com http://www.yoursite.com If you can actually have these show up in your browser then you have a problem. What is happening is that […]

Call to undefined function imagecreatefromjpeg()

We moved the site to the new server, The site was working fine , but while uploading the image, I encountered the following error Fatal error: Call to undefined function imagecreatefromjpeg() in /home/domain/public_html/admin/configs.php on line 53 The solution to the Problem is The GD has to be installed with your PHP installation or it has […]

Enable Disable register global from .htaccess

At times, we need to set register_globals to on or to off and we cannot modify such directive of php from the php.ini for obvious motives. Then we can plan register_globals to on or off through an entry in the file .htaccess in the following manner. For on: php_flag register_globals on For off: php_flag register_globals […]

Mysql database migration using shell command

I had a problem migrating the large mysql databases from one server to another. When ever i tried to do that using some utility I got “Out of Memory” error. After a bit of research work, I realized that big databases can be migrated using shell command easily Below you can find instructions to move […]