#known 2015-10-13

2015-10-13 UTC
#
davidmead
benwerd do you know if exports from Known can be imported in WP? Having to seriously consider moving back if I can’t get Known installed on a sub-directory
tantek joined the channel
#
kylewm
davidmead: it's very unlikely that Wordpress supports importing from Known
#
davidmead
thanks kylewm. expected, but not what i wanted to hear :-)
#
tantek
kylewm: WordPress supports importing from MANY formats. I'd predict that there's a good chance an existing Known export to a standard format can be imported into WordPress.
#
kylewm
tantek: maybe -- the export looks like ActivityStreams json
#
tantek
interesting. AS1/JSON I presume?
travis-ci joined the channel
#
travis-ci
idno/Known#2535 (master - 8a3e5bb : Ben Werdmuller): The build passed.
#
tantek
AS is unfortunately a bit too esoteric for WordPress to bother supporting I'd bet.
#
benwerd
A giant WP-style feed is on the cards.
#
kylewm
AS1/JSON -- is there any other kind?
travis-ci joined the channel
#
travis-ci
idno/Known#2536 (master - 069914a : Ben Werdmuller): The build passed.
travis-ci joined the channel
#
travis-ci
idno/Known#2537 (master - edcad6e : Ben Werdmuller): The build passed.
travis-ci joined the channel
#
travis-ci
idno/Known#2539 (master - cdc5c27 : Ben Werdmuller): The build passed.
arin, tantek, benwerd and travis-ci joined the channel
#
travis-ci
idno/Known#2540 (master - 5b6b74a : Ben Werdmuller): The build passed.
travis-ci joined the channel
#
travis-ci
idno/Known#2541 (master - a98294a : Ben Werdmuller): The build passed.
loic_m, j12t, benwerd and travis-ci joined the channel
#
travis-ci
idno/Known#2542 (master - 4659329 : Ben Werdmuller): The build passed.
travis-ci joined the channel
#
travis-ci
idno/Known#2543 (master - d4ef0bb : Ben Werdmuller): The build passed.
j12t, tantek and travis-ci joined the channel
#
travis-ci
idno/Known#2544 (master - 9e8756f : Ben Werdmuller): The build passed.
cleverdevil, j12t, davidmead and travis-ci joined the channel
#
travis-ci
idno/Known#2545 (master - 8ed9484 : Ben Werdmuller): The build passed.
j12t and travis-ci joined the channel
#
travis-ci
idno/Known#2546 (master - 425577e : Ben Werdmuller): The build passed.
travis-ci joined the channel
#
travis-ci
idno/Known#2547 (master - b616f1f : Ben Werdmuller): The build passed.
travis-ci joined the channel
#
travis-ci
idno/Known#2548 (master - b79a3db : Ben Werdmuller): The build has errored.
j12t, benwerd, davidmead and travis-ci joined the channel
#
travis-ci
idno/Known#2550 (master - a4b0671 : Ben Werdmuller): The build passed.
misuba joined the channel
#
misuba
welp, broke my install trying to upgrade again
#
misuba
the old page-empty-of-all-but-one-entry-no-styles trick
#
misuba
Warning: MongoDB::__construct() expects exactly 2 parameters, 0 given in /home/misuba/public/theha.us/public/Idno/Core/Idno.php on line 70
#
misuba
and reverting doesn’t help. delightful
#
sensiblemn
benwerd: I'm trying to get Known rocking in a subdirectory. is this the stuff that needs edited that you were referring to in your email? https://pad.riseup.net/p/vrgY6DzaSNEL
#
benwerd
sensiblemn: No - I integrated the code from the mailing list thread. Make sure your htaccess has been updated
#
sensiblemn
ok. update htaccess within the the Known instance in the subdirectory to https://github.com/idno/Known/blob/master/.htaccess ?
#
sensiblemn
i already modified the Toro.php file to the one you emailed to the mailing list
#
kylewm
.htaccess doesn't affect nginx does it? (sensiblemn it sounds like you are on nginx?)
#
sensiblemn
yes, i am
#
kylewm
I haven't tried to install Known in a subdirectory, let alone in nginx, but I think you'd need to at least update "location /" to "location /subdir/"
#
sensiblemn
in .htaccess?
#
benwerd
Yeah, htaccess is just for Apache
#
benwerd
We still don't officially support nginx
#
benwerd
Although I'm realizing that this may be something we start doing properly
#
sensiblemn
what is it that you may start doing properly? supporting nginx?
#
sensiblemn
i'm running known at https://sensible.mn and am trying to migrate to https://sensible.mn/blog/
#
sensiblemn
i've made some good progress and am going to keep tinkering around with it.
#
sensiblemn
let me know if anyone has any suggestions. kylewm: where are you suggesting I change location / to location /subdir/?
#
sensiblemn
in htaccess?
#
kylewm
htaccess is only for Apache -- nginx will just ignroe it
#
kylewm
it looks like you have it already working more or less? what are you still trying to get working?
#
sensiblemn
when i click on "sign in" it doesn't work
#
sensiblemn
and i think i need to direct it to the uploads folder
#
sensiblemn
maybe i should just start fresh with a new database and the latest known release instead of the copy and paste job i did from my root directory
#
sensiblemn
i'm working with an older Known version at the moment
kevinmarks joined the channel
#
kylewm
hmm, yeah i'm very not sure how to migrate posts from one location to another
#
sensiblemn
that's ok. i'm going to dink around with it some more and see what comes of that
#
misuba
so here’s a wrinkle, /entry/edit and /status/edit and /admin and such are all working fine, with header and everything
#
misuba
but /content/all fails: it shows one content unit and the page has no css
#
misuba
this smells like an htaccess thing, but… ?
#
misuba
still getting that error from the mongo constructor in my logs. anyone?
#
misuba
benwerd: sorry, I get the feeling this is a problem I’ve had before, possibly here… but, any thoughts?
#
benwerd
I definitely think you should be using the latest Known release as a starting point
#
benwerd
But beyond that, not sure
#
misuba
I am, but I’ve pulled it into my fork
#
benwerd
anything in your error logs with content/all? that does sound like a PHP fatal error
#
misuba
I’m sure at least one of these errors is for /content/all, they give me the referer but not the producing URL
#
misuba
in any case they’re all identical
#
misuba
Idno/Core/Idno.php, line 70, MongoDB::__construct() is angry
#
kylewm
I'm guessing you should not be hitting that line at all
#
kylewm
that's the new bit that mapkyca added to support arbitrary database implemetnations
#
kylewm
misuba: what's your db in the config? "mongodb" or "MongoDB"?
#
misuba
!!!!
#
misuba
it’s in caps.
#
kylewm
yeah i think that's a bug
#
kylewm
lowercase may work around it?
#
misuba
no change
#
misuba
i don’t like computers
#
kylewm
agreed, they are awful
#
kylewm
same error on line 60?
#
misuba
well now something about logging is funny
#
misuba
yeah, cool, now errors are just not logged
#
misuba
i quit the internet
tantek joined the channel
#
misuba
yyyyeah my 500 errors are showing up in access.log and error.log is uninterested in telling me more. to the apache docs!
travis-ci joined the channel
#
travis-ci
idno/Known#2551 (master - f43d72b : Ben Werdmuller): The build passed.