I can’t see plugin list in preferences. If I create a new profile, plugin list is displayed correctly. I assume something might be wrong with my profile as my tt-rss instance is pretty old and I used a lot of outdated plugins. I’ve removed them but still no luck Perhaps some old plugin setting is causing troubles? Logs are empty.
Some feed icons have high resolution and look strange on the view:
I have php 7.3 configured on my server. tt-rss logs are flooded with following errors:
PHP Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /var/www/tt-rss/vendor/JShrink/Minifier.php on line 227". This is not a big deal as I switched to php 7.2 for tt-rss.
After removing phpmailer I cannot send e-mails from tt-rss via my local mail server because I use postfix + dovecot as LDA and unfortunately dovecot do not support SMTPUTF8. Perhaps mailer could encode To: address not in utf-8? This is definitely my config issue, however perhaps mailer could be more compatible with older mailserver configs?
e: or are you already using the SMTP plugin? if you do and I misread you, check if phpmailer has a relevant option and if it does, i’ll add a configurable knob to the plugin.
I’ve restarted php7.2-fpm and it seems that icon size is fixed. Interesting that yesterday I restarted php and I wonder why it didn’t help.
No problem.
I do not need SMTP as my mailserver is on the same machine as tt-rss so php mail uses I believe sendmail or something like that. Anyway I’ll tinker a bit with php settings - this is a good suggestion, thanks!
that is entirely in CSS, so was a cache issue of some kind.
oh i dunno then, PHP native mail() just works for me with postfix without any troubles. sendmail is usually a compatible wrapper provided by an actual MTA.
btw normally you don’t need to restart fpm daemon, uh, ever. why do that?
Regarding mail - my mailserver uses dovecot as LDA so postfix sends the mail to local folder. Unfortunately dovecot does not support yet mails with UTF8 that’s why I’m getting errors. I think currently PHP sends mail in UTF8. I’ll investigate it and come back with my findings.
About fpm daemon - I recall setting some cache options in php.ini so I guess this is why I need from time to time to reboot it.
I believe this is the option: opcache.validate_timestampsboolean
If enabled, OPcache will check for updated scripts every opcache.revalidate_freq seconds. When this directive is disabled, you must reset OPcache manually via opcache_reset(), opcache_invalidate() or by restarting the Web server for changes to the filesystem to take effect.
BTW I tried to change my css inline but it seems not working. Is this feature still supported? This is my snippet:
Off-topic a bit: I used to set stuff up like that but I ended up finding it was annoying to restart the service after every update. The slow part is compiling the PHP files to bytecode. The setting above just determines if OpCache stats a file, which is a very fast operation. Unless your server is under a pretty constant and high load, you’ll probably notice no difference by changing it and you’ll benefit from not having to restart the service after every update.
yeah in all honesty it is perplexing why would one have this enabled
unless it’s some super-duper loaded server where every extra stat() on a file really means something
Regarding PHP config - it’s a legacy change that I used for another PHP app. It had a lot of optimizations checks and always complained about that feature (a big “Warning” bar on top of the page). So I just flipped the switch
Anyway @fox do you know if this issue can be fixed? I mean those huge icons and emoticons - I’m observing this on several feeds for a long time
at first i thought it was an img srcset issue or something, but no, discourse emoticons are simply huge. you don’t see it on the forum because they are resized to 20px via css.
other than user css i’m not sure what could be done about it. there’s no way for tt-rss to know that this particular image should be small.
It seems JShrink minifier was updated to PHP 7.3 with this PR. Debian (testing) already switched to PHP 7.3 so sooner or later the issue will spread to more and more tt-rss instances.