Asif's Blog

A blog. A website. A semi-coherent receptacle for Asif with bits of technology, personal interests and notable items…

How to fix: unable to find war3.exe . make sure it is correcly installed.

Fix by r.2.d.2_PL

Warcraft 3 uses microsoft Visual C++ 8.0 runtime libraries. If the libraries are not installed in the system – w3 gives warning about the system misconfiguration.

You can download microsoft libraries from here. Don’t worry – digitally signed by microsoft. Taken from VC5 package and legal to distribute freely. After the installation Warcraft3 will run normally.

Download here

Step 2: If it didn’t worked **

** you should do it after you tried previous method but it didn’t worked

If installation of previous file didn’t worked and WC3 still can’t be run you need new version of microsoft installer (download page – directly from microsoft). Select your OS language from list, then go bottom and you’ll find something likeWindowsInstaller-KB893803-v2-x86.exe
Download this, install and then run the fix by r2.d.2_PL again.

Source: http://warfix.org/

Filed under: Troubleshooting, ,

How to fix Fatal error: Allowed memory size of 8388608 bytes exhausted

I got this fatal error when I tried to login to my WordPress account:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 325616 bytes) in /home/../../admin.php on line 22

Solution:

1. You need to reconfigure php.ini file. If you don’t have access to this php configuration you need to ask server administrator to change this.

Run a phpinfo file to display the configurations in the php.ini file.

look at where it says memory_limit – It will mostly like say 8MB which is the default.

Now edit your php.ini file to 16MB. Restart your httpd (apache) server.

2. If this doesn’t work, you will have to edit your script ad put this code at the very top:

ini_set(“memory_limit”,”16M”);

3. Else look for .htaccess in your root and add the following line to it:
php_value memory_limit 12M

Hope this helps.

Note: Always make a backup of the php.ini file before modifying the php.ini file.

Filed under: Troubleshooting,

Adding Flash Player into FireFox Portable Without Installing It

In my university I don’t have an administrator privileges computers, I can’t install FireFox 3 in it, so I have to use FireFox 3 Portable from PortableApps.

Unfortunately, this FireFox 3 Portable is not bundled with Adobe Flash Player, so I need to install it manually, which is I can’t due to the limited access rights.

To resolved this problem, I try to follow the tips given by Fabio on his blog post, Installing Flash Player Plugin on Firefox without having Administrator Access or Premissions. The idea is the same, the only different is the folder path where we should place the flash files, if in normal Firefox installation the flash extension files should be placed in folder %APPDATA%MozillaPlugins, then for Firefox Portable, all files should be placed in FirefoxPortableAppfirefoxplugins folder.

So, these are the steps that we need to do:

  1. Download Flash Player .xpi version
  2. Rename flashplayer-win.xpi into flashplayer-win.zip and extract it using WinZip or 7Zip etc.
  3. Copy flashplayer.xpt and NPSWF32.dll files into folder FirefoxPortable\App\firefox\plugins.
  4. Restart your Firefox portable.

After restarting FireFox Portable, just visit any site with Flash on it, for example Youtube, to test the installation. If you can see the Flash object, then you’ve successful, please leave me a comment 🙂

Filed under: Troubleshooting,