failed to get proc address for getlogicalprocessorinformation (kernel32.dll) Skype

Reproduced on Windows XP, Service Pack 2. The issue happend after updating Skype from version 6.6.0.106 to 6.10.

Solution: no need to install Service Pack 3, just uninstall version 6.10, install 6.6.0.106 and disable automatic update.

Link: http://download.skype.com/msi/SkypeSetup_6.6.0.106.msi

Tools -> Options -> Advanced -> Automatic updates ->Turn off automatic updates

Probably installing Service Pack 3 also can fix the problem, not tested, but described solution will fix the issue 100%.

Original information was found here: http://community.skype.com/t5/Windows-desktop-client/Skype-Fatal-Error-KERNEL32-dll/td-p/1916819/page/2

 


Postfix relay gmail ubuntu

Sending emails  from gmail account using PHP mail() function. Tested on Ubuntu 10.04.

$ sudo apt-get install postfix libsasl2-2 ca-certificates libsasl2-modules

vim /etc/postfix/main.cf:

relayhost = [smtp.gmail.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_use_tls = yes

Need to perform clean up after adding the line above (remove useless lines).

Continue Reading


Magento hebrew full text search

Proper using hebrew in Magento needs some tuning. I had a problem to find such phrases as: ‘ביג אפל’ or ‘אפל’. I have used MySQL 5.1.49. The minimum and maximum lengths of words to be indexed are defined by the ‘ft_min_word_len‘ and ‘ft_max_word_len‘ system variables.
SQL: ‘SHOW VARIABLES;’ I have found that ‘ft_min_word_len’ was 4.
I have changed it to 2 in ‘/etc/mysql/my.cnf‘ in [mysqld].

Continue Reading




Magento new theme for admin part

Magento allows customize admin theme. It’s like new theme for frontend but needs specific configuration in config.xml.
Below is an example:

<?xml version="1.0" encoding="UTF-8"?>
<config>
    <modules>
        <YOURMODULE_Adminhtml>
            <version>0.0.1</version>
        </YOURMODULE_Adminhtml>
    </modules>
    <stores>
       <admin>
           <design>
               <theme>
                   <default>YOURADMINTHEME</default>
               </theme>
           </design>
       </admin>
    </stores>
</config>

Illumination options for configurable products in Magento

The following code allows you illuminate options for configurable products in Magento.

The steps are:

0. Create configurable product with “size”, “color”, “manufacturer” options.

1. Create new field in the table “catalog_eav_attribute”:

ALTER TABLE `catalog_eav_attribute`
ADD `configurable_option_type` TINYINT( 1 ) UNSIGNED NOT NULL

2. Open method Mage_Adminhtml_Catalog_Product_AttributeController::saveAction
and add verification:

//CONFIGURABLE OPTION TYPES
if (!isset($data['configurable_option_type'])) {
    $data['configurable_option_type'] = 0;
}

Continue Reading


Add new image type for product in Magento

The goal of this article is to show to add new image type to product in Magento.

By default Magento has 3 type of images:

  1. Base image
  2. Small image
  3. Thumbnail image

Typically these types of images is sufficient. But sometimes it becomes necessary to add a new type of image. Add a new type of image is easy as Magento in the gallery displays all the attributes for which the attribute ‘input_type’ equals ‘media_image’.

Continue Reading


Magento performance optimization with Varnish cache

OVERVIEW

After installing Magento on hosting you probably have a desire to optimize its work.

Google offers solutions, which consist on using one of the following options: installing higher-performance hardware, correction for mysql/php configuration, using PHP accelerators, accelerate downloads JS and CSS, the correction assignment expires date for content, customization Magento core files to fit your needs.

Varien released a book titled “Enterprise Edition Whitepaper High Performance eCommerce” which explains the above methods of  Magento optimization. I recommend reading this book and use the described methods of optimization.

I propose another new approach for the optimization of Magento, which was not described in the Internet before. I propose to use Varnish for caching pages.

What is Varnish you can read here. Varnish handles the request, looks in the cache this page and, if such page is found, returns it. If the page is not found in the cache – a request sent to Apache. This approach allows you to create any number of dynamic pages.

Continue Reading



Pages:12