digitalmethodsinitiative / dmi-tcat

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

Keep getting error on line 3 #287

Closed anoukpops closed 6 years ago

anoukpops commented 7 years ago

Hello! Whatever I try to do, I keep getting this error: Undefined variable: argc in C;....... on line 3 (line 3 n both cases is if ($argc < 1)

I tried to the the user timelines - this happened when i try to run the php. Then I tried to import json, and when running the pho, the same error occurred. Any ideas what might be the problem? Thanks, Ana

dentoir commented 7 years ago

Hi @anoukpops

How are you starting the script? You should run the script from the command-line like this:

php timeline.php

Best,

Emile

dentoir commented 6 years ago

Timeout reached.