Archive for the ‘error handling’ Category

wp_post2cat does not exist when upgrade to wordpress 2.3

Sunday, October 7th, 2007

According the plug-in/theme compatibility of wordpress 2.3, when some of plug-ins or themes are not compatible, this error should be generated.

It may required to upgrade or disable to use the incompatible  plug-in or theme, if create a table wp_post2cat, it can let the error disappear but it is not a correct action because no function should be provided by that table anymore.

ASP.NET Event Validation

Monday, August 20th, 2007

[http://asp.net ASP.net] 2.0 添加了 event validation 的功能, 用來檢查張 form 的 variable, 如果張 form 係一開始時無將 possible variable encode 入個 session 度, 就會 throw exception:

Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation=”true”/> in configuration or <%@ Page EnableEventValidation=”true” %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

(more…)