<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html" />
  <link rel="self" type="application/atom+xml" href="http://forums.movabletype.org/atom.xml" />
  <id>tag:forums.movabletype.org,2011://24/tag:forums.movabletype.org,2008://24.5355-</id>
  <updated>2011-09-01T02:28:19Z</updated>
  <title>Comments for <![CDATA[[Action Streams] &quot;Can't use an undefined value as a HASH reference&quot; error during install/upgrade]]></title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.292</generator>
  <entry>
    <id>tag:forums.movabletype.org,2008://24.5355</id>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.movabletype.org/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=24/entry_id=5355" title="[Action Streams] &quot;Can't use an undefined value as a HASH reference&quot; error during install/upgrade" />
    <published>2008-01-30T20:14:00Z</published>
    <updated>2008-03-10T21:57:28Z</updated>
    <title>[Action Streams] &quot;Can&apos;t use an undefined value as a HASH reference&quot; error during install/upgrade</title>
    <summary>I installed this today but its not working. The upgrade routine does not complete. I get this error message: Can&apos;t use an undefined value as a HASH reference at /usr/local/www/sharedapps/mt/cgi-bin/extlib/Data/ObjectDriver/BaseObject.pm line 283. From a bit of debugging, it appears that...</summary>
    <author>
      <name>Brandon Fuller</name>
      <uri>http://brandon.fuller.name/</uri>
    </author>
    
    <category term="General Support" />
    
    <content type="html" xml:lang="en" xml:base="http://forums.movabletype.org/">
      <![CDATA[<p>I installed this today but its not working. The upgrade routine does not complete. I get this error message:</p>

<p><code>Can't use an undefined value as a HASH reference at /usr/local/www/sharedapps/mt/cgi-bin/extlib/Data/ObjectDriver/BaseObject.pm line 283.</code></p>

<p>From a bit of debugging, it appears that ActionStream's Event object is causing this. The properties object is not defined when it tries to get the <code>$_[0]-&gt;properties-&gt;{datasource}</code> value.</p>

<p>I have MT 4.1 installed clean with MySQL.</p>
]]>
      

    </content>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.5355-comment:4443</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.5355" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html#c4443" />
    <title>Comment from David Jacobs on 2008-01-30</title>
    <author>
        <name>David Jacobs</name>
        <uri>http://www.davidrecordon.com/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.davidrecordon.com/">
        <![CDATA[<p>Hey Brandon,<br />
Did you upload the "extlib" directory from the plugin?  That error normally means there is a required library which isn't instaled.</p>

<p>--David</p>]]>
    </content>
    <published>2008-01-30T22:07:26Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.5355-comment:4448</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.5355" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html#c4448" />
    <title>Comment from Brandon Fuller on 2008-01-30</title>
    <author>
        <name>Brandon Fuller</name>
        <uri>http://brandon.fuller.name/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://brandon.fuller.name/">
        <![CDATA[<p>Thanks for the thought.  I re-uploaded extlib and its working now.  I think there might have been a conflict.</p>]]>
    </content>
    <published>2008-01-30T22:56:28Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.5355-comment:4450</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.5355" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html#c4450" />
    <title>Comment from Brock on 2008-01-31</title>
    <author>
        <name>Brock</name>
        <uri>http://www.brockli.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.brockli.com">
        <![CDATA[<p>I'm having the same problem as Brandon, but less luck in fixing it.  I've completely replaced the extlib directory - started off with what's in the MTP 4.1 zip, then merged in the Action Streams items, and I'm still getting it.  Are there other libraries I might be missing?</p>

<p>Thanks!</p>]]>
    </content>
    <published>2008-01-31T13:32:41Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.5355-comment:4456</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.5355" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html#c4456" />
    <title>Comment from Mark Paschal on 2008-01-31</title>
    <author>
        <name>Mark Paschal</name>
        <uri>http://markpasc.org/mark/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://markpasc.org/mark/">
        <![CDATA[<p>Brock: That error does indicate a missing dependency for Web::Scraper. If you have command line access, you might run:</p>

<p>perl -Iextlib -MWeb::Scraper -e 1</p>

<p>and see if it complains about a missing module. If not, <a href="http://rafb.net/p/xG9RFJ59.html">a similar approach in a CGI</a> could work.</p>]]>
    </content>
    <published>2008-01-31T18:50:03Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.5355-comment:4458</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.5355" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html#c4458" />
    <title>Comment from Brock on 2008-01-31</title>
    <author>
        <name>Brock</name>
        <uri>http://www.brockli.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.brockli.com">
        <![CDATA[<p>Mark - thanks for the details.  As it turns out, I had put Web::Scraper in the WWW dir, because...well, because I'm dumb.</p>

<p>As it turns out, that didn't totally solve the problem.  I'm still getting an error from the CGI script you linked to:</p>

<p>Weak references are not implemented in the version of perl at extlib/HTML/TreeBuilder/XPath.pm line 93<br />
BEGIN failed--compilation aborted at extlib/HTML/TreeBuilder/XPath.pm line 93.<br />
Compilation failed in require at extlib/Web/Scraper.pm line 9.<br />
BEGIN failed--compilation aborted at extlib/Web/Scraper.pm line 9.<br />
Compilation failed in require at (eval 1) line 1.<br />
BEGIN failed--compilation aborted at (eval 1) line 1.</p>

<p>Unfortunately, my knowledge of Perl is newb at best, but I'm going to keep poking it with a stick to see if I can't make something come out.</p>]]>
    </content>
    <published>2008-01-31T19:03:42Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2008://24.5355-comment:4460</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2008://24.5355" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2008/01/action-streams-cant-use-an-und.html#c4460" />
    <title>Comment from Mark Paschal on 2008-01-31</title>
    <author>
        <name>Mark Paschal</name>
        <uri>http://markpasc.org/mark/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://markpasc.org/mark/">
        <![CDATA[<p>Brock: no problem, it can be tricky to get all the parts in the right place! The instructions are a little more complex than they could be because sometimes people using cgi-bin directories have to move mt-static out of the application directory.</p>

<p>Weak references were added in 1.6.0, so as long as your perl is newer than that, it should work fine. However <a href="http://www.perlmonks.org/?node_id=424737">this thread at perlmonks</a> suggests sometimes Scalar::Util or perl are miscompiled to think they don't have weak references. You might try the last suggestion of reinstalling Scalar::Util from CPAN, if you were using your OS's package management and it still doesn't work.</p>]]>
    </content>
    <published>2008-01-31T23:21:20Z</published>
  </entry>

</feed>

