user-pic

Install error: weak references?

Vote 0 Votes

I'm in the middle of installing MTOS and, after having transferred the files in ASCII and set the appropriate permissions, I'm getting the following error:


Got an error: Weak references are not implemented in the version of perl at /var/www/vhosts/cultivatethreerivers.com/httpdocs/mt/extlib/Data/ObjectDriver/BaseObject.pm line 8 BEGIN failed--compilation aborted at /var/www/vhosts/cultivatethreerivers.com/httpdocs/mt/extlib/Data/ObjectDriver/BaseObject.pm line 8. Compilation failed in require at (eval 18) line 3. ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85. BEGIN failed--compilation aborted at lib/MT/Object.pm line 10. Compilation failed in require at (eval 17) line 3. ...propagated at /usr/lib/perl5/5.8.5/base.pm line 85. BEGIN failed--compilation aborted at lib/MT/Config.pm line 9.

Compilation failed in require at lib/MT/ConfigMgr.pm line 280.

You can take a look at the mt-check file here: http://www.cultivatethreerivers.com/mt/mt-check.cgi

Any ideas? Thanks for your help!

12 Replies

| Add a Reply
  • I've upgraded my Perl installation, so the new MTOS 4.2 is now running. Of course, in the process, my licensed 4.1 is now giving me server errors. Yay.

  • Hi,

    I've had the same, but try this on the command line of your server:

    perl -MCPAN -e shell force install Scalar::Util

    It should get you the latest version of Scalar::Util, and that made the problem go away for me.

    Kind regards, Maarten

  • Ok, there should have been a newline after that 'shell'.

  • I had this problem too. Maarten's fix worked, although I didn't need to force the install of Scalar::Util.

  • OK. This is weird.

    A few days after running the beta, I got the error Rob reported again.

    I have again installed Scalar::Util and all seems well...

    So, I guess I'm wondering why Scalar::Util would seemingly disappear...

  • I just tried installing mtos 42rc4 today, and got this error. Was directed here by the irc channel. I showed this post to my host, and he said "Scalar:Util is up to date".

    He also said he'd look into it later, but do you have any other ideas besides this one?

  • Scratch that last post of mine.

    OK, it's fixed. my host said that the idea was right, but the command string was not. Something about since this server was Fedora 8, that string was not exactly correct.

    he had to do this from the command line:

    cpan install Bundle::CPAN force install Scalar:Util

  • Eek. That was supposed to be three separate lines. They were not parsed out right.

    1) cpan

    2) install Bundle::CPAN

    3) force install Scalar::Util

  • Ran into the same problem and Maarten's commands didn't work for me. When I tried to run Joe's sample commands, I got:

    Undefined subroutine &Compress::Zlib::gzopen called at (eval 43) line 5723.

    After a bit of searching, I came across this thread which suggested that I remove all the old compress Zlib files using this command:

    rm -rf find /usr/lib/perl5/ | grep Compress | grep Zlib

    I ran it and it worked. Then I ran Joe's commands and Scalar::Util installed and my upgrade proceeded as it should. Thanks for the help!

  • Except now I'm getting this error:

    Statement has no result columns to bind (perhaps you need to successfully call execute first) at /var/www/dev/html/mt/extlib/Data/ObjectDriver/Driver/DBI.pm line 128.

    When rebuilding the main index.

  • According to Byrne, this error is most likely a faulty SQL statement either in MT or in a plugin. Trying to narrow down what's throwing it.

  • On further examination, the error was caused by an included template module with the following code <mt:Entries category="NOT News"></mt:Entries> included into a blog where the category News did not exist.

    Obvious quick fix is to create that category on this blog, but ultimately this is a bug that should be addressed.

Add a Reply

Forum Groups

151 405

Last Topic: MT Interface Missing by Sherri on Nov 10, 2008

36 144

Last Topic: Installation can't finish by Drazend on Nov 10, 2008

34 93

Last Topic: Creating your own Plug-in by jondauz on Nov 5, 2008

10 33

Last Topic: new licensing confusion by Neil Epstein on Aug 14, 2008

code.sixapart.com

62 226

Last Topic: Callback after blog publishing. by Tomato Interactive on Oct 27, 2008

34 98

Last Topic: Ajax Rating Plugin by kiran on Oct 17, 2008