Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Unknown Twitter API error #74

Open
tyweb2 opened this issue Jul 16, 2018 · 6 comments
Open

Unknown Twitter API error #74

tyweb2 opened this issue Jul 16, 2018 · 6 comments

Comments

@tyweb2
Copy link

tyweb2 commented Jul 16, 2018

I am getting Unknown Twitter API error when I try to login. Seems like this is an issue. Any Idea why?

@Gyvastis
Copy link

Gyvastis commented Sep 3, 2018

+1

2 similar comments
@ftrotter
Copy link

ftrotter commented Sep 7, 2018

+1

@jb0gie
Copy link

jb0gie commented Oct 18, 2018

+1

@jb0gie
Copy link

jb0gie commented Oct 26, 2018

WHEN FIX..NEED

@motermouth15
Copy link

Hello- I'm just wondering if there is an update on this at all. From what I can tell, the program is completely un-usable until this is fixed?

@tyweb2
Copy link
Author

tyweb2 commented Jan 28, 2019

This project is dead. Had a friend look at it. Here's his feedback.

Ton of errors,Also tried changing this:
public function __construct(\MongoCollection $collection, \Psr\Log\LoggerInterface $logger) //original
to this:
//public function __construct(\MongoDB\Collection $collection, \Psr\Log\LoggerInterface $logger)
in:
/var/www/html/folder/api/vendor/altmetric/mongo-session-handler/src/MongoSessionHandler.php

I've tried a few things. I don't think there is an easy solution. The Mongo Driver has been refactor for PHP 7 and the app itself rely on the older driver. We would have to change a lot of third party code to make it work.

For example.
public function __construct() {
// $m = new MongoClient;
$m = new MongoDB\Driver\Manager("mongodb://localhost:27017");
// $m = new MongoDB\Client("mongodb://localhost:27017");
$logger = new Psr\Log\NullLogger;
parent::__construct($m->circular->sessions, $logger);

    }

The driver gets created properly but "parent::__construct($m->circular->sessions, $logger);" fails because the driver does not have a property "circular".

I don't think it is a sustainable solution to patch the code as any OS update could overwrite libraries...

Maybe use a older version of LAMP or install the app in a more self contained manner.That's the one thing I don't like about bundled app, it is not easy to control the dependencies.

Here is a link to someone who was working on a docker image. #70
Unfortunately, the docker file is incomplete. The dude is facing the same issue that we have.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants