WordPress Error 500 – Internal server error on Empty Comment

2017/05/17
By
WordPress Error 500 – Internal server error on Empty Comment

Problem – Embarrassing Error 500 I am running latest Word Press 3.0.1 on IIS 7.0.  If visitor tries to leave an empty comment or forgets to enter name or email, an ugly 500 – Internal server error will appear on the screen.  This is extremely embarrassing for the host and for the site. I approximately know that I have three ways to approach this problem: – Disable error 500 on IIS side to allow WordPress to handle it; – Lower level of error generated in WordPress code (IIS will not catch it then) or – Write a local JavaScript to prevent user from posting with empty fields. Solution – One click in…

Read more »


04 Third day – 2014-05-25 SUN – Back to the car and comfort (I)

2017/05/16
By
2014-05-25 SU 09;57 Forest Road

Rephrasing the famous song, in the wild you acutely responsible for . . . Every move you make, Every step you take. If you slip and fell – it is your responsibility.  If you forget to pack something – it is your responsibility.  There is no way of escaping this simple fact. The night in the wild was quiet and uneventful.  I do not know, if it was raining during the night, because I put on earplugs.  I always bring them along to sleep better and ignore all the noises outside. However, tarp was very wet in the morning.  I was strangely cold during the night, despite all the warm clothes…

Read more »

How to Get SQL Table Field Structure?

2017/05/15
By
SQL-2008-R2

Sometimes you need to display or print a SQL table structure. This article provides a SQL statement that allows you to do that. We are using MS SQL 2008 Studio interface.

Read more »

04. Письма с Войны: 2 июня-4 июня 1942

2017/05/14
By

Часть 4. 2 июня –  4 июня 1942     2 июня 1942 г.                               7.00 Дорогая моя! Бесконечно любимая женушка! Только что получил от тебя 2 письма от 25 и 26 мая. Что ты мне пишешь? Что с Вячиком? Почему не напишешь прямо, что с ним? Неужели его больше нет? Нашего родного, хорошего, шухерного Чесика. Что тебе известно о нем? В одном их твоих писем от 3 марта ты написала, что получили от него письмо, в котором он написал, что переводится в другую часть, и просил ему временно не писать. Я сейчас написал письмо на имя командира части, где он служил, с просьбой сообщить мне о его судьбе. Я не могу…

Read more »

Integrating bbPress Forum with WordPress Theme

2017/05/13
By
WordPress-plus-bbPress

Problem When I was preparing to roll out bbPress forum as a part of  WordPress site,  I discovered that process of bbPress user and login integration has a very good coverage on the Internet. This article deals with integrating bbPress forum “look and feel” with WordPress. How to make bbPress forum look like your  regular WordPress page?  How to create a deep integration,  so users wouldn’t feel that they are leaving one site and now are in a completely different site. You can judge, how well this advice works based on how close our Forum interface integrated with WordPress theme. One should be able to tell the difference between bbPress styles and WordPress…

Read more »

03 Second day – 2014-05-24 SAT – Into the wild with a plan

2017/05/12
By
2014-05-24 SA 07;37 Basin Pond

I never carried the “full house” on my shoulders before.  This time, with introduction of an old professional-grade KELTY backpack I would carry a tent, and sleeping bag, and warm clothes, and food, and tarp, and poncho and dozens of other small, but very necessary things. I woke up around 6AM, and I was folding the tent and gathering my things until I was finally ready.  At 07:38, I started to walk on Basin Trail.  First thought was that no way on earth I can carry this beast of a backpack.  On the second thought, how other people carry all their hiking possessions and do not complain? Almost immediately off the parking…

Read more »

Move WordPress to a new Windows Server 2012 on Amazon AWS

2017/05/11
By
Move WordPress to a new Windows Server 2012 on Amazon AWS

This article is about moving your Windows-based WordPress and other sites (some ASP, some ASP.NET) from older to a newer instance using AMAZON cloud server  instances.  Procedures described here do not involve any installation.  Just copy files and edit CONFIG files.  We do not manipulate Registry as well (except to change inbound RDP port). Sample installation in this article was tested on Amazon Small instance.  Image used  was Windows 2012 Server x64 with SQL Server2012 Express.  This article can be used to create you own check list while preparing to migrate to a new Amazon server. Why would you decide to upgrade or move to a new instance/server?  Here are some driving reasons:  Something is no…

Read more »

03. Письма с Войны: 22 апреля-14 мая 1942

2017/05/10
By

Часть 3. 22 апреля – 14 мая 1942   22 апреля 1942 г.                     9.20                          д. Куженкино Дорогая моя женушка! Поздравляю тебя с новорожденной нашей дорогой дочкой Оленькой. Поцелуй ее и поздравь за меня. К сожалению, мне не удалось приехать к вам хотя бы на денечек, а так хотелось быть вместе с вами и обнять вас всех. Вчера я получил назначение и сейчас еду в свой 122 полк, куда я назначен командиром полка. Так что мне пиши по старому адресу. Я совсем поправился, чувствую себя хорошо, и только очень грущу, что не смог повидать вас, моих дорогих и самых моих близких и любимых. Ну, ничего не поделаешь, значит, не судьба. Как вы…

Read more »

The EXECUTE permission was denied on the object ‘aspnet_CheckSchemaVersion’, database ‘YourDB’, schema ‘dbo’

2017/05/09
By

ASP.NET page returns this erorr: The EXECUTE permission was denied on the object ‘aspnet_CheckSchemaVersion’, database ‘YourDB’, schema ‘dbo’. (1) First try runing this command/wizard: %WinDir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe   (2) If this doesn’t work, try this query:  -- Add user ASPNET to DB role USE YourDB GO sp_addrolemember 'aspnet_Membership_FullAccess', 'ASPNET' These steps should resolve your issue.

Read more »

02 First Day – Friday, May 23, 2014 – Hide the bike and walk away

2017/05/08
By
2014-05-23 FR 17;48 Robins Hill Rd - Chatham - NH

I woke up at 6AM in Boston, and quickly completed last preparations.  Just before 7AM, I was on my way to New Hampshire.  Weather was getting darker and rainier, so I still entertained a possibility of changing the ambitious plans or to scale them down. The only new thing on the highway I noticed was a new speed limit – 70 MPH after the Manchester and Concord were behind me.  Interestingly, that new speed limit slowed most driver, because everyone thought that police would start strictly enforcing the new limit without any leeway. At Lincoln, NH, I completed my usual rounds: buy a parking pass ($5), food stop at Price Chopper…

Read more »

Add a FILESTREAM feature to an existing SQL D/B

2017/05/07
By
SQL 2008 SP2 FILESTREAM Problem

SQL Server 2008 allows to store binary data, if Database has a FILESTREAM feature

Read more »