Few days back my hosting company send me a warning that disk space consumption on my server has hit 80%. I was shocked because no new client came on board. I became worried thinking if my server has been compromised or any account on the box has been hacked! I instantly logged into the server and tried to figure out the domain consuming disk space more than the allocated quota. Once I was able to figure out the domain, I instantly started analyzing it’s disk consumption folder wise. All this lead me to a error_log file which grew up to 18 GB in last 15 days time. This site has average 1500 visitors per day. I inspected the error_log to see which page is generating so many errors and to my surprise it was a page with NextGen Scroll Gallery. This gallery page was created two years ago and didn’t had an iota of any error till last 15 days. Now, the page was full of several lines showing following error:
Warning: Division by zero in nggScrollGallery.php on line 296
Of course, it had folder name etc. prepended to the script name (which I have omitted here due to same security reason). In order to try and solve this error, I created a new gallery page but it worked fine. I compared both the gallery page (the one which was generating errors and the newly created one). Everything was same except the gallery id. I created another page with same gallery id. This time the error showed up. So, the problem was with gallery.
I went to manage gallery option and re-generated the thumbnails but this didn’t solve the problem. Then I imported meta data for all the images in gallery. The next moment the gallery was working fine. Seems, somehow the meta data information for images in the gallery got corrupted or deleted. Re-importing this information solved the issue. After that I deleted the error_log and my disk consumption status also went back to normal.
I was working on my computer when all of sudden it stopped working. Ctrl+Alt+Del won’t help. Power off button won’t do anything. At last I had to switch off the power supply to restart it. Again after few minutes of working same thing happened and in a span of 2 hours I had to restart my computer for more than 15 times. I was going crazy as I had replaced my hard disk few weeks back and switching off power too frequently could cause damage to it.
My first doubt went on some virus which might have sneaked in my system, though I am using Avast home edition since long and never had any problem. I started scanning my computer and it froze again. I restarted the system again and thought of updating Avast first. I know, it updates itself automatically but sometimes I go fanatic. Run of “Update engine and virus definitions” went fine. I thought of running “Update Program” too. As soon as I select this option computer froze again. My doubt on some smart Trojan / Malware / Virus was getting stronger. But when after 5 reboots and attempt to run “Update program” went fruitless, I uninstalled and reinstalled Avast. No use, still same problem. I googled and came to know about Avast clean uninstall utility. I went through the instructions given on the utility page at avast website, downloaded, uninstalled avast using this utility and then did a fresh installation of Avast.
After this all the updates went just fine and it has been four hours continuous work without any reboot :).
Recently I was asked by a client of mine to upgrade her self-hosted WordPress blog to 2.71. from 2.6. I though it to be a smooth task as this was a pretty new installation without any plugins or themes and I had upgraded at least 10 other self hosted WordPress blogs (far bigger than this one) few days back without any problem. I logged on to the blog’s dashboard and upgrade warning from WordPress was flashing on the screen. I gladly clicked on upgrade button and thought the task is taken care of. But what the hell!!!! Continue reading “PCLZIP_ERR_BAD_FORMAT – WordPress Upgradation Problem”
Google has very clear guidelines outlined for placement of Adsense ads on any publisher’s website. As per google, “It’s important to consider how your ad implementations affect not only your click-through rate, but your users’ and advertisers’ experience as well”. Continue reading “Stay out of Trouble with your Adsense a/c using these Tips”
At times, due to various reasons, you may like to transfer your domain to other domain registrar. But, there are various cases where a domain name MAY NOT be transferable. If you are planing to transfer away your domain name, make sure status of your domain name adheres to guidelines provided in this article. Transfer denial of your domain could happen in the following circumstances: Continue reading “When Your Domain becomes non Transferable”
During the lifetime of a website moments come when need arises to move the site from one domain name to other. This migration process is painful for bigger and more active websites. If hosting control panel on both servers are same then migration becomes easier. However, sometimes you need to migrate your site to a server having different control panel. In this scenario, to ensure smooth migration of an active web site from one server to another follow the steps given in this tutorial: Continue reading “Steps to Move Your Web Site from one Server to Another”
You have just registered a domain name and are busy planning for your new web site. All of sudden someone pointed out that the spelling of the domain name you registered has a mistake. What do you do now? You contact your domain registrar company and they ask you to stick with that domain and advise you to purchase another domain name with correct spelling. Though you might have paid just 10$ – 12$ but then its hard earned money. Here is a good news for you. Continue reading “Registered Wrong Domain Name, Get a Refund.”
Lately, number of domain name thefts taking place in online world is increasing. There are several reasons as how you can loose your domain name and not able to prove that you were the real owner of the domain name in question. Instantly a question pops up as what is the best way to protect a domain name from being stolen.
First and foremost thing to do is to make sure that you really own your domain name. What a silly advice…you might say. No, it’s not if you know what we are talking about. Go through this article and you will instantly want to check whois data of your domain name. Continue reading “Best Way to Protect a Domain Name from getting Stolen”
This Sunday at 2 AM, I got a call from one client, who complained that cgi scripts on his website stopped working all of a sudden. This being peak season for his business, he was a worried lot and wanted me to give it an immediate attention. I rushed to my workstation. Client was on phone telling me the urls and script names which stopped working. I saw it was throwing “500 Internal Server Error”. My first question to client was if he has made any changes to the scripts or re-uploaded or changed the permissions on the files. Continue reading “Target uid/gid Mismatch with Directory or Program”
Paypal, most widely used credit card payment method over the net, on 1st November 2007, announced a new fund withdrawal feature for it’s users from India. Indian Users of Paypal can withdraw funds directly to their Indian Bank Accounts. Users having account with State Bank of India, Bank of India, Canara Bank, Union Bank of India, HDFC Bank, ICICI Bank, ING VYSYA Bank, UTI Bank, Standard Chartered Bank, HSBC, and Citibank can avail this benefit. Continue reading “Paypal Offers Fund Withdrawl to Indian Bank account feature”