Monday, September 13, 2010

Quick Computer Troubleshooting

Have your computer broke down lately? Here are some quick tips on how to diagnose for the health of your CPU.


When you press the power button, does the LED indicators light up? 


If NO: Try checking the outlet if you plugged your CPU properly.


Have you plugged it properly but still no power indication? 


If YES: Then, you have a damaged Power Supply(The one inside the CPU)




Your CPU powers up. Do you hear any kind of beep?


If NO: Then probably your motherboard is dead, or your processor is fried.


If YES but you've got no display: Try checking if your VGA cord is connected to the correct port. Also make sure that power is supplied to your monitor.


There is an unusual beep, try removing your RAM card and Video Card and try cleaning its headers. Then place it back on your motherboard and power up.


Does it reach the Operating System loading screen? 





If NO: Then, you might have a bad hard disk. Try checking its cables first, if still none, try reformatting it. If non still, consider replacing it. 


It reaches the Operating System loading screen but the loading takes unusually longer than usual. 
THEN: You might have a full hard disk, or a dying hard disk slowly accumulating bad sectors.


The Operating System loading screen finished successfully but your computer has hard time reaching the desktop. There might be errors on the screen. 


THEN: Consider reformatting your hard disk. This is just a minor case of corrupted file system.

Sunday, November 1, 2009

HTTP 403.2 Error on IIS

Have you encountered error HTTP 403.2 - Forbidden: Read Access Forbidden when trying to host a site in IIS or Internet Information Services?

This is usually caused by your site referencing an external resource such as an audio file, a video file, or CSS. This explains why some of your sites which do not encounter this error load successfully but without CSS. Try putting an "In-line" CSS on your page and it shows perfectly.

This is due to the fact that your website or application hosted in IIS is not allowed to "Read" an external resource.

To fix this, you would have to go to your IIS Manager. To run IIS Manager, click Start on your taskbar, then run "inetmgr".

More information on running IIS Manager here

Then expand the and right click on "websites".


Click Image to load Hi Res Version


Go to "Home Directory" or "Directory"(In Win98) Tab and enable or check "Read" checkbox. And you're done!

Saturday, October 24, 2009

How To Install PHP on Apache on Windows XP

Before proceeding, here's what you'll need.

1.) PHP Installer, use the Non-thread Safe Version
2.) Apache Tomcat Installer
3.) Java Bridge Template to enable PHP on Apache
4.) Java JRE

If you haven't installed Java on your system yet, do it now. Apache needs Java Runtime Environment to run since all of its components are java-based.

Install Apache first to default location

Install PHP. Choose "Other CGI" when presented with choices. It is recommended that the installation directory of PHP is "C:\PHP" rather than "C:\Program Files\PHP", or it's better now to include spaces with PHP's installation directory.

After these installations, reboot your system.

Now, copy the downloaded JavaBridgeTemplate file to the webapps folder of your Apache Installation.

Try browsing "http://127.0.0.1:8080/JavaBridgeTemplate554" and "http://127.0.0.1:8080/JavaBridgeTemplate554/test.php" to see if PHP is already recognized by Apache. You should see PHP information by now.

Now, to allow or to support PHP in all Apache Tomcat's applications, or to allow PHP files to be saved directly to ROOT and not limited to JavaBridgeTemplate554 folder, copy all contents of "webapps\JavaBridgeTemplate554\lib" to "Tomcat\lib" or similar. This will make all necessary files for ROOT to run PHP available.

Now to enable directives to the Apache Engine, add these lines to "Tomcat\conf\web.xml" right before "" at the bottom: (make a backup of this file in case you'll mess it up)

<listener><listener-class>php.java.servlet.ContextLoaderListener</listener-class></listener>


<servlet><servlet-name>PhpJavaServlet</servlet-name><servlet-class>php.java.servlet.PhpJavaServlet</servlet-class>

</servlet>

<servlet><servlet-name>PhpCGIServlet</servlet-name><servlet-class>php.java.servlet.PhpCGIServlet</servlet-class>


<init-param><param-name>prefer_system_php_exec</param-name><param-value>On</param-value></init-param>

<init-param><param-name>php_include_java</param-name><param-value>On</param-value></init-param>


</servlet>

<servlet-mapping><servlet-name>PhpJavaServlet</servlet-name><url-pattern>*.phpjavabridge</url-pattern> </servlet-mapping>

<servlet-mapping><servlet-name>PhpCGIServlet</servlet-name><url-pattern>*.php</url-pattern></servlet-mapping>





Now, save it.

Now, try to launch a PHP file directly from ROOT folder. Try making a php file if you haven't done so for example:

<html><body>
<?php echo phpinfo(); ?>
</body></html>

Don't forget the .php file extension. Now try running the file directly at "http://127.0.0.1:8080/filename.php", you should see now the PHP information and you're done!

Tuesday, June 16, 2009

How To Make Symbols Using the Alt Key

There are very many characters available in every computer but is not available on the keyboard. How do we enter them? Please look at my other site located here:

How to Make Alt Symbols on the Keyboard

It also includes Yahoo Messenger Hidden Emoticons!

Have a look!

Wednesday, June 10, 2009

How To Recover from Computer Hang Ups

How many times have you experienced your computer hang up today? Or this week? Maybe a couple of times or more. Even high-end computers suffer from them too. This is because of a number of reasons:

1.) Conflicting hardware or drivers can cause computer hang ups.


This is because the computer processes may come to a deadlock when two processes confusingly rely on each other before proceeding. This can happen if the person who 'built' the computer system is not knowledgeable enough.

Fix: You need a computer technician or a specialist here since this is a case to case basis.

2.) Viruses, Adwares or Spywares


Actually there are more to mention, trojans, and their new varieties. Most of these malicious pieces of codes execute on your computer in a timely manner as programmed by its author. One such example is the Conficker virus which activates only on April Fools. When you are extensively using the memory when this code is scheduled to execute, the tendency is they perform a sort of tug-of-war on memory resources.

Other viruses simply cripple your system by executing loops that does not terminate and takes your resources indefinitely.

Fix: Prevention is better than cure. Be a responsible computer user. Don't just accept files from unknown users. Even from known users if you are not sure what they are sending to you. Do not visit porn sites, they usually carry some virus with them. Don't just blindly download free stuffs or games from P2P sites or torrents without consulting other users who tried them already.

Install an antivirus scanner.

3.) Your file system is fragmented


By fragmented, this means that you frequently delete, install, delete, install, and so on. When you delete a large file, it leaves a large gap, when you install a smaller program later, it occupies the nearest available space, if not, it goes beyond another block to search for available space. Imagine trucks, cars, motorcycles and bikes sharing the same parking lot. What a mess. This will slow the indexing of your files the next time you execute it, because it is stored in different places.

Fix: Run your Disk Defragmenter. It is found in My Computer. Right click a disk drive -> Properties -> Tools -> Disk Defragmenter. Do this once a week for all partitions you have.

4.) Not Enough Free Space


A hard disk can get clogged too. As it nears its maximum capacity, it gets slower and slower, whatever the capacity will be.

Fix: Always leave at least 10% of empty space of the maximum capacity of your hard disk or partition. This principle works for all capacities, whether you only have 40GB, or 1 TB.

5.) Low Specs


Let's get real here. When you run high end applications or games on low specced computer, expect a hang up. This is usually caused by your computer running out of resources. The application will start because it thought it can, but while antivirus programs and other programs running in the background variably take resources whenever they want, the application you want to run may suddenly find itself deprived of resources and cause a deadlock, then a hang up.

Fix: Upgrade your PC! If not, before running your applications, turn off other applications in the background including antiviruses, Instant Messengers, word files, etc. Internet Browsers also take much of the resources if not closed.

6.) Poor Computer Maintenance


Like every machine created by man, there should be maintenance. However careful you may be, machines always fail sometime in their lives.

Fix: Give your computer a cleaning. Wipe off the dusts, including the internal parts. Careful, the internal parts of the CPU is fragile and sensitive.

DO NOT OPEN YOUR COMPUTER MONITOR. IT HAS VERY HIGH VOLTAGE EVEN WHEN UNPLUGGED.

Hire a professional at this point.


That is why computer technicians are there to assist us. Their job is not easy, so let's appreciate their hardwork. For other lesser tasks, you can do it yourself.

Is this helpful for you? Share it!

Sunday, June 7, 2009

How To Enable IIS in Windows Vista

IIS or Internet Information System, is the first Windows Component that you will need to enable or install when using ASP .NET.

1.)Open your Control Panel




2.)Open Programs and Features



Control Panel Programs and Features

3.)Click "Turn Windows features on or off" located at the left side panel of the "Programs and Features" window.



Turn windows features on or off

4.)Enable or put a check on IIS(Internet Information System). At first, it will not be check, instead, just filled with a box. This is because it has some sub-features which are not enabled that you will need to enable manually.



iis internet information system in windows

5.)After enabling all under IIS, click Apply or OK. This would take several minutes and would prompt for computer restart. Do so and you're done!

Thursday, June 4, 2009

How To Extend the Lifespan of Your Flash Drive

flash drive or usb storage device

Flash Drive or Flash Disk, which is more commonly known as USB Drive is a data storage device which uses USB 2.0 interface. USB is using a serial transfer of data. Modern computer systems are already equipped with USB ports and drivers. Windows 98 and below will have to install the drivers manually.

Capacities may already reach up to 32 GB, some experimental USBs found in China can reach up to 320 GB!

Even though a Flash drive is sturdier than its diskette counterpart, it has still some problems.

These includes:



1.) Data inside the USB suddenly disappears in an unrecoverable state. You would usually have to reformat the flash drive to correct this error, but the files are gone.

2.) The USB drive will suddenly become unusable, or deteriorate.

Common reasons



For the above mentioned problems, the causes are usually the same.

These includes:



- Flash drive not properly ejected from the computer.
Use the taskbar option as shown below to properly eject a USB drive.
properly removing a usb drive or flash drive

- The Flash disk is inserted to a damaged USB port. A damaged USB port in a CPU can sometimes generate uncontrolled electricity powerful enough to overwhelm the tiny circuity of the USB, damaging the entire device.

- The Flash disk was submerged in water and was not immediately or properly dried.
Flash disks can survive being accidentally submerged in water. In this case, immediately remove the USB from the body of water, and wipe it dry. Place it under direct sunlight or use a blower. This should save your USB.