Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"White page of death" #3

Open
webbird opened this issue Jul 3, 2019 · 2 comments
Open

"White page of death" #3

webbird opened this issue Jul 3, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@webbird
Copy link
Contributor

webbird commented Jul 3, 2019

Ich bekomme eine weiße Seite mit dem Droplet, weil die Funktion truncate() bereits im Modul "Anynews" (das alte) in der include.php definiert ist, vom NIA aber als externe Lib nochmal eingebunden wird.

@webbird webbird added the bug Something isn't working label Jul 3, 2019
@instantflorian
Copy link
Contributor

Das passiert so weit ich sehe aber nur, wenn [[getnewsitems]] und [[getimagenewsitems]] auf derselben Seite aufgerufen werden. Kommt das in der Praxis vor?

@webbird
Copy link
Contributor Author

webbird commented Jul 5, 2019

Hm, bindet WBCE nicht alle include.php automatisch ein? Ich guck nochmal nach. Sollte man aber trotzdem korrigieren, truncate() ist kein allzu exotischer Funktionsname und könnte auch noch in anderen Modulen vorkommen.

Edit: Ja, Anynews ist ein Snippet, und die include.php von Snippets werden immer geladen, auch wenn es gar nicht benutzt wird. Es genügt also, "das alte" und "das neue" Anynews parallel zu installieren.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants