by
Roland Schumacher alias GENiALi
17. Juli 2008 -- 188
words -- 1 mal gelesen
I regularly download the source code of dasBlog and pass it
for me a little of. In addition I have also some macros yourself
made.
For some time, just no longer want my macros. The same
Macros that perform their service on the live server, ran
local to an error if I for example: wanted to the login page.
I think I have the source around 1'355 times downloaded
and everything again step by step. Always
I stayed here hang.
Yesterday did I commented out then all macros. Then
everything worked again. Now I macro macro
"a commented" returned to the error.
Comment of the author: I could have this weeks ago.
When any macro the me the text of the first posts
briefly returns made it again bum. As only?
Earlier it was yet.
The solution was easy.
The basic structure of a macro is always the same.
public virtual control Foo()
{
LiteralControl lit = new LiteralControl();
return lit; }
For me the macro in the HEAD was in use. There
may not equal the LiteralControl property text
have null.
So, you initialize all LiteralControl with "".
And already it works again.
Vote for GENiALi's blog:-)
f81318fe-3027-40bb-b18d-4f29d854e992|0|.0
Tags: