digitalmethodsinitiative / dmi-tcat

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

Undefined-offset message #52

Closed damian0604 closed 10 years ago

damian0604 commented 10 years ago

Hi all,

I keep on getting Undefined-offset errors (see below) and I failed to see what the problem is. Otherwise, everything seems to run fine.

Thanks for your help,

Damian

From: root@datacollection2 (Cron Daemon) To: root@datacollection2 Subject: Cron root@datacollection2 /usr/local/bin/dmi-checkrunning.sh Content-Type: text/plain; charset=ANSI_X3.4-1968 X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env:

PHP Notice: Undefined offset: 1 in /var/www/dmi-tcat/capture/stream/controller.php on line 75 PHP Notice: Undefined offset: 1 in /var/www/dmi-tcat/capture/common/functions.php on line 332

ErikBorra commented 10 years ago

Hi @damian0604,

it seems you are running an old version of the code. Could you pull in the latest changes? Also make sure your dmi-tcat/proc directory is empty and that it is writeable by the user under which you run controller.php.

ErikBorra commented 10 years ago

Hi @damian0604,

did you manage to resolve the problem?

Best,

Erik

damian0604 commented 10 years ago

Sorry, I forgot to respond, thanks for your help. Pulling the latest changes indeed solved the problem (I was sure I would have done that, but obviously I did not, because pulling indeed solved it).

Best, Damian

ErikBorra commented 10 years ago

Great!