Items filtered by date: December 2014

Friday, 16 October 2009 11:08

MySQL server has gone away (error 2006)

Two most common reasons (and fixes) for the MySQL server has gone away (error 2006) are:

  1. Server timed out and closed the connection. How to fix: check that wait_timeout variable in your mysqld’s my.cnf configuration file is large enough. On Debian: sudo nano /etc/mysql/my.cnf, set wait_timeout to at least 600 seconds (you can tweak/decrease this value when error 2006 is gone), then sudo /etc/init.d/mysql restart. I didn’t check, but the default value for wait_timeout might be around 28800 seconds (8 hours).
     
  2. Server dropped an incorrect or too large packet. If mysqld gets a packet that is too large or incorrect, it assumes that something has gone wrong with the client and closes the connection. You can increase the maximal packet size limit by increasing the value of max_allowed_packet in my.cnf file. On Debian: sudo nano /etc/mysql/my.cnf, set max_allowed_packet to to something like 64M (you can tweak/decrease this value when error 2006 is gone), then sudo /etc/init.d/mysql restart.

NB:

  • my.cnf might not be present so look for my.ini instead
  • In xampp the file my.ini is located in %xampproot%\mysql\bin
Published in Windows XP
Friday, 16 October 2009 11:03

"Requested lookup key" IE7 Problem

After installing IE7, when i try to go on any website it launches a pop-up, stating "The requested look up key was not found in any activation context" and doesnt launch any webpages. Yet Mozilla Firefox works fine.
 


its the tabbing page of IE7 that is causing the upgraded IE6 to give the 'lookup key error'

Basically after installing xp pro, It runs like IE6, but with IE7 engine behind.

So the only solution is to uninstall IE7 manually to revert to IE6 interface:

see link below (method 2) :

http://www.lockergnome.com/nexus/blade/2006/12/21/how-to-uninstall-internet-explorer-version-7-method-2/

To uninstall IE7 - :

Click Start, click Run, type %windir%\ie7\spuninst\spuninst.exe,

NB Uninstall it via Add/Remove Programs, click Show Updates and select Windows Internet Explorer 7.0. When you reinstall it, make sure you reboot immediately after you install.


 

Published in Windows XP
  • -Put your device in bootloader Mode
  • -Disable USB in Active Sync
  • -Now connect woth USB cable and open mtty utility
  • -Select the "WESUSB... " port
  • -You shall see a blank white screen..press Enter to get "USB>"
  • -Then type ( as BUzz has informed) set 14 0
  • (here I wud like to inform that after doing the above I did not get success so I typed set 14 10,then set 14 9 for two three times)
  • -Then I ran the ROM Upgrade directly(After enbabling the USB)
  • -I then followed the procedure as informed on the Congratulations Screen that is hold the two "-" buttons and soft reset and then pressed 0
  • -I got them back to normal..
Published in Windows XP
Friday, 16 October 2009 00:00

Reset file permissions recursively via PHP

You need to have shell_exec enabled. Upload the PHP file below. Then to run, visit that php file in your browser.

{code class="brush: php"}{/code}

Published in PHP
Thursday, 15 October 2009 21:55

Remove Hidden USB Devices

1. Open a Command Prompt.
2. Type "set DEVMGR_SHOW_DETAILS=1" (without quotation marks) and press        Enter.
3. Type "set DEVMGR_SHOW_NONPRESENT_DEVICES=1" (without quotation marks) and Press Enter.
4. Type "start devmgmt.msc" (without quotation marks) and click press Enter.
5. Click View. Click Show hidden devices.
6. Click "+" to expand devices, Unknown devices and USB devices.
7. Are there any devices and unknown devices (including grayed out devices)? If so, please right click it and click Uninstall them.

or

there is a method to add this in to the enviromental path, add here when found.

Published in Windows XP
Thursday, 15 October 2009 21:52

USB device does not get Recognize

I found a fix for USB devices not working, actually came from Microsoft technicians. Apparently there's a problem with the Intel USB chipsets going flakey
 


Step 1: Remove Hidden Devices

1. Open a Command Prompt.
2. Type "set DEVMGR_SHOW_DETAILS=1" (without quotation marks) and press Enter.
3. Type "set DEVMGR_SHOW_NONPRESENT_DEVICES=1" (without quotation marks) and Press Enter.
4. Type "start devmgmt.msc" (without quotation marks) and click press Enter.
5. Click View. Click Show hidden devices.
6. Click "+" to expand devices, Unknown devices and USB devices.
7. Are there any devices and unknown devices (including grayed out devices)? If so, please right click it and click Uninstall them.

Step 2: Remove all oem*.inf files

=========================

1. Click start and click run then under the run line type in the command "cmd" (without the quotation marks)

2. In the command line, type in the following (without the quotes) and press enter after each command:

"cd \windows\inf"
"ren infcache.1 *.old"
"ren oem*.inf *.old"
"del C:\windows\setupapi.log"
"exit"

Step 3: Removing all entries under HKEY_LOCAL_MACHINE/Enum/USB that start with VID using REGEDIT.

==================================================================

Removing the VID entries from the registry will cause them to be redetected at restart.

CAUTION: If you have a USB keyboard, mouse, scanners, and other things you know are working, do not remove the VID entry for these devices, otherwise, Windows may not restart correctly.

1. Click Start and click Run. Type regedit and click OK. The Registry Editor window will open.

2. Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB.

3. Highlight and delete all the VID_.... entries for usb devices that you cannot identify. Remember not to delete the entries mentioned above.

You may not have permssion to delete keys, do the following.
Permissions may be set allowing the deletion of the VID_ entries by following the steps below:

a) Right-click the key to be deleted, and then click Permissions. The VID_... Permissions window will open.
b) With Everyone highlighted in the Group or User name section, select Full Control in the Permissions section.
c) Click Apply, and then click OK.

5. Restart your compuer.

Step 4: Reconnect the USB device that was not previously working. Windows should automatically rerinstall the drivers.
 

Published in Windows XP

I cannot print my envelope from access throught word because it cannot find the query as a data source to mail merge from.


For starters, why not initiate the mailmerge from Access?

You do that, selecting the query in Access and then from the Tools menu, select Office Links and then Merge it with Microsoft Office Word.

As an alternative

From the Tools menu in Word, select Options and then go to the General tab and check the box against the "Confirm conversions at open" item. Then when you attach the data source to the mail merge main document, select the DDE option.

You also need to turn macros security down to low. in options/security.

Published in Windows Family

After years of frustration looking through the web for someone who knew
how to pull this off, and thinking it wasn't possible, I finally got it
to work!! If I am not the first, at least there is another hit on the
search to help now!

The problem was, as previous threads indicated, only basic support was
provided in Windows XP for the stick. There was no control panel for
programming it, and no test forces, and worst of all, the forces were
all at MAXIMUM in games, which rendered it pretty much unusable.

Too bad, the stick is so well built too. Trust me, I opened mine to
try to find a force adjustment. There isn't one. But a very
impressive mechanism!!!

This procedure may work for the wheel, and the affected gamepads, I
don't know.



TO GET IT TO WORK...

1. Joystick is assumed plugged in.

2. Get ahold of the sidewinder 4.0 drivers for the stick. On
driverguide.com, I had this success with the ff2_software4.0.zip file.
Extract the zip.

3. Right click the setup.exe file, and hit Compatability.
Select 'Run this Program in Compatability Mode' for Windows 2000.
Go through setup. You should SEE the control panel, and have SOME
operation at this point in Control Panel / Game controllers, but the
changes don't stay in effect. Keep going!

4. In the device manager.... (Control Panel / System / Device Manager)
Double Click 'Human Interface Devices'. On EACH of the Force Feedback
2 entries, click update driver, NO to Windows Update, Install from List
or specific location, Don't Search, Pick the entry that is... NOT
digitally signed. Do this for BOTH entries.

5. In the driver archive, under '\SETUP\setupdir\win2k' select the
GcKernal.sys file, and hit CTRL-C (Copy). Browse to the
windows\system32\drivers\ folder, and hit CTRL-V and agree to copy over
the newer file. Cleck the date of the file in this folder to be sure
that the correct one is there. Or just hit control-V again to see if
both files are dated the same in the warning box If they are, you are
good.. (Date: 6/28/2000)
System file protection tried to replace it back with the newer one for
me, but after repeated pastes, it stayed. Doesn't make sense to me
either. If you have trouble, try it in safe mode! Your goal is to get
the file dated in the year 2000 to STAY in the folder. (gckernal.sys)

6. Once alll of these steps have been done successfully, reboot.

7. To Test Operation - Control Panel / Game Controllers / Make sure
Force Feedback device is highlighted, and hit properties. On the
'Forces' tab. Change the force strength, and see if the changes STAY IN
EFFECT after repeated presses of the test buttons. If they do, the
GAME will work with the newly adjusted force! FINALLY!

Summary - Yes - we are tricking Windows XP to install the driver and
software, then FORCING it to install part of it that it didn't like.
Perhaps driver signing checking, if turned off, will allow a person to
skip steps 4 and on? Seems undesirable. Step 4 may be unneeded, I
don't know. I don't feel like undoing everything to find out. We are
getting Sidewinder 4.0 software to work in Windows XP! I just repeated
that to help searchers.
 

Published in Hardware
Thursday, 15 October 2009 16:14

No Drives in Disk Manager

This is caused by a virus running. Virut or a variation usually, do the following with the hard drive mounted on another PC

  • Run FixVirut
  • Run Dr Curit
  • Run Malware Bytes

Then run all virus and spyware precautions again when the drive is back in its original Pc

Published in Windows Family
Thursday, 15 October 2009 15:42

Repair windows autoplay / autorun

When removable media or a digital camera are inserted to the PC no autoplay occours.

  • autorun is where a particular program is run via autorun.ini
  • autoplay is where the slection box, 'What do you want to do now' pops up ie import to picassa

These instructions should fix both issues. My solution is what i have confirmed worked for me, start there and work throught the solutions.


My Solution

  • REGSVR32 SHIMGVW.DLL
  • Ran the utility with all the tick boxes, This One
    (reset both the columns and turned on all drives, on both sides)

  • Re-register the following DLL, Click on Start, click on Run and type the following

    REGSVR32 SHIMGVW.DLL

This will take a few seconds to run and you will get a "success" message.


here is how you can enable Autoplay using group policy...

  • start --> run
  • type Gpedit.msc, go to computer configuration , administrative templates , system
  • there search for "turn off autoplay".
  • if you want to enable Autoplay...Disable it. don't let it be "Not configured".
     

 Tutorial from techarena

Windows XP Autoplay Repairing Tutorial

Autoplay requires the Shell Hardware Detection service, make sure
it's set to automatic and is running. To access Services, open the
Run box and enter: %SystemRoot%\system32\services.msc /s

================================================== ======
CD-ROM May Not Run Automatically in Windows XP
http://support.microsoft.com/kb/314855

The Autorun.inf file and the programs that the Autorun.inf file is
designed to run may not run if you are logged on to Windows XP as
a user without either Power User or Administrator rights.
By default, only users who are logged on to Windows XP with Power
User or Administrator rights are allowed to install software. In
Windows XP, files that have an .inf extension are considered to be
setup information files. As a result, the Autorun.inf file does not
run if you do not have Power User or Administrator rights.

================================================== ======
A users comment on a forum somewhere:

"I installed CCleaner today and it removed some obsolete CLSID registry
entries. Now AutoPlay works!"

CCleaner - Slim 900 KB (Freeware)
http://www.ccleaner.com/download/builds.aspx

================================================== ======
Make sure that this registry value is set to 0:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"allocatecdroms"="0"

And that this one is set as shown:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Cdrom]
"Start"=dword:00000001
"Autorun"=dword:00000001

================================================== ======
How to restore Autoplay to its default settings:

Enable/Disable Autoplay in Windows XP
http://www.typhoonsoftware.com/configxp.htm

================================================== ======
Disable Autorun while keeping all the functionality of Autoplay!

1. Copy below and paste into Notepad.

----------copy inside only----------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"

----------copy inside only----------

2. Save-as Autorun_Disable.reg (or any name + .reg)

3. Double-click or right-click and merge into the registry.

The effect is immediate, no restart or logoff required.

================================================== ======
The BEST software for fixing autoplay:

Autoplay Repair Wizard 1.0 77 KB (Freeware)
http://www.microsoft.com/downloads/d...DisplayLang=en

AutoPlayConfig 1.0 164 KB (Freeware)
Info: http://www.typhoonsoftware.com/autoplayconfig.htm
Download: http://www.autoruntyphoon.com/AutoPlayConfig.zip

Autoplay Repair 2.2.2 225 KB (Freeware)
Main page: http://www-stud.uni-essen.de/~sddabacz/prog.php?id=apr
Homepage: http://www.orangeblue.net.ms/
Download: http://www-stud.uni-essen.de/~sddabacz/apr/APR.zip

CleanHandlers 2.4 73 KB (Freeware)
Info: http://windowsxp.mvps.org/autoplayhandlers.htm
Download: http://windowsxp.mvps.org/utils/cleanhandlers_2_4.zip

AutoRun Settings 0.x 9 KB (Freeware)
Info: http://www.uwe-sieber.de/drivetools_e.html
Download: http://www.uwe-sieber.de/files/autorunsettings.zip


ju.c
 

Published in Windows XP
Page 86 of 95