If you want to use Python with Twitter API, skip Python Twitter library for now. Get followers for any user bug makes version 0.6 pretty much useless. In addition to this, both next_cursor and previous_cursor are not supported also.
Payment problems in Magento Paypal Standard with IPN after upgrade from 1.3.x to 1.4.0.1
Published on May 21, 2010
Those who, after a seemingly successful upgrade from Magento 1.3.x to Magento 1.4.0.1, have problems with Magento acknowledging PayPal payments (changing order status from Pending Payment to Processing) and sending out New Order emails to their clients should do/check the following things:
- In PayPal: Go to My Account -> Profiles -> More Options -> Instant Payment Notification Preferences -> Edit Settings and change instant payment notification (IPN) URL in PayPal IPN settings from:
http://www.yoursite.com/paypal/standard/ipn/
to:
http://www.yoursite.com/paypal/ipn/standard/
- In Magento admin panel: Go to Systems -> Configuration -> Payment Methods -> PayPal Website Payments Standard and check that Payment Action is set to Sale and New Order status to Processing
- In Magento code: In file Ipn.php located in app/code/core/Mage/Paypal/Model/Ipn.php find function:
public function getIpnFormData($key = null)comment out line:
//return isset($this->_ipnFormData[$key]) ? $this->_ipnFormData[$key] : null;and add the following line immediately after it:
return isset($this->_ipnFormData[$key]) ? urldecode($this->_ipnFormData[$key]) : null;
This should do it. Your order status should be changing from Pending Payment to Processing and emails should work also.
Установка 1С:Предприятия 8.1 на Red Hat Enterprise Linux 5 (RHEL 5, CentOS 5)
Published on March 23, 2008
Для установки сервера 1С:Предприятия 8.1 (без Web Services) и PostgresSQL 8.2 понадобятся следующие пакеты:
- 1C_Enterprise-server
- 1C_Enterprise-server-nls
- 1C_Enterprise-common
- 1C_Enterprise-common-nls
- postgresql
- postgresql-server
- postgresql-contrib
- postgresql-libs
Пошаговые инструкции:
- Устанавливаем сервер 1С:Предприятия 8.1
rpm -ivh 1C_Enterprise-common-8.1.11-67.i386.rpm
1C_Enterprise-common-nls-8.1.11-67.i386.rpm
1C_Enterprise-server-8.1.11-67.i386.rpm
1C_Enterprise-server-nls-8.1.11-67.i386.rpm - Устанавливаем PostgresSQL 8.2
rpm -ivh postgresql-8.2.4-6.1C.i386.rpm
postgresql-contrib-8.2.4-6.1C.i386.rpm
postgresql-server-8.2.4-6.1C.i386.rpm
postgresql-libs-8.2.4-6.1C.i386.rpm - Инициализируем кластер PostgresSQL с локалью ru_RU.utf8 для русского языка или uk_UA.utf8 для украинского:
su - postgres -c 'initdb --locale=uk_UA.utf8 -D /var/lib/pgsql/data/'
- Отключаем пароли на подключение к PostgresSQL, заменяя в файле /var/lib/pgsql/data/pg_hba.conf строку
host all all 0.0.0.0/0 md5
на
host all all 0.0.0.0/0 trust
- Запускаем PostgresSQL
/sbin/service postgresql start
- Подключаемся к PostgresSQL
psql -h localhost postgres postgres
меняем пароль пользователя postgres
ALTER USER postgres PASSWORD 'new_password';
и выходим
\q
- Включаем пароли на подключение к PostgresSQL, заменяя в файле /var/lib/pgsql/data/pg_hba.conf строку
host all all 0.0.0.0/0 trust
на
host all all 0.0.0.0/0 md5
- Перезапускаем PostgresSQL
/sbin/service postgresql restart
Если у Вас установлен Apache и возникают проблемы с библиотеками при замене родного системного PostgresSQL 8.1 на 8.2 – читаем Installing the PostgreSQL 8.2 RPMs on RHEL 5/CentOS 5
Вкратце, при апгрейде postgresql-libs с версии 8.1 до версии 8.2, библиотека libpq.so.4 заменяется на libpq.so.5. Однако libpq.so.4 необходима для системного httpd Apache и после апгрейда postgresql-libs с версии 8.1 до версии 8.2, httpd Apache станет не работоспособным.
Для решения проблемы достаточно установить compat-postgresql-libs (compat-postgresql-libs-4-1PGDG.rhel5.i686.rpm) с опцией замены файлов
rpm -iv --replacefiles compat-postgresql-libs-4-1PGDG.rhel5.i686.rpm
compat-postgresql-libs также содержит libpq.so.4 и после его установки апгрейд postgresql-libs с версии 8.1 до версии 8.2 становиться возможным, так как с удалением postgresql-libs версии 8.1, libpq.so.4 поставляется пакетом compat-postgresql-libs.
Скачать compat-postgresql-libs можно здесь: http://www.postgresql.org/ftp/binary/v8.2.7/linux/rpms/redhat/rhel-5-i386/
SELinux and Samba
Published on July 3, 2007
Those who installed Samba on RHEL or any other SELinux enabled distribution may have faced the problem when they actually cannot access any Samba shares from their Windows machines. Samba logs in /var/samba/log may show lots of such messages:
[2007/07/03 16:37:44, 0] smbd/service.c:make_connection_snum(911) '/opt/blah' does not exist or permission denied when connecting to [blah] Error was Permission denied
This is probably an SELinux problem and to fix it you’ll need to execute:
chcon -t system_u:object_r:samba_share_t /opt
or, in order to survive relabel:
- add these lines to /etc/selinux/targeted/contexts/files/file_contexts.local file (if you are using targeted policy):
/opt(/.*)? system_u:object_r:samba_share_t:s0
- probably, reboot
- execute:
restorecon -R /opt/
This will set appropriate SELinux context on all files in /opt directory and SELinux won’t prevent Samba access anymore.
To allow Samba to share your home directories with SELinux execute the following:
setsebool -P samba_enable_home_dirs 1
Fedora Legacy Shutdown
Published on March 1, 2007
Fedora Legacy project announced shutdown on February 9th, 2007. It is definitely bad news for Fedora unless Fedora people understand what they do and do this on purpose. They just dropped Server spin from Fedora 7 release and now there is no way to get security updates beyond 18 month period for older Fedora releases.
We have several servers running Fedora and this means that now we must be thinking about either upgrading them to the most recent release of Fedora every 18 months or consider changing the Linux distribution we rely on. An upgrade every 18 months may not sound that bad for a workstation, but for a fully configured server it is definitely a hassle, taking into account many issues that can arise.
I do hope Fedora guys reconsider their support policy for maintenance distributions. However it is quite possible that Red Hat endorsed Fedora Legacy shutdown to drive more people toward Red Hat Enterprise Linux, in which case the chances for reconsideration are quite low.
Fedora 7 Test 2 – no Server spin
Published on March 1, 2007
Fedora 7 Test 2 has been released today, however it doesn’t provide a separate Server spin. It turns out this feature has been cancelled, which is too bad, however understandable, taking into account how much Fedora people intend accomplish with Fedora 7.
GPS navigators web site launched
Published on September 2, 2006
Finally, after spending many days preparing, organizing and verifying information about Garmin GPS devices, we’ve launched GPS Navigator web site in Ukraine.
Google July 27
Published on July 30, 2006
On July 27, exactly one month after June 27, one of our larger web sites Multiplex Systems Store regained its position for all competitive sets of keywords. What exactly caused the problem still remains a question, but this is something that is referred to as “data refresh” by Matt Cutts.
As a preventive measure for future, we are launching a static web site GSM Modem devoted exclusively to GSM modems, including GSM/GPRS/EDGE modules, terminals, PC cards and other equipment. The content is not there yet (just the domain) but we plan to add it soon. Initially it will be in Russian, but we may add Ukrainian and English content.
Google June 27
Published on July 2, 2006
It looks like something quite bad happened to Google search on June 27. There are long threads about this event on Webmaster World.com: June 27 – changes and June 27 – changes Part 2 but everybody can only guess why certain sites have been hit and certain have not.
Unfortunately Multiplex Systems Store is one of the sites that suffered badly from this event. It produced top 5 search results for a wide range of keywords and products for several month now. However, after June 27, almost all results went to nowhere, almost zeroing traffic from Google. The resolution is yet to be found.
JBuilder is not dead
Published on June 16, 2006
Borland posted JBuilder roadmap outlining future development of JBuilder including previously announced JBuilder 2007 codenamed “Peloton”. It is expected to be released in Q4 of 2006 and will be based on Eclipse for its core IDE features. Features will include:
- Support for new Java standards including Java SE 6 and the latest JSRs
- Visual GUI development for Swing and SWT
- Certified Eclipse bundle, updated regularly with the latest plug-ins
- Visual Web Services development using a familiar GUI, full round-trip development of web services and web service clients
- Virtual Peer-to-Peer Collaboration allowing distributed teams to work together with live co-editing and co-debugging (first introduced for JBuilder 2006 as a separate product)
For more information check the full product roadmap at Borland’s web site.
Posts