Help - Search - Members - Calendar
Full Version: <$MTVersion$> reporting incorrectly
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
Struan
I have been successfully using Movable Type for about a month now on my machine here at home. I distinctly remember seeing that the <$MTVersion$> tag was correctly reporting 2.64

This past weekend I was playing around with some plugins (which may or may not be related--just that I was busy), and now MT reports that it is running 1.2

Anyone seen this before, and do you know in which script the versioning number is kept, so I can verify where the problem is?

Thanks
girlie
It's a plugin causing it, I bet. I just ran into the same thing with the MTGrid plugin.

I deleted all the plugins in my directory and uploaded them a few at a time, refreshing my MT login page and checking the version number until it changed and that's how I identified the culprit.
stepan
QUOTE (girlie @ Sep 15 2003, 07:18 PM)
It's a plugin causing it, I bet. I just ran into the same thing with the MTGrid plugin.

Some plugins (including an earlier version of my MTGrid ohmy.gif ) incorrectly, assign a $VERSION without specifying a package name for the plugin which ends up overwriting the MTVersion value.

Follow girlie's directions to identify which plugin is causing the problem and let the author know. Oh, and make sure you're using the latest version of their plugin (for example, I fixed this in version 1.11 of MTGrid).
Struan
Ah, thank you. I guessed well, and moved location.pl to /tmp

Reload my main menu, and I'm running 2.64 again.

I'll try to out TrackBack to let the author of Location know something is goofy.
asirota
Thanks! The MTLocation plugin is the culprit. I edited location.pl in the plugins folder to remove the check/set for $VERSION

These 2 lines appear as this:

#use vars qw( $VERSION );
#$VERSION = 1.2;

Plugin should still work and the version # is now 2.64 as proper...
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.