default userpic

Install issue with Action Stream

Vote 0 Votes

I pasted the example template author-action-stream as a new widget and got the following errors....

Your template changes have been saved. One or more errors were found in this template.

*  at line 9 is unrecognized.
*  at line 23 is unrecognized.
*  at line 22 is unrecognized.
*  at line 24 is unrecognized.
*  at line 25 is unrecognized.
*  at line 26 is unrecognized.
*  at line 27 is unrecognized.

Using mt 4.2 rc1

Not sure what I did wrong there?

12 Replies

| Add a Reply
  • I haven't solved the issue above, but I was able to set up other profiles and there are items in the actions screen.

    The example index and xml files are displaying data. I'm not sure they are updating from the cron job.

  • did you change the mt:setvar values to equal your username and display in the widget template?

  • I ended up using the index template examples and got it working.

    http://www.jacklail.com/actionstream/

    I'm still working a some style sheet issues.

  • default userpic

    I'm having the same problem and haven't been able to fix it yet, even after pasting the example Action Streams template into a Widget template.

    The same numbers as in the initial post here are referenced - here's the full error:

    * <mt:authorevents> at line 9 is unrecognized.
    * <mt:eventdate> at line 23 is unrecognized.
    * <mt:event> at line 22 is unrecognized.
    * <mt:event> at line 24 is unrecognized.
    * <mt:event> at line 25 is unrecognized.
    * <mt:eventmodifieddate> at line 26 is unrecognized.
    * <mt:eventdate> at line 27 is unrecognized.
    

    It looks like maybe Action Streams isn't correctly installed, but so far as I can tell I've done exactly what is described in the README.TXT. mtauthorusername and mtauthordisplay_name are set correctly as well.

    Any ideas?

    Thanks,

    Z.

  • Seriously, I don't know what I did that fixed it. But one thing to check is to whether you have set up "other profiles" and "action streams" are showing up. That'll be dependent on the cron job.

    This is the widget code, I'm using to put the last 5 on my main index page in the sidebar. I changed the styles some to match my site, but whatever. Hope that helps.

    Activity Stream

    • ">
    More ...
      </mt:if>
    

  • default userpic

    Hi Jack,

    Your code is working fine, thanks for that! Still a bit weird that the enclosed example template isn't working though - and I'm wondering what sort of functionality I might be missing out on. Has anyone seen (and fixed) this problem? It seems the mt:event tags just aren't recognised for some reason.

    Z.

  • I'm experiencing the exact same problem, with errors at the same line numbers. If I used the slimmed-down template example from the README, I get the following errors when I try and publish:

    Statement has no result columns to bind (perhaps you need to successfully call execute first) at /var/www/vhosts/mydomain.com/cgi-bin/mt/extlib/Data/ObjectDriver/Driver/DBI.pm line 119.

    Looking at my Activity Log, I see the following:

    Action Streams died with: Statement has no result columns to bind (perhaps you need to successfully call execute first) at /var/www/vhosts/mydomain.com/cgi-bin/mt/extl ib/Data/ObjectDriver/Driver/DBI.pm line 119.

    I saw some other posts that said problems with DBI.pm line 119 could be the result of a bad MySQL db, but I ran mysqlcheck and got 'OK' across the board.... any ideas?

    Jack, Zack, are you getting errors in your Activity Logs as well?

    thx J

    • ...adding a bit of hopefully-relevant info in case it helps somebody diagnose the issue:

      Perl version: 5.8.5 Your server has DBI installed (version 1.40). Your server has DBD::mysql installed (version 2.9004).

  • No, I haven't seen that work and it seems to be working for me correctly at this time.

  • default userpic

    The Action Stream widget itself seems to be working, but I'm getting errors in the cron job itself for some reason still. Different error from the one you've posted, Jason. See http://forums.movabletype.org/2008/06/cron-job-issue-with-action-str.html.

  • default userpic

    I seem to have found a fix for this now - try this Jason: http://forums.movabletype.org/2008/03/runperiodictasks-action-stream.html.

    This has definitely stopped the errors in my cron job.

  • Hi MT Community:

    I noticed that several other people had posted the same errors I was having trying to use the Athor Events Widget Sourcecode included with the Actionstreams plugin.

    When I copied and pasted the example code into a new widget template (adjusting user variables) i got the same exact errors reported here:

    • at line 9 is unrecognized.
    • at line 23 is unrecognized.
    • at line 22 is unrecognized.
    • at line 24 is unrecognized.
    • at line 25 is unrecognized.
    • at line 26 is unrecognized.
    • at line 27 is unrecognized.

    I noticed that the Index templates worked fine so I compared the two and noticed a different syntax in the index templates. I updated the widget code:

    mt:authorevents == mt:ActionStreams

    mt:eventdate == mt:StreamActionDate

    mt:event == mt:StreamAction

    mt:eventmodifieddate == mt:StreamActionModifiedDate

    and voilá: http://extravirgintechnology.com

    Hope this helps someone else.

    --jackson harvell

Add a Reply

Forum Groups