Help - Search - Members - Calendar
Full Version: Got An Error: Mutiple Trigger Registration
Movable Type Community Forum > Installing and Upgrading > Basic Installation and Setup
jhames
Hello.

I downloaded the upgrade to MT Pro and uploaded all the files in the necessary places as I've done several times before. When I tried to access my mt.cgi file I received the following message:

QUOTE
Got an error: mutiple trigger registration in one add_trigger() call is deprecated. at lib/MT/Entry.pm line 282
Compilation failed in require at lib/MT/Compat/v3.pm line 12.
BEGIN failed--compilation aborted at lib/MT/Compat/v3.pm line 12.
Compilation failed in require at lib/MT.pm line 1210.


What does this mean and how I do fix it?
Su-
You're now the second match on Google for this error; congratulations(?).
I've only seen this mentioned once before, and the person didn't follow up.

Did you check your ftp client's log to make sure everything went up properly? (Some of them put the log where it isn't immediately visible.) The first thing that comes to mind is that maybe there's an old file or one got borked in transfer.

Or possibly a Perl issue. What version does your server have?
jhames
Go me! I ran a search on Google before I posted in the forums, hence my post.

mt-check.cgi says my server has Perl 5.8.8 which is more than sufficient for MT.

The FTP log says everything is where it should be. Honestly? I find that MT will post several versions of is software all over the site, and on more than one occasion I've had issues with files missing.

I have downloaded (3rd time) the new upgrade and will delete all my old directories in cgi-bin/mt before uploading.
Su-
QUOTE (jhames @ Aug 26 2008, 09:00 AM) *
mt-check.cgi says my server has Perl 5.8.8 which is more than sufficient for MT.

Right, but particular versions sometimes have their own issues. ActivePerl 5.10 doesn't like MT, for example, due to a bug in their Perl build.

QUOTE (jhames @ Aug 26 2008, 09:00 AM) *
Honestly? I find that MT will post several versions of is software all over the site, and on more than one occasion I've had issues with files missing.

This I'm not sure I follow. Do you mean the downloads? All the options are here in one spot now. I'm not aware of any missing files in the archives; it would've come up, loudly, by now.
jhames
QUOTE (Su- @ Aug 26 2008, 02:43 PM) *
This I'm not sure I follow. Do you mean the downloads? All the options are here in one spot now. I'm not aware of any missing files in the archives; it would've come up, loudly, by now.


I found 3 different MT downloads yesterday off the site:
MT-4.21-en
MTOS-4.21-en
MTP-4.12-en (not a typo)

I just re-installed my extlib and lib and received the following error:

QUOTE
Got an error: Can't locate JSON.pm in @INC (@INC contains: /extlib lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at lib/MT/App/Upgrader.pm line 15.
BEGIN failed--compilation aborted at lib/MT/App/Upgrader.pm line 15.
Compilation failed in require at lib/MT/Bootstrap.pm line 62.


*sighs* Does anyone have the previous ZIP of MT I could re-install on my site?
Su-
QUOTE (jhames @ Aug 26 2008, 09:56 AM) *
I found 3 different MT downloads yesterday off the site:

Okay, all your current, up to date options are at the page I linked *grin* Those first two are the same version, but different distributions; MTOS is the open source one, the other is the Pro version with the additional packs.
4.12 isn't even really an option given it's out of date and pre- the most recent security update to 4.14. How'd you even find a link for that, unless you were rummaging around in blog posts? As far as previous version, which? That security update link has the most recent for the 3.3x, 4.01, 4.1x and also the current 4.2 series. Click the red icon at bottom of the post, and make sure to pay attention for the -en suffix on the filename.

The fact you're now getting a different error pretty much confirms there's something going on with your upload.
The app itself works. I swear.
jhames
QUOTE (Su- @ Aug 26 2008, 04:06 PM) *
QUOTE (jhames @ Aug 26 2008, 09:56 AM) *
I found 3 different MT downloads yesterday off the site:

Okay, all your current, up to date options are at the page I linked *grin* Those first two are the same version, but different distributions; MTOS is the open source one, the other is the Pro version with the additional packs.
4.12 isn't even really an option given it's out of date and pre- the most recent security update to 4.14. How'd you even find a link for that, unless you were rummaging around in blog posts? As far as previous version, which? That security update link has the most recent for the 3.3x, 4.01, 4.1x and also the current 4.2 series. Click the red icon at bottom of the post, and make sure to pay attention for the -en suffix on the filename.

The fact you're now getting a different error pretty much confirms there's something going on with your upload.
The app itself works. I swear.


The site needs to better manage its files. http://www.movabletype.com/download/person...-4.12-en.tar.gz

I was using Transmit by Panic to upload all my files, but I also tried with Filezilla. Deleted extlib and lib, then uploaded both directories. The error I received yet again:
QUOTE
Got an error: mutiple trigger registration in one add_trigger() call is deprecated. at lib/MT/Entry.pm line 282
Compilation failed in require at lib/MT/Compat/v3.pm line 12.
BEGIN failed--compilation aborted at lib/MT/Compat/v3.pm line 12.
Compilation failed in require at lib/MT.pm line 1210.


Two different FTP clients and still the same error?
jhames
I downloaded MT-4.21-en.tar.gz and opened the file using Stuffit Expander instead of Mac OS X's default unzip utility. I used CuteFTP (instead of Transmit and Filezilla) and uploaded the extlib and lib in ASCII mode. Behold, log sample:

CODE
STOR XMLRPCServer.pm
150 Opening ASCII mode data connection for XMLRPCServer.pm
Sent 47825 B
226 Transfer complete
CDUP


So I ran mt-check.cgi and received the following message:

QUOTE
Movable Type System Check Successful

You're ready to go! Your server has all of the required modules installed; you do not need to perform any additional module installations. Continue with the installation instructions.


I ran mt-upgrade.cgi and received this message:

QUOTE
Got an error: Can't locate JSON.pm in @INC (@INC contains: /extlib lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at lib/MT/App/Upgrader.pm line 15.
BEGIN failed--compilation aborted at lib/MT/App/Upgrader.pm line 15.
Compilation failed in require at lib/MT/Bootstrap.pm line 62.


mt-wizard.cgi and mt.cgi return the following error:

QUOTE
Got an error: mutiple trigger registration in one add_trigger() call is deprecated. at lib/MT/Entry.pm line 282
Compilation failed in require at lib/MT/Compat/v3.pm line 12.
BEGIN failed--compilation aborted at lib/MT/Compat/v3.pm line 12.
Compilation failed in require at lib/MT.pm line 1210.


WTF
miramis
I did what it says here: http://orangescale.net/blognotes/movable-t...bject-is-empty/

It's not the same error (I also had the multiple trigger thing) but it works now! So try it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.