{"id":1531,"date":"2015-11-10T09:25:12","date_gmt":"2015-11-10T08:25:12","guid":{"rendered":"http:\/\/my.stargazer.at\/?p=1531"},"modified":"2015-11-10T09:25:39","modified_gmt":"2015-11-10T08:25:39","slug":"friendica-troubleshooting-poller-php","status":"publish","type":"post","link":"https:\/\/my.stargazer.at\/de\/2015\/11\/10\/friendica-troubleshooting-poller-php\/","title":{"rendered":"Friendica Troubleshooting &#8211; poller.php"},"content":{"rendered":"<p>Friendica kann ja schon nett sein, bis auf den Poller. Der wirft Fehlermeldungen Ende nie, dass da etwas mit dem Prozess killen nicht stimmen kann.<\/p>\n<blockquote><p>Warning: posix_kill() expects parameter 2 to be long, string given in include\/pidfile.php on line 38<br \/>PHP Warning: posix_kill() expects parameter 2 to be long, string given in include\/pidfile.php on line 38<\/p><\/blockquote>\n<p>Nun, im Code selbst findet sich an besagter Stelle folgender Code:<\/p>\n<blockquote><p>return(posix_kill(file_get_contents($this->_file), SIGTERM));<\/p><\/blockquote>\n<p>So wie ich die Fehlermeldung interpretiere, d\u00fcrfte da etwas mit der PCNTL Konstante nicht passen. Also mal kurz die Konstante durch die entsprechende Nummer ersetzt:<\/p>\n<blockquote><p>return(posix_kill(file_get_contents($this->_file), 15));<\/p><\/blockquote>\n<p>Dann bleibt nur noch abzuwarten, ob das das Problem bei mir behoben hat.<\/p>","protected":false},"excerpt":{"rendered":"<p>Friendica kann ja schon nett sein, bis auf den Poller. Der wirft Fehlermeldungen Ende nie, dass da etwas mit dem Prozess killen nicht stimmen kann. Warning: posix_kill() expects parameter 2 to be long, string given in include\/pidfile.php on line 38PHP Warning: posix_kill() expects parameter 2 to be long, string given in include\/pidfile.php on line 38 Nun, im Code [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":1532,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[611,527,612],"class_list":["post-1531","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-it-related-stuff","tag-friendica","tag-php","tag-troubleshooting"],"_links":{"self":[{"href":"https:\/\/my.stargazer.at\/de\/wp-json\/wp\/v2\/posts\/1531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/my.stargazer.at\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/my.stargazer.at\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/my.stargazer.at\/de\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/my.stargazer.at\/de\/wp-json\/wp\/v2\/comments?post=1531"}],"version-history":[{"count":0,"href":"https:\/\/my.stargazer.at\/de\/wp-json\/wp\/v2\/posts\/1531\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/my.stargazer.at\/de\/wp-json\/wp\/v2\/media\/1532"}],"wp:attachment":[{"href":"https:\/\/my.stargazer.at\/de\/wp-json\/wp\/v2\/media?parent=1531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/my.stargazer.at\/de\/wp-json\/wp\/v2\/categories?post=1531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/my.stargazer.at\/de\/wp-json\/wp\/v2\/tags?post=1531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}