Category: Windows XP — admin @ 10:13 pm — Comments (0)

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

 

Category: Uncategorized — admin @ 11:49 am — Comments (0)

I have found this article useful. Tested on Ubuntu 12.04 LTS as host and Windows 7 sp1 as guest.

https://help.ubuntu.com/community/VirtualBox/USB

Category: Ubuntu — admin @ 11:15 pm — Comments (0)

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).

(more…)

Category: Magento — admin @ 4:43 pm — Comments (4)

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].

(more…)

Category: JavaScript — admin @ 12:11 pm — Comments (0)

Initial conditions:

var fullPath = 'folder1/folder2/folder3/filename.jpg';

What need get:

filename.jpg

(more…)

Category: Ubuntu,Windows XP — admin @ 11:13 pm — Comments (0)

I have faced the problem installing Windows XP on Virtualbox. I will describe in details installing process from CD. Environment: Ubuntu 9.10 i386, Virtualbox 3.2.8-64453.

(more…)

Category: Magento — admin @ 8:49 pm — Comments (8)

I have got an error for Magento 1.3.1.1 and PHP 5.3.2:
Fatal error: Method Varien_Object::__tostring() cannot take arguments

PHP 5.3.2-1ubuntu4 with Suhosin-Patch
Magento version: 1.3.1.1

Below solution of this issue:

(more…)

Category: Magento — admin @ 11:17 pm — Comments (0)

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>
Category: Magento — admin @ 3:25 pm — Comments (0)

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;
}

(more…)

Category: Magento — admin @ 6:54 pm — Comments (13)

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’.

(more…)