This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Thursday, 22 November 2012

WAMP Server Offline Error

Some of you might get the “Server Offline” error after you install WAMP on your windows 7 system. This happens if IIS server was installed in the system prior to the installation of WAMP thus creating the clash of the port address where both the servers are trying to access http://localhost/
This issue can be resolved by changing the port address for the WAMP server. Follow the below given steps to do the same:
  1. Go to c:\wamp\bin\apache\Apache2.2.11\conf
  2. Open httpd.conf file
  3. Change the line “Listen 80” to “Listen 8080” (or Listen <some number>)
  4. Save the file and close it
  5. Go to c:\wamp\ and open wampmanager.ini
  6. Change all http://localhost/ references in the file to http://localhost:8080/
  7. Save the file and close it
  8. Go to c:\wamp\ and open wampmanager.tpl
  9. Change all http://localhost/ references in the file to http://localhost:8080/
  10. Restart the WAMP Server
The above solution helps you to run both servers at the same time.Alternatively, you can also run only one server at a time i.e. running either IIS or WAMP server which does not require the above file modifications. But in some cases, this did not resolve the issue for unknown reasons.
The solution for this issue has been tested on Windows 7. The solution may be same for Windows Vista and Windows XP operating systems.

Wamp Server is offline always: Make online(Active) [Icon not Turning to Green]


Most of peoples are using Wamp Server for managing PHP files.. By installing wamp server, we can use our computer as a local host.We can change its state by clicking on Wamp server icon and choose "Put Online" or "Put Offline".


 In some case wamp server is in online stage, but you cant use you system has a local host(ie your wamps server is inactive).So we cannot run PHP files. Now let us try to make wamp server (active) by some simple steps
  1. Just Exit your Wamp Server.
  2. Uninstall Your Wamp Server.
  3. Also delete folder; C:\wamp  (If any files in C:\wamp\www, back up)
  4. Check this file 'hosts' (C:\Windows\System32\drivers\etc) is accessible. 
  5. Open file 'hosts' with notepad , check whether there is a line like "# 127.0.0.1       localhost" or not. If it is not exist, write this line. 
  6. Disable your antivirus software temporary (Especially 'Avira').
  7. Re install Wamp Server
  8. Open Wamp Server.
  9. Check whether your Wamp Server is active or not. ( look in system tray for color of icon of wamp server). If your wamp server is still inactive..
Wamp server offline to online
  • Click on icon of WampServer in system tray. From menu, select =>Apache=>Services=Test Post 80.
Wamp server offline to online
  • If you get a message of usage port 80, you have to close that working internet software like Skype, anti viruses,PHPeasy etc
  • If you get a message like this: "Your port 80 is not actually used", That is your port 80 is not using by any program. Post 80 needed to use WampServer. Now you are in correct way..
Wamp server offline to online
  • Now,  go to WampServer icon=>Apache=>Service =>Install Service.
Wamp server offline to online
  • Now you will get a message like this: "Your port 80 is available, install will proceed. Press Enter to continue.. " . Just press Enter key from your keyboard.
Wamp server offline to online
  • Now again go to Wamp server icon=>Apache=>Service =>Start/Resume Service.
Wamp server offline to online
  • Now your Wamp Server is active. Wamp Server icon's color changed Red to Orange.(Actual color of online is Green.but now you can use your Wamp Server)
Wamp server offline to online
  • Now your can open your 'local host'
Wamp server offline to online
  • Localhost opened in Firefox..
Wamp server offline to online

PORT 80 USED BY MICROSOFT-HTTPAPI/2.0

This is a common error when using WAMP. The MySql runs fine but you cannot access localhost and phpmyadmin, when accessed gives you an error 404 not found. The apache server cannot be started and when you test port 80 it keeps giving you the message PORT 80 USED BY MICROSOFT-HTTPAPI/2.0. I have dealt with this problem and wasted ample of time and figured there are different solutions to it. Below mentioned are the ways to troubleshoot this error, hope you guys find it helpful
1. PORT 80 USED BY MICROSOFT-HTTPAPI/2.0
There is a service using port 80 called MsDepSvc described as “Web Deployment Agent Service”. After stopping this service I was able to restart Apache
Go to administrative tools–>services–>web deployment agent service–>click stop to stop it or right click on properties and select disbaled to disable it
(if you cant find administrative tools, right click on start–>click on properties–>under system administrative tools, check on display this in all programs menu–>click ok, now you can find it in all programs)
Make sure no other program conflict Wamp such as Zonealarm, firewall/antivirus, NOD32, Eset, any web related program including Remote Desktop …
IIS and Apache/Wamp are both web server and might conflict in some way, so you have to disable IIS in order for Wamp to work
Disable IIS in Vista/W7:
Control Panel, Uninstall Programs, Turn Widows Features On or Off, uncheck Internet Information Services
Disable IIS in XP:
Control Panel, Add/Remove Programs, Add/Remove Windows Components, uncheck Internet Information Services (IIS)
Restart computer, then restart Wamp
Also, in folder C:\WINDOWS\System32\drivers\etc, open file hosts and delete anything in this file and have only this line below and nothing else
127.0.0.1 localhost
If using Skype, open Skype > Tools > Options > Advanced > Connection then uncheck “use port 80…” restart Wamp then Skype
and make sure Skype doesn’t use port 80
2. The wampapache service terminated with service-specific error 1 (0×1)
A misconfiguration in your httpd.conf. This is the most common. To resolve it, go to the command line (Start > Run > CMD), and enter “httpd.exe –S” in the apache\bin folder.
Port 80 is already in use. This can happen because you have another application, e.g. IIS running on port 80. Actually there is no reason you shouldn’t be able to use both, just not at the same time. From the Wamp menu you can choose Apache > Test port 80 and it will tell you which service is using it.
To stop IIS you will have to go to Control Panel > Adminstrative Tools > Services and stop the World Wide Web Publishing service.
Your firewall is blocking port 80. All firewalls are different. First, just stop the firewall to test if it’s the cause of the problem. If it is, you need to add 127.0.0.1 to the ‘safe list’.
‘IIS management service’. This can also interfere with apache, so stop it if you don’t need it.
Stop Skype (right click in the task bar, and exit the app). Then start Wampserver and you can restart Skype. Or change the Skype port numbers.
Check the ip addresses in the apache conf\httpd.conf file. There should be a line saying Listen x.x.x.x:80, with your ip address. You can either try to add a line for 127.0.0.1 (local address) or you can put your actual IP address in there. If the DHCP server of your router has issued a new address it may be different from last time, especially if you use wireless a lot. To check your local IP address, go to the command line (Start > Run > CMD) and enter “ipconfig”.
If you have Microsoft Sql Server installed, even though the IIS service is disabled, it keeps a web service named httpapi2.0 running. You should stop the service named ‘web deployment agent service’.

3. Wamp server doesn’t start apache form the console(the icon is yellow/orange in color)
Go to administrative tools–>services–>wampapache–>start (icon should turn green)

Thursday, 1 November 2012

Check If A Website Is Blacklisted



If you want to make sure your website is not listed on any of these blacklists you can use a tool called BlacklistAlert.org. Simply input your domain and the tool will check on more than 30 spam and malware blacklists.
This tool can also be useful in other situations, including:
  • If you are considering to buy a registered domain name and want to make sure it’s clean.
  • If you just moved to a new hosting company or to a new server and want to make sure your IP address is clean.
  • If you are considering to exchange links or create a partnership with another website and want to make sure it’s clean.

Recovering Data from a Crashed Windows


Some online forums were suggesting that the easiest method to recover your data in similar situations was to use Knoppix, which is a Linux distribution bootable directly from the CD.
I downloaded Knoppix (using another PC), burned it into a CD and loaded it on my computer. It worked like a charm. Within 10 minutes I had already copied all the necessary files from the hard disk. I was even able to fix the Windows registry files inside the Knoppix OS, and after that the computer started working again, even if in safe mode and without my own configurations.
Luckly I had another computer which I could use while mine was dead. If you only work on one computer, however, I would suggest that you keep a Knoppix CD stored for such emergencies. The 700 Mega download might take some time depending on your Internet connection, but I think it is definitely worth it.
This tip saved my precious data so I felt like sharing it. The episode also made me want to try the transition from Windows to Linux. I am loading Ubuntu on my notebook right now, we´ll see how it goes!