File system has changed from NTFS to Raw - Problem and solution
If your NTFS file system has changed to RAW - that's probably because your drive partition table has broken. But your data is still there and you can get it back to life. There are a lot hard drive utilites you can use - commercial and free, simple and multimegabyte fancy monsters. But this time I want to tell you about simple, but powerful command line utility, that solves your problem in a few seconds - TestDisk.
C#: basic authentication at XML web-service
In order to do a basic authentication, with username and password, for your request to remote XML web-service you have to set Credentials property of request object.


Back to C# coding
I'm back to C# coding with a new project at the company I'm currently working in.
Drupal 6: customize taxonomy lists sort order with views
Drupal 6 taxonomy lists have a strict sort order: by "sticky" and by creation date. This sort order is hardcoded within the taxonomy core module and hardly can be changed by custom themes or modules. BUT we got VIEWS!
Let's see how to sort node teasers by title:
- Go Administer -> Site building -> Views, find taxonomy_term view, enable it, click edit link
- select Defaults tab
Fix for Drupal 6 dhtml_menu module error Invalid argument supplied for foreach statement
This log warning is not a rare issue for those who got Drupal dhtml_menu module installed. Usually it something like:
warning: Invalid argument supplied for foreach() **** in */sites/all/modules/dhtml_menu/dhtml_menu.module on line ***.
Workaround on SMF error mysql_real_escape_string() expects parameter 2 to be resource, boolean given in Subs-Db-mysql.php
After updating SMF forum engine to version 2.0 I've noticed unnormal grow of error log with messages like:
mysql_real_escape_string() expects parameter 2 to be resource, boolean given in /.../smf/Sources/Subs-Db-mysql.php on line NNN