digitalmethodsinitiative / dmi-tcat

Digital Methods Initiative - Twitter Capture and Analysis Toolset
Apache License 2.0
367 stars 114 forks source link

lookup.php gives error #318

Closed arnoutponsioen closed 5 years ago

arnoutponsioen commented 6 years ago

Hi,

I just wanted to import a new set of tweets using lookedup.php after exporting the ids using parse-csv.php. Although this always worked fine (last succesfull usage was last week), I now got errors.

First error indicated problems with SQL-syntax. Now it only indicates 'PHP Notice: Undefined index: statuses in /var/www/dmi-tcat/capture/common/functions.php on line 2639.' This message appears each few minutes untill I quit with CTRL-C.

Any suggestions how to solve it? I checked functions.php wut cannot find any strange things...

Arnout

psegovias commented 6 years ago

Maybe is related to https://github.com/digitalmethodsinitiative/dmi-tcat/issues/321 ?

arnoutponsioen commented 6 years ago

Don't know, here is a screenshot of the error I get. image

After removing the missing function in config.php (encoding), I get the following results... but now new errors are coming: image

Using a non-existent bin to store tweets makes no difference.

arnoutponsioen commented 6 years ago

Now, after local login via my browser, I also get errors... 'pagina werkt niet'

dentoir commented 6 years ago

Hi @arnoutponsioen

Your installation appears to be missing crucial PHP module dependencies: mbstring and curl and perhaps others. Did you use the auto installer on the machine you wish to import the tweets to? The auto installer should automatically install those dependencies.

Best,

Emile

arnoutponsioen commented 6 years ago

Hi Dentoir, I don't know how dependencies are suddenly missing. I worked flawlessly more than 2 years, now it doesn't anymore. I try to reinstall TCAT. Thanks.