Tag Archives: Aravind

Important – 777 Permissions To Be Removed From All Servers

Due to the large scale phishing attacks happening on many of our sites due to the lack of security on many of the domains, we are taking certain steps to protect our servers and the sites from such attacks.

As a part of this, we are disabling 777 access to any website. To accomplish this, we are migrating our servers to SuPHP to secure our PHP and apache configurations. This move will make sure files cannot be written by everyone and will prevent the issue caused by the 777 permissions that were previously allowed on all files.

We are implementing this change in our shared servers on 30-Oct-2010.
suPHP is a tool for executing PHP scripts with the permissions of their owners. With this we have following advantages in shared hosting environment

No folders or files can have 777 permission and it cannot be owned by user “nobody”. This is one of the greatest advantage where we can secure the files and folders in the site as none can do anything other than the site owners.

This change will go in at midnight on 29-Oct-2010 and as of 30-Oct-2010 we will not allow any 777 access on any of our servers.

Site Owner should make following in their site
1. Make sure no 777 permission files or folders/directories present in the site. The recommendation is to change it to 755 for folders and 644 for files.
2. .htaccess file should not contain any php_value. Please move those values under php.ini file instead.

Please feel free to contact us if you need any help with this.

Resellers please pass this is to the respective site owners.

WordPress upgradation from 2.9.2 to wordpress-3.0.1

From our previous post

We have successfully upgraded our wordpressmu from 2.9.2 to 3.0.1

Here are the steps we followed for this upgradation
http://wpmu.org/how-to-upgrade-wpmu-2-9-2-to-wordpress-3-0-in-5-easy-steps/

We have also upgraded all our plugins and we are happy to say that we are in WordPress-3 club.

Have fun!!

Magento Upgrade from 1.3.1 to 1.4.1.1

Magento is one of the preferred ecommerce open source platforms we specialise in at Auro Infotech. Recently, Magento announced upgrade to 1.4.1.1 and we also decided to upgrade on of the Magento based sites that we manage.

In version 1.3.1, we faced the following error when we checkout using paypal
“There was an error proccessing your request”

We did many studies to fix this and we finally we decided to upgrade the magento to the latest version as we thought this might fix the issue. Since we developed the skin(theme) for the site, we knew it should be done with great care as we need to merge our custom code with magento code.

As always, before upgrading the live site, we upgraded the testing site with many trial and errors and atlast we did it successfully in testing. We have the steps noted down below which we took while upgrading the production site. Below are the steps which we like to share

Continue reading

WordPress migration to php-5.3

Today we migrated one of our wordpress site from one server to another.
Present server has the version PHP-5.2.9 and the new server has PHP-5.3.2

Once we copied the files and database to the new server, it started showing has the following errors

Assigning the return value of new by reference is deprecated in /home/sitename/public_htm/wp-settings.php line xx

This error should be fixed by removing “&” in wp-settings.php where you have assigned a variable

For example, I have given below one assignment statement

$GLOBALS[‘wp_query’] =& new WP_Query();

Remove ‘&’ and make the line look like below

$GLOBALS[‘wp_query’] = new WP_Query();

Similarly remove “&” in all places whereever this error is thrown.

One more thing is function “set_magic_quotes_runtime()” in deprecated in php-5.3.2
Instead we should use the following
ini_set(“magic_quotes_runtime”, 0);

Also, the function split() is deprecated in php-5.3.2. Instead we should use explode ()

I had already posted a week back other functions that are deprecated in PHP-5.3.2.

Today I found other 3 functions. I will keep posting my updates whenever I find the old functions deprecated in PHP-5.3.2

Knowledge tree installation in CentOS 5

by Aravind

This blog explains the steps to install Knowledge Tree on a Cent OS server.

We were asked to install a Knowledge Management System called Knowledge Tree for one of our shared hosting clients, whose website is hosted in Centos 5.5 server.
Once we got this requirement I went through knowledgetree web site and I found that they do not provide the documentation for the installation in Centos server but they support RedHat Linux 5 and it is clearly explained in their Platform Requirements page.  So I decided to try it out on my own and once got it installed successfully, am sharing the steps with you.

Continue reading

Function eregi_replace is deprecated in PHP

– post by Aravind

We are using a search engine called Search Plugin .  This search engine uses PHP code that was working well on its old server which had PHP 5.1 on it.

Recently, we migrated Search Plugin to one of our semi-dedicated server for enhancing its usability. After we migrated to this server, we faced the following error.

Deprecated: Function eregi_replace() is deprecated in /home/searchpl/public_html/include/searchfuncs.php on line 582

We came to knew recently that the in-built function mentioned in the error eregi_replace() is deprecated (or removed) in PHP 5.3.2. The recommendation from PHP is to use the alternate function preg_match.

Please see the sample code below

Continue reading

Employee of the year 2009 – Aravind Raj

We are happy to announce that Aravind has been selected as the Employee of the Year 2009 at Auro Infotech.

Aravind has been with Auro Infotech for five years now and has grown from the role of a Server Administrator to Manager of the Server Support Team.

In this role, he has gone above and beyond his basic job responsibilities and has contributed to various initiatives at Auro Infotech.

In 2009, Aravind was instrumental in leading the efforts in engineering various solutions such as WordPress MU, Magento, OpenX, etc. He has also been managing various client initiatives in different projects we delivered to our clients.

As a result, in 2010, Aravind is now also overseeing the design team and is on track to managing the operations of Auro Infotech, Chennai.

As a part of this reward, Aravind gets a special gift of his choice from the Auro Infotech Management team. I hope he will write about his gift in the near future.

Please join me in congratulating Aravind on a job well done and wish him all the best in all his future initiatives.

Successful WordPress MU (WPMU) Installation

We are happy to announce the completion of a large WordPress Multi User (WPMU) project for one of our clients.

The requirement was as follows:

Currently we manage a set of wordpress blogs each with its own installation on its own servers. Some blogs were the main site for the respective domains and some blogs were wordpress installations in sub folders in the respective domains. This was becoming a maintenance nightmare, as with each version upgrade of wordpress, we had to upgrade ten different local installations of the same.

Our task was to eliminate the need for maintaining multiple wordpress installations and have a single installation that will be used to manage multiple blogs, one sub domain per blog. Also, we had to come up with a way to get a blog up and running with minimum effort for any new client/guest asking for a new blog for themselves.

We managed to accomplish the goals successfully today and have centrally implemented the wordpress MU blogging tool on Blogs Plugin – http://blogsplug.in/

Continue reading

Aravind – Auro Team

Hi,

Im Aravind. Im with AuroInfotech for the past 4 years.

Here is my brief introduction:

Im born and brought-up in Chennai. I did my school life in “New Prince Mat. Hr. Sec. School”, Madipakkam, Chennai.   I am a PG graduate with M.Sc – specialization in Information Technology.  I did my Integrated PG course for 5 years at Periyar University, Salem.  I completed my Course in 2004 and started my career in CMS technologies as Junior System Administrator.  Then, in June 2005, I got the offer in AuroInfotech and I have been here till date.

As an employee of AuroInfotech (AI), I had to say about the work culture here.  In AI, we have a challenging environment. I still remember my day1 tasks at AuroInfotech. I was committed to install a open source tool “FFmpeg” in my local server. (FYI, till that date I haven’t heard of that word FFmpeg). I was feared but I challenged it myself and later on day2, I was successful in installation. About 4 years back, remember that there is not even enough documentation for FFmpeg. My commitment made it a successful one.

I had worked on many such challenging tasks and I made it successful many times.  So, AuroInfotech is the place where we can have many such challenging tasks and everyone here is committed to achieve the end goal. Many of my team members like Kandan, who has become expert in Magento design, Anitha-worked in Zencart customization, Mugunthan, Ranjith, Mukesh etc.. each one proved their specialization in different areas. Remember, they all learned and became experts in AI in a short span of time.

So, Employment in AuroInfotech, needs people who dedicate their work towards a challenging task. This is what my Administrator, Syed Hussain says. We are not recruiting experts but we recruit individuals who like to become experts.

Im going to write blogs here frequently with all technical Issues/questions we face here in AI and the steps taken to solve it. I guess this will certainly help others, also let others know what we are doing at AI.

That’s all for now