#known 2019-07-22

2019-07-22 UTC
[dogeared], ben_thatmustbeme, [Michael_Beckwit, [xavierroy], [tonz], [Rose] and mapkyca joined the channel
#
Loqi
mapkyca has 4 karma over the last year
#
jeremycherfas
No excuse not to update. mapkyca++
#
jeremycherfas
Except ...
#
jeremycherfas
!tell mapkyca I am on version = "0.9.9-a" build = 2018120201 and I recall there being a need to do something about Composer to use your packages, but I can remember what it is. A clue, please.
#
Loqi
Ok, I'll tell them that when I see them next
mapkyca joined the channel
#
mapkyca
Jeremycherfas - if you're using the package, you shouldn't need to do anything. If you're doing a git checkout you'll need to run composer install
#
Loqi
mapkyca: jeremycherfas left you a message 53 minutes ago: I am on version = "0.9.9-a" build = 2018120201 and I recall there being a need to do something about Composer to use your packages, but I can remember what it is. A clue, please.
#
AkyRhO
Newbie question here : apparently all of my content is syndicated to Twitter, but it fails to retrieve webmentions via bridgy when there is one. Also, my post does not show the "Also published here : silo" like i've seen some sites running Known do
#
AkyRhO
I'm not sure if i activated a plugin or something that automatically pulls my content to twitter
#
AkyRhO
On twitter for iPhone, the source says "Micro.blog"
#
jeremycherfas
Thanks mapkyca I'll give it a go.
#
AkyRhO
brid.ly list my latest post at 5 days ago (this one https://cedric.io/2019/class-indieauthclient-not-foundadding-a-target-url)
#
jeremycherfas
Do I leave the externals folder or delete it mapkyca ?
#
mapkyca
If you're migrating to latest you won't need the external folder. Keep configuration and uploads, though.
#
mapkyca
Also you might want to do a db backup as there are schema changes
#
mapkyca
Usual deal
#
jeremycherfas
OK. Thanks. I backed up the whole folder but not the db. I'll do that now.
#
AkyRhO
ok nevermind my previous question - I discovered I still had a old micro.blog account that was still setup to crosspost a feed to twitter. My bad
#
AkyRhO
although I'm still not able to use the brid.gy integration of Known :(
#
jeremycherfas
Uh oh! Page loads but has no content. Help, please, mapkyca
#
jeremycherfas
Ooops. Https://stream.jeremycherfas.net
#
jeremycherfas
Phpinfo.php gives expected results.
#
jeremycherfas
Log shows [Mon Jul 22 03:57:31 2019] [warn] [client 54.36.150.48] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected '?' in /home/jeremygrav/stream.jeremycherfas.net/Idno/Core/Idno.php on line 263
#
mapkyca
You need to upgrade your version of PHP
#
jeremycherfas
I am on 7.0.32
#
jeremycherfas
What is the minimum?
#
mapkyca
7.0 is EOL, so 7.1 is the minimum. Better yet 7.2 as 7.1 is going to be security updates only in the next month or two iirc
#
mapkyca
I'll change the version check in the startup to give a helpful error for this...
#
jeremycherfas
Weird. I know I have seen this before. Dreamhost says it is on 7.2 but phpinfo says 7.0.32
#
jeremycherfas
As I recall there are different PHPs in different parts of the VPS.
#
jeremycherfas
7.2 CGI to be precise.
#
jeremycherfas
Is it worth trying 7.2 FastCGI?
#
mapkyca
Depends on what your host is configured to use, but there are 3 (and a half) PHPs - PHP CLI, Apache Mod PHP, PHP CGI and PHP FPM (which is basically PHP CGI, but sometimes not)
#
mapkyca
All of these can be configured to have their own version, although on sane OS' the package manager will keep all these on the same version
#
jeremycherfas
I'm confused by the mismatch between cpanel and phpinfo
#
jeremycherfas
Dreamhost recommends FCGI even though it uses more memory, so I will try that and see.
[grantcodes] joined the channel
#
jeremycherfas
OK, progress. Phpinfo now reports 7.2.11 but Known is reporting an error
#
jeremycherfas
Uncaught Error: Call to undefined function loader() in /home/jeremygrav/stream.jeremycherfas.net/IdnoPlugins/Twitter/autoloader.php:3
#
jeremycherfas
Has the Twitter plugin been deprecated?
#
jeremycherfas
Seems like it. I changed the name and now I can at least get to /admin
#
mapkyca
It's possible the twitter plugin hasn't been updated, although I thought I had. Might want to make sure you're on the latest version of that
#
mapkyca
Finding it a little hard to maintain All The Things atm
#
mapkyca
Ahh yeah, it looks like I did update the twitter plugin, so go update that too
#
jeremycherfas
Yup, did that, all now good. Thanks. I am really grateful for all the work you put in.
[Rose] joined the channel
#
@mapkyca
Folks, if you're planning on upgrading to the latest @withknown unofficial package, especially if you've not updated in a while, make sure you're running at least PHP 7.1. Anything less than that is EOL, and so isn't supported.
(twitter.com/_/status/1153279585611653120)
#
@EatPodcast
↩️ @mapkyca Amen to that, and thanks so much for your invaluable help with all things WithKnown.
(twitter.com/_/status/1153280155705589760)
#
aaronpk
Time sure flies! Can't believe PHP 7.0 is already eol
#
mapkyca
Yep. Active support for 7.1 ends in December, too!
#
mapkyca
Sorry, that's active support for 7.2... 7.1 becomes EOL then
#
mapkyca
So really, everyone should be on 7.3
[grantcodes] and [jgmac1106] joined the channel
#
jeremycherfas
I'll stay on 7.2 for a little while first.
#
mapkyca
I don't expect 7.2 will break any time soon. 7.0 -> 7.1 was mainly down to the type hinting support
[snarfed] and [schmarty] joined the channel
#
nekr0z
iirc, one needs to explicitly set path for php version on dreamhost, otherwise all console apps see the oldest one available
#
nekr0z
and you need to set is separately for interactive and non-interactive shells (in .bashrc and .bash_profile, and I can't remember which is which)
#
nekr0z
dreamhost is weird that way. But the good thing is once you set it up, it works ever since with no issues.
[manton], Vincent, chrisaldrich, [snarfed], [eddie], [tantek], [fluffy], laureng|Microspo, [JWvdPol], [jgmac1106], Magnus[m]1, [schmarty], [KevinMarks], [grantcodes], Gomez, [chrisaldrich] and AndrewB7794[m] joined the channel