I’ve arrived

Abgelegt unter Nightshift, Philosophisches, Youtube inside am 05.06.2015

My goodness, don’t you remember, when you went first to school,
you went to kindergarten and in kindergarten, the idea was to
push along so to get into first grade, and then push along so that you could get into second grade, third grade and so on, going up and up.

And then you went to high school and this
was a great transition in life; and now the pressure is being put on you must get ahead, you must go up the grades and finally be good enough to get to college.

And then when you get to college, you’re still going step by step, step by step, up to the great moment in which you’re ready to go out into the world.

And then when you get out into this famous world… comes…
the struggle for success in profession or business.

And again there seems to be a ladder before you, something for which you are reaching all the time.

And then…

Suddenly, when are about forty or forty-five years old in the middle life, you wake up one day and say:

„Ah, I’ve arrived.
And by now I feel pretty much the same as I’ve always felt.
And i’m not that sure that i don’t feel a little bit cheated.“

Because you see you were fooled, you were always living
for somewhere where you aren’t.

And while as I said it is of tremendous use for us, to be able to look ahead in this way and to plan.
There is no use planning for a future which when you get to it and it becomes a present, you won’t be there.

You’ll be living in some other future which hasn’t yet arrived.

And so in this way, one is never able actually to inherit and enjoy the fruits of ones actions.

You can’t live at all.

Unless you can live fully, now.


KUNG FURY – oder the 80’s are back!

Abgelegt unter Fundstück der Woche, Kurioses, Youtube inside am 31.05.2015

Ihr habt knapp 30 Minuten Eurer Lebenszeit übrig?

Wollt Ihr wieder so richtig von den guten alten Zeiten schwärmen?

Link direkt zu Youtube für die armen IE-User: https://www.youtube.com/watch?v=bS5P_LAqiVg


bp_setup_current_user und $wp->init() …

Abgelegt unter Code, Wordpress am 21.04.2015

So, es ist ja immer wieder sehr schön, auf bestehende CMS oder Frameworks aufzusetzen.

Weniger schön ist es, wenn die Fehlermeldungen so herrlich nichtssagend sind, und das Debuggen dann zur Qual wird.

Für alle, die nach:

Notice: bp_setup_current_user wurde fehlerhaft aufgerufen. Der aktuelle Benutzer wird ohne Verwendung von $wp->init() initialisiert.

oder dem englischen Pendant:

Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init().

suchen: meistens ist die functions.php im aktuellen Theme schuld.

Quick-Check:
Standard-Theme von WordPress aktivieren -> Fehler weg -> Theme schuld
Davor sollte man natürlich auch die einzelnen Plugins deaktivieren, und so den Schuldigen finden; bei einem Theme wird es jedoch schon schwieriger, da die auslösende Funktion zu finden…

Typischerweise wird in der functions.php irgendeine Benutzerberechtigung abgefragt a la:

if (!current_user_can('manage_options')) {
add_filter('show_admin_bar', '__return_false');
}

Schuld ist dann natürlich:
current_user_can

Na denn, für alle, die auch ein sauberes Errorlog wünschen… 🙂



blog powered by wordpress
Design by Office and IT - Business Solutions
Optimiert durch suchmaschinen-freundlich