{"action":"created","issue":{"url":"https://api.github.com/repos/nilsbraden/ttrss-reader-fork/issues/332","repository_url":"https://api.github.com/repos/nilsbraden/ttrss-reader-fork","labels_url":"https://api.github.com/repos/nilsbraden/ttrss-reader-fork/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/nilsbraden/ttrss-reader-fork/issues/332/comments","events_url":"https://api.github.com/repos/nilsbraden/ttrss-reader-fork/issues/332/events","html_url":"https://github.com/nilsbraden/ttrss-reader-fork/issues/332","id":184636349,"number":332,"title":"Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $","user":{"login":"D9IDbKA","id":3288335,"avatar_url":"https://avatars.githubusercontent.com/u/3288335?v=3","gravatar_id":"","url":"https://api.github.com/users/D9IDbKA","html_url":"https://github.com/D9IDbKA","followers_url":"https://api.github.com/users/D9IDbKA/followers","following_url":"https://api.github.com/users/D9IDbKA/following{/other_user}","gists_url":"https://api.github.com/users/D9IDbKA/gists{/gist_id}","starred_url":"https://api.github.com/users/D9IDbKA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D9IDbKA/subscriptions","organizations_url":"https://api.github.com/users/D9IDbKA/orgs","repos_url":"https://api.github.com/users/D9IDbKA/repos","events_url":"https://api.github.com/users/D9IDbKA/events{/privacy}","received_events_url":"https://api.github.com/users/D9IDbKA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-22T15:27:16Z","updated_at":"2016-10-24T13:37:11Z","closed_at":null,"body":"Good day everybody! I have an issue. I can't figure out, why ttrssreader doesn't  shows me my feeds from ttrss instance. Every time when I try to connect to my ttrss instance program shows me this error:\r\nUse JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $\r\nWhile I try to connect, I have those in ttrss log:\r\nE_WARNING (2)\tapi/index.php:87\tCannot modify header information - headers already sent\r\n1. api/index.php(87): header(Api-Content-Length: 89)\r\n\r\nE_WARNING (2)\tclasses/api.php:14\tCannot modify header information - headers already sent\r\n1. classes/api.php(14): header(Content-Type: text/json)\r\n2. api/index.php(78): before(login)\r\n\r\nE_WARNING (2)\tlib/accept-to-gettext.php:179\tCannot modify header information - headers already sent\r\n1. lib/accept-to-gettext.php(179): header(Content-Type: text/html; charset=)\r\n2. include/functions.php(107): al2gt(Array, text/html)\r\n3. api/index.php(56): startup_gettext()\r\n\r\nE_WARNING (2)\tlib/accept-to-gettext.php:178\tCannot modify header information - headers already sent\r\n1. lib/accept-to-gettext.php(178): header(Content-Language: auto)\r\n2. include/functions.php(107): al2gt(Array, text/html)\r\n3. api/index.php(56): startup_gettext()\r\n\r\nLogcat with filter json shows:\r\nJsonConnector {\"user\":\"2\",\"op\":\"login\"} and that's all.\r\nit's repeated about 20-30 times\r\n\r\nI tried log-in with curl at pc:\r\ncurl -d '{\"op\":\"login\",\"user\":\"2\",\"password\":\"2\"}' http://server/tt-rss3/api/\r\n{\"seq\":0,\"status\":0,\"content\":{\"session_id\":\"8p3u21k6i16ojpu31tjpj4mr27\",\"api_level\":14}}\r\ngetApiLevel\r\n{\"seq\":0,\"status\":0,\"content\":{\"level\":14}}\r\ngetVersion\r\n{\"seq\":0,\"status\":0,\"content\":{\"version\":\"16.8\"}}\r\ngetUnread\r\n{\"seq\":0,\"status\":0,\"content\":{\"unread\":\"4315\"}}\r\ngetCategories\r\n{\"seq\":0,\"status\":0,\"content\":[{\"id\":-1,\"title\":\"Special\",\"unread\":705},{\"id\":0,\"title\":\"Uncategorized\",\"unread\":4315}]}\r\ngetConfig\r\n{\"seq\":0,\"status\":0,\"content\":{\"icons_dir\":\"feed-icons\",\"icons_url\":\"feed-icons\",\"daemon_is_running\":false,\"num_feeds\":60}}\r\ngetPrefs\r\n{\"seq\":0,\"status\":0,\"content\":{\"value\":null}}\r\ngetLabels\r\n{\"seq\":0,\"status\":0,\"content\":[]}\r\n\r\n\r\n\r\n\r\nHere is my apache and php build options from emerge:\r\n\r\nAPACHE2_OPTS=\"-D DEFAULT_VHOST -D INFO -D LANGUAGE -D FCGID\"\r\n\r\nwww-servers/apache-2.4.23:2::gentoo  USE=\"ssl threads -debug -doc\r\n-ldap (-libressl) (-selinux) -static -suexec\" APACHE2_MODULES=\"actions\r\nalias auth_basic authn_alias authn_anon authn_core authn_dbm\r\nauthn_file authz_core authz_dbm authz_groupfile authz_host authz_owner\r\nauthz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir\r\nenv expires ext_filter file_cache filter headers include info\r\nlog_config logio mime mime_magic negotiation rewrite setenvif\r\nsocache_shmcb speling status unique_id unixd userdir usertrack\r\nvhost_alias -access_compat -asis -auth_digest -authn_dbd -authz_dbd\r\n-cache_disk -cern_meta -charset_lite -dbd -dumpio -http2 -ident\r\n-imagemap -lbmethod_bybusyness -lbmethod_byrequests\r\n-lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -macro -proxy\r\n-proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp\r\n-proxy_html -proxy_http -proxy_scgi -proxy_wstunnel -ratelimit\r\n-remoteip -reqtimeout -slotmem_shm -substitute -version\"\r\nAPACHE2_MPMS=\"-event -prefork -worker\"\r\n \r\ndev-lang/php-5.6.26:5.6::gentoo  USE=\"apache2 berkdb bzip2 calendar\r\ncgi cli crypt ctype curl debug embed enchant exif fileinfo filter fpm\r\ngd gdbm gmp hash iconv inifile intl json libmysqlclient mhash mysql\r\nmysqli nls odbc opcache pcntl pdo phar posix readline session\r\nsimplexml soap sockets spell sqlite ssl threads tidy tokenizer\r\ntruetype unicode xml xmlreader xmlrpc xmlwriter zip zlib -bcmath -cdb\r\n-cjk (-firebird) -flatfile (-frontbase) -ftp -imap -iodbc -ipv6\r\n-kerberos -ldap -ldap-sasl -libedit (-libressl) -mssql\r\n-oci8-instant-client -postgres -qdbm -recode (-selinux) -sharedmem\r\n-snmp -sybase-ct -systemd -sysvipc -vpx -wddx -xpm -xslt\""},"comment":{"url":"https://api.github.com/repos/nilsbraden/ttrss-reader-fork/issues/comments/255742335","html_url":"https://github.com/nilsbraden/ttrss-reader-fork/issues/332#issuecomment-255742335","issue_url":"https://api.github.com/repos/nilsbraden/ttrss-reader-fork/issues/332","id":255742335,"user":{"login":"D9IDbKA","id":3288335,"avatar_url":"https://avatars.githubusercontent.com/u/3288335?v=3","gravatar_id":"","url":"https://api.github.com/users/D9IDbKA","html_url":"https://github.com/D9IDbKA","followers_url":"https://api.github.com/users/D9IDbKA/followers","following_url":"https://api.github.com/users/D9IDbKA/following{/other_user}","gists_url":"https://api.github.com/users/D9IDbKA/gists{/gist_id}","starred_url":"https://api.github.com/users/D9IDbKA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D9IDbKA/subscriptions","organizations_url":"https://api.github.com/users/D9IDbKA/orgs","repos_url":"https://api.github.com/users/D9IDbKA/repos","events_url":"https://api.github.com/users/D9IDbKA/events{/privacy}","received_events_url":"https://api.github.com/users/D9IDbKA/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T13:37:11Z","updated_at":"2016-10-24T13:37:11Z","body":"[Mon Oct 24 16:34:21.579767 2016] [:error] [pid 31612] [client 192.168.8.251:53098] PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0\r\n[Mon Oct 24 16:34:21.579804 2016] [:error] [pid 31612] [client 192.168.8.251:53098] PHP Warning:  Cannot modify header information - headers already sent in Unknown on line 0"}}
{"actor":{"display_login":"D9IDbKA"}}