when I run startdaeons.sh, I am getting error... what could be the reason? I have pcntl enabled with php.
/plugins/TwitterBridge/daemons/twitterstatusfetcher.php...PHP Fatal error: Call to undefined function posix_getpid() in /var/www/html/lib/daemon.php on line 90
Comments
you don't need startdaemons for just posting.
can you paste your config.php and also tell me your setting for you twitter app (what you filled out to register your application to get the api keys at twitter/apps)
Try installing a 'php5-posix' package if available, or recompile PHP configured without --disable-posix.
http://us.php.net/manual/en/book.posix.php
I will work over the weekend to find out what went wrong.
1. Call to a member function blowNoticeCount() on a non-object in /var/www/html/classes/Notice.php on line 421
2. Uncaught ServerException: [400]: [Notice] DB_DataObject error []: DB Error: already exists thrown in /var/www/html/classes/Memcached_DataObject.php on line 508
If I close my SSH session... Twiiter updates stop showing up on my site...
Please advise.
The traditional is the 'nohup' ('no hang-up') command, so you could run like this:
nohup ./scripts/start_daemons.sh
That'll disconnect the script from your terminal right at the start; any output it may generate should go to a 'nohup.out' file in the current directory.
More fun if you have it available is the 'screen' command which lets you run multiple disconnectable login sessions in the background. It's a little confusing if you're not familiar with it, but there should be some good tutorials floating around the web. This is handy to start up the background process but be able to go back to it and work in the same terminal again (say to kill and restart it later, or whatever).
1. Call to a member function blowNoticeCount() on a non-object in /var/www/html/classes/Notice.php on line 421
2. Uncaught ServerException: [400]: [Notice] DB_DataObject error []: DB Error: already exists thrown in /var/www/html/classes/Memcached_DataObject.php on line 508
anything in the logs about the avatars? is the twitter statusfetcher running as a user that has write permission in the /avatar folder?
There were some issues with the TwitterStatusFetcher saving avatars and detecting notices that have been previously imported with 0.9.1. Can you try the latest version of the TwitterStatusFetcher from our git repository? http://gitorious.org/statusnet/mainline/blobs/master/plugins/TwitterBridge/daemons/twitterstatusfetcher.php