Please help Ukrainian armed forces! Official Fundraising

Fixing MMC cannot open the file COMPMGMT.MSC error

1 1 1 1 1 Fixing MMC cannot open the file COMPMGMT.MSC error5.00Rating 4.98 (249 Votes)

The error appears when you attempt to open Computer Management. The following message appears:

MMC cannot open the file C:\WINDOWS\SYSTEM32\COMPMGMT.MSC.
This may be because the file does not exist, is not an MMC console, or was created by a later version of MMC. This may also be because you do not have sufficient access rights to the file.

The mentioned file exists in the c:\windows\system32 directory and the user is logged on with Administator rights.

Read more: Fixing MMC cannot open the file COMPMGMT.MSC error

Joomla 1.0 and PHP 5.3

1 1 1 1 1 Joomla 1.0 and PHP 5.35.00Rating 4.98 (225 Votes)

Although Joomla 1.0 is no longer supported, there still are vast humber of sites running on that CMS. If you need to transfer Joomla 1.0.x site to webhosting with PHP 5.3.x, you may consider doing the following patches:

Edit configuration.php, and change:
$mosConfig_error_reporting = '-1';
to
$mosConfig_error_reporting = '0';


In the file /includes/Cache/Lite/Function.php  change line №92
$result = call_user_func_array(array($class, $method), $arguments);
to
$result = call_user_func_array(array($class, $method), &$arguments);


and line 100:
$result = call_user_func_array($target, $arguments);
to
$result = call_user_func_array($target, &$arguments);


And make another patch of file includes/joomla.php :
$params =& new mosParameters( $my->params, $file, 'component' );
to
$params = new mosParameters( $my->params, $file, 'component' );

Source: joomlaforum.ru

Joomla system requirements

1 1 1 1 1 Joomla system requirements5.00Rating 4.99 (282 Votes)

In this article I've tried to gather system requiremets for different versions of Joomla CMS.

Joomla 2.5 System Requirements

PHP: 5.2.4 or above
MySQL: 5.0.4 or above
Apache: 2.x or above

Joomla 1.5 System Requirements

PHP: 4.3.10 or above (If you have PHP 5.3.x, you have to set error_reporting to E_ALL & ~ E_NOTICE)
MySQL: 3.23.x or above (but 6.x not supported)
Apache: 1.3.x or above

Joomla 1.0 System Requirements

PHP: 4.2.x or above (If you have PHP 5.3.x, you may read this article: Joomla 1.0 and PHP 5.3)
MySQL: 3.23.x or above
Apache: 1.13.19 or above

Source: Joomla Technical Requirements

How to fix JComments CAPTCHA image not showing

1 1 1 1 1 How to fix JComments CAPTCHA image not showing5.00Rating 4.98 (249 Votes)

If JComments CAPTCHA picture is not showing on your site, you may try the following fix. The error was noticed with Jcomments 2.3.0 and Joomal 2.5.8, Godaddy webhosting. 

  1. Open file /administrator/components/com_jcomments/admin.jcomments.php
  2. Find line:

$lists["captcha"] = JCommentsHTML::selectList($captcha, 'cfgcaptchaengine', 'class="inputbox"' . $disabledCAPTCHA, 'value', 'text', $config->get('captcha_engine'));

and replace with:

$lists["captcha"] = JCommentsHTML::selectList($captcha, 'cfgcaptchaengine', 'class="inputbox"' . $disabledCAPTCHA, 'value', 'text', $config->get('captcha_engine', 'kcaptcha'));

  1. Save changes in file
  2. Open JComments settings and re-save current settings

Source: askjoomla.com

Order custom web software development from professionals.

How to fix Android warning: Exported activity does not require permission

1 1 1 1 1 How to fix Android warning: Exported activity does not require permission5.00Rating 5.00 (534 Votes)

Go to your project and open Android Manifest file. Lets assume that your manifest file contains an activity that has the details as follows

<activity 
  android:name=".MainActivity">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <data android:scheme="http" android:host="example.com" />
    </intent-filter>
</activity>

Add the following lines as shown below.

<activity
android:name=".MainActivity"
android:exported="false">
<intent-filter>

         <action android:name="android.intent.action.MAIN" />
         <data android:scheme="http" android:host="example.com" />

    </intent-filter>
</activity>

Wonder why we did this? Well… It means that other (arbitrary) applications the user has on his phone can bind to your Service and call whatever method they please that is exposed through your AIDL interface.

Source: http://syedasaraahmed.wordpress.com/2012/09/27/android-warning-exported-activity-does-not-require-permission/

Save settings on application close and restore settings on startup

1 1 1 1 1 Save settings on application close and restore settings on startup5.00Rating 5.00 (637 Votes)

In order to restore preferences upon application startup, you can use Android SharedPreferences class.

In onCreate metod call:

SharedPreferences sharedPref = getSharedPreferences("myprefs", 0);

// restore integer value, 1 - default

integer_value = sharedPref.getInt("integer_value", 1);

//same for the string value
string_value = sharedPref.getString("string_value", "this is a default value";

And in order to save values on application exit, write in onStop method:

SharedPreferences sharedPref= getSharedPreferences("myprefs", 0);
SharedPreferences.Editor editor= sharedPref.edit();

editor.putString("string_value", string_value);
editor.putInt("integer_value", integer_value);
editor.commit();

You can actually save other types of data also.

Also see these articles:
1. http://samir-mangroliya.blogspot.in/p/android-shared-preferences.html
2. http://developer.android.com/guide/topics/data/data-storage.html

Fixing TrustedInstaller.exe constantly crashing error

1 1 1 1 1 Fixing TrustedInstaller.exe constantly crashing error5.00Rating 5.00 (483 Votes)

Recently I encountered an error with TrustedInstaller.exe constantly crashing on my Windows 7 x64 home PC. These crashes were displayed in Windows Event Log:

trustedinstaller.exe crash

Details of the crash:

Имя сбойного приложения: TrustedInstaller.exe, версия: 6.1.7601.17514, отметка времени: 0x4ce7989b
Имя сбойного модуля: ntdll.dll, версия: 6.1.7601.17725, отметка времени 0x4ec4aa8e
Код исключения: 0xc0000005
Смещение ошибки: 0x000000000003074a
Идентификатор сбойного процесса: 0x155c
Время запуска сбойного приложения: 0x01cddd155365136f
Путь сбойного приложения: C:\Windows\servicing\TrustedInstaller.exe
Путь сбойного модуля: C:\Windows\SYSTEM32\ntdll.dll
Код отчета: 9183e05c-4908-11e2-893c-005056c00008

This recommendations helped me: http://support.microsoft.com/kb/946414
In short, they recommend to open Regedit (Press Start->type in search "Regedit"), then find the following registry keys and delete them:

  • HKEY_LOCAL_MACHINE\COMPONENTS\PendingXmlIdentifier
  • HKEY_LOCAL_MACHINE\COMPONENTS\NextQueueEntryIndex
  • HKEY_LOCAL_MACHINE\COMPONENTS\AdvancedInstallersNeedResolving

On my PC there was only PendingXmlIdentifier one. This stopped the TrustedInstaller.exe crashes and helped to solve the problem.

Also, there is an article by chentiangemalc here that describes another cause of crashing and more detailed way to investigate and solve the problem http://chentiangemalc.wordpress.com/2012/06/07/case-of-the-totally-broken-trustedinstaller/

Hope this will also help you.

How to change the master sound volume in Windows Programatically

1 1 1 1 1 How to change the master sound volume in Windows Programatically5.00Rating 4.98 (259 Votes)

Many C++ developers already know CVolumeOutMaster classes by Alex Chmut, published on CodeProject. These classes allow easily regulate and track the changes of such volume controls as Output Master Volume, WaveOut Volume and Input (WaveIn) Volume

Unfortunately these classes are not compatible with Windows 7. But in factm It's actually easier in Windows 7 Vista than it was in XP.  For Windows 7, you have to use IAudioEndpointVolume COM interfaces.

A tiny app that demonstrates IAudioEndpointVolume COM interfeace for setting master volume. To save space, all error checking was removed.

Read more: How to change the master sound volume in Windows Programatically

Google+ Has 400 Million Members

1 1 1 1 1 Google+ Has 400 Million Members5.00Rating 5.00 (790 Votes)

Google‘s social network Google+has more than 400 million members, Google’s Senior Vice President of Engineering Vic Gundotra has announced.

Gundotra posted the news on his Google+ profile today, adding that Google+ also has 100 million monthly active users — if you count in the mobile app.

“This week we also hit an important milestone–over 400,000,000 people have upgraded to Google+. It was only a year ago that we opened public sign-up, and we couldn’t have imagined that so many people would join in just 12 months,” wrote Gundotra.

For comparison, Google+’s biggest competitor, Facebook, had 955 million active users in July.

Of course, the methodology of counting active users (as opposed to the total number of users who’ve signed up for the service) between the two companies may differ, but judging by these numbers, Facebook is approximately 10 times bigger than Google+.

That may sound like a big advantage for Facebook, but one also has to take into account that it took Facebook several years to reach 100 million active users, while Google+ managed to do that within 12 months.

Source

Review of the Mailchimp E-mail marketing service

1 1 1 1 1 Review of the Mailchimp E-mail marketing service5.00Rating 5.00 (1 Vote)

Email marketing and mailing lists are still very relevant today, even in today's "socially oriented" world. Mailing lists as an important marketing tool are recommended by many experts as an effective means of advertising or promotion of a product or resource. So, today we decided to disclose this topic in detail. Here is our review of the world's leading mailing list building service - MailChimp. We are pretty sure that even the email marketing experts  will be astonised by opportunities that MailChimp offers. This service has won the "Oscar for web sites" of 2006 - the Webby Award in the category "Best IT or  Hardware Web-site".

Read more: Review of the Mailchimp E-mail marketing service

Thursday the 28th.