Aleksey Tkachenko
Drupal developer, project manager and internet microbe.
Updates
-
"Успех или провал команды на длинном отрезке зависит _прежде всего_ от личных качеств ее лидера (хозяина в идеале). Причем главным, конечно, является ослиное упорство в достижении целей. И 90% известных мне больших провалов были связаны с тем, что лидер или мудак, или ленивый мудак, или жадный тупой ленивый мудак. 10% это всякие форс-мажоры, как без них. И еще очень важно, чтобы у лидера был напарник, но тут важно, чтобы напарник не оказался жадным тупым ленивым мудаком."Posted 10 days ago
-
The best Pinterest clone lol: http://www.sex.com/Posted 2 weeks ago
-
На площади бастилии прямо перед новым президентом развеваются турецкие, алжирские и палестинские флаги :) франция....Posted 2 weeks ago
-
Ахахаха, это официально. Во Франции каждый пятый - расист и националист.Posted 4 weeks ago
-
panic mode = onPosted 6 weeks ago
-
Пидар-компания "Украинские авиалинии" за смену билета просит 350 евро. При полной стоимости 430. Совсем ебанулись там блять, будем пытаться идти другим путём.Posted 7 weeks ago
-
На Freebox появилась Angry Birds, ждём её появление теперь на экране микроволновки, часах и домашнем телефоне!Posted 2 months ago
-
в 2013 озера в парке Vincennes откроют для купанияPosted 2 months ago
-
Земфира в La Cigale в это воскресенье.Posted 2 months ago
-
нашёл смешное французское слово: Ébéniste ыхыхыPosted 2 months ago
-
оказывается, во французских картах у каждого персонажа есть свое собственное имя http://i761.photobucket.com/albums/xx255/ebabuka/cartes.jpgPosted 3 months ago
Photos
Recent tracks
-
Beloved Freak by {u'mbid': u'f9ef7a22-4262-4596-a2a8-1d19345b8e50', u'#text': u'Garbage'}2 weeks ago
-
Man On A Wire by {u'mbid': u'f9ef7a22-4262-4596-a2a8-1d19345b8e50', u'#text': u'Garbage'}2 weeks ago
-
Battle In Me by {u'mbid': u'f9ef7a22-4262-4596-a2a8-1d19345b8e50', u'#text': u'Garbage'}2 weeks ago
-
Sugar by {u'mbid': u'f9ef7a22-4262-4596-a2a8-1d19345b8e50', u'#text': u'Garbage'}2 weeks ago
-
I Hate Love by {u'mbid': u'f9ef7a22-4262-4596-a2a8-1d19345b8e50', u'#text': u'Garbage'}2 weeks ago
-
Felt by {u'mbid': u'f9ef7a22-4262-4596-a2a8-1d19345b8e50', u'#text': u'Garbage'}2 weeks ago
-
Not Your Kind Of People by {u'mbid': u'f9ef7a22-4262-4596-a2a8-1d19345b8e50', u'#text': u'Garbage'}2 weeks ago
-
Control by {u'mbid': u'f9ef7a22-4262-4596-a2a8-1d19345b8e50', u'#text': u'Garbage'}2 weeks ago
-
Blood For Poppies by {u'mbid': u'f9ef7a22-4262-4596-a2a8-1d19345b8e50', u'#text': u'Garbage'}2 weeks ago
-
Big Bright World by {u'mbid': u'f9ef7a22-4262-4596-a2a8-1d19345b8e50', u'#text': u'Garbage'}2 weeks ago
Top artists
Top tracks
-
158 plays
-
157 plays
-
108 plays
-
108 plays
-
Once by Blackfield107 plays
-
Miss U by Blackfield104 plays
-
101 plays
-
96 plays
-
94 plays
-
93 plays
-
91 plays
-
67 plays
-
67 plays
-
64 plays
-
62 plays
-
62 plays
-
60 plays
-
59 plays
-
58 plays
-
58 plays
-
57 plays
-
57 plays
-
57 plays
-
55 plays
-
55 plays
-
55 plays
-
54 plays
-
Все Пройдёт by 7раса54 plays
-
54 plays
-
52 plays
-
52 plays
-
52 plays
-
52 plays
-
На Качелях by 7раса52 plays
-
52 plays
-
51 plays
-
51 plays
-
51 plays
-
51 plays
-
Девочка Оля by 7раса49 plays
-
48 plays
-
Scars by Blackfield48 plays
-
48 plays
-
47 plays
-
47 plays
-
47 plays
-
47 plays
-
47 plays
-
46 plays
-
46 plays
Profile
Summary
Experience
- Feb 2008 - PresentTechnical Project Manager / AdyaxThe first and the best Drupal shop in France.
Education
Additional Information
Updates
-
@mtopolov хоть бы не позорился и на английском нормальном написал описание сессии
-
Quite useful userscript for Drupal developers http://t.co/pWObJHJY
-
Drupal Views now supports queries of Google Analytics report data http://t.co/DDvx6Bkf
-
Drupal 6.26 released http://t.co/GF5wl6Cc
-
@vasyakha в Париже есть программка для телефона, но создает проблемы скорее, потому что народ из-за неё плохо распределяется по вагонам )
-
@goruha12 лолшто, 512 мозгов надо минимум для ебаного редактора кода? закопать
-
@mrbozhko хуле ты там забыл? )
Posts
Whenever this happens, login to your aegir server, change directory to hostmaster installation and try to run:
drush @hostmaster hosting-dispatch --debug
If this command will return you any errors - first you need to fix them. After that, you'll be fine.
Tags
aegirFinally i updated my blog to Drupal 7 from Drupal 6.20. Wasn't hard at all, but still requires some skills and understanding of Drupal internals. Also site theme is now changed to Sky which is a nice CSS3 + HTML 5 powered theme implementing 960gs framework.
If your servers using non-standart SSH port, then Drush can fail using aliases for some commands (in my case it was sql-sync). The fix is already committed to HEAD, but until then you can apply patch from here
http://drupal.org/node/820514
And the fix is - convert all your CSS files into UTF-8 encoding.
From here: http://drupal.org/node/881132
Tags
fixSymptoms:
1. XDebug is not working
2. Code completion is not working
3. "Go-to definition" is not working (CTRL+Click on function name)
4. Eclipse do not see your PHP errors
Usually this means that Eclipse do not know that your project is PHP type, sometimes it happens when you create a project via checkout from SVN. So, what to do:
1. Create new PHP project and save it. Check if everything working with the new project.
2. Check .project file in the root of the new project directory you just created. You should see something like this:
org.eclipse.wst.validation.validationbuilder
org.eclipse.dltk.core.scriptbuilder
org.eclipse.php.core.PHPNature
3. Open .project file from your old non-working project. See the difference? There are no validators definitions and nature of project is unknown
4. Copy contents from new .project file to old one. Make necessary modifications (like proper project name). Save.
5. Restart Eclipse.
If you didn't know it before - there is a nice module which will provide autocomplete functionality to all of the search forms on your Drupal site. Recently i have installed this module on our development box and everything was pretty fine. Today i pushed a new version of the site to the preproduction box and autocomplete stops working with errors:
PHP Fatal error: Uncaught exception 'Exception' with message '"0" Status: Request failed' in /sites/all/modules/apachesolr/Drupal_Apache_Solr_Service.php:272
Stack trace:
#0 /sites/all/modules/apachesolr/SolrPhpClient/Apache/Solr/Service.php(964): Drupal_Apache_Solr_Service->_sendRawGet('http://192.168....')
#1 /sites/all/modules/apachesolr/apachesolr_search.module(246): Apache_Solr_Service->search('finance', 0, '20', Array)
#2 /sites/all/modules/apachesolr/drush/apachesolr.drush.inc(145): apachesolr_search_execute('finance')
#3 [internal function]: apachesolr_drush_solr_search('finance')
#4 /usr/share/drush/includes/drush.inc(51): call_user_func_array('apachesolr_drus...', Array)
#5 /usr/share/drush/drush.php(90): drush_dispatch(Array)
#6 /usr/share/drush/drush.php(40): drush_main()
#7 {main}
thrown in /sites/all/modules/apachesolr/Drupal_Apache_Solr_Service.php on line 272
Drush command could not be completed.
I did some investigation and the problem was in the size of headers which were getting passed to solr. Fix in server.xml:
Change:
connectionTimeout="20000"
redirectPort="8443"
URIEncoding="UTF-8"/>
To:
connectionTimeout="20000"
redirectPort="8443"
URIEncoding="UTF-8"
maxHttpHeaderSize="8192"/>
And restart Tomcat.
Related issues on Drupal.org:
"0" Status: Request failed
Helpful handbook page:
Troubleshooting
Return the path to the current themed element.
The main thing is that if you will call it from the module preprocess hook - it will return the
path to the module.
So if you want to keep your logic in code and still be able to help your designer/js-coder (who doesn't know for sure where is the custom module files, but know the theming a bit):
drupal_add_js(drupal_get_path('theme', variable_get('theme_default', 'garland')) ."/js/cooljavacriptfilehere.js");
From api.drupal.org:
It can point to the active theme or the module handling a themed implementation. For example, when invoked within the scope of a theming call it will depend on where the theming function is handled. If implemented from a module, it will point to the module. If implemented from the active theme, it will point to the active theme. When called outside the scope of a theming call, it will always point to the active theme.
As you may already know, you can control the comments module behavior with user permissions and with per node-type settings. But what if you want to change the node comments access on the fly?
The problem:
On some nodes i want to disable the comment form for current user, but show him the comments. It is possible with the default comment settings of this node type or with access permissions. But what if the permissions are configured for full read-write access for the current type of node and current user have permission to post comments?
Solution:
No normal solution for the moment. The blocker is comment_render() function which is not granular enough for checking for changed permissions on the fly. There are temporary solutions with templating system which requiring overriding default box.tpl.php and checking for the access in this template (it is very ugly, because the point of templates is to separate site logic from display) and overriding default comment callbacks in comment/reply/%nid menu item with hook_menu_alter().
The point of this post? There are a lot of small common things which are very hard to implement using current state of some core modules. Hope that Drupal 7 will fix that.