Help - Search - Members - Calendar
Full Version: Upgrading To Mt 3.2 Alpha
Movable Type Community Forum > Installing and Upgrading > Upgrading
aliasghar
Hi

i try to upgrade my Mt from 3.11 to 3.2 last night. when i run the mt-upgrade.cgi i got the error :

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Can't locate MT/Bootstrap.pm in @INC (@INC contains: lib c:/Perl/lib c:/Perl/site/lib .) at D:\hshome\mysite.com\cgi-bin\mt\mt-upgrade.cgi line 11.
BEGIN failed--compilation aborted at D:\hshome\mysite.com\cgi-bin\mt\mt-upgrade.cgi line 11.

any sugestions ?
arvind
Make sure that all the files in the lib/ folder have been properly uploaded. In particular it isn't finding lib/MT/Bootstrap.pm but just for safety I would re-upload them all.
aliasghar
Hi

I upload them again but no change!and I delete all my installed plugins too. but still have the error message.

Im sure that the bootstrap.pm is in the right place but I think that the mt-upgrade.cgi look at the wrong place.

the error show that it look for the bootstrap.pm in the : c:/Perl/site/lib

but it is in the biggrin.gif:\hshome\mysite.com\cgi-bin\mt\lib\

am i right ? if yes what should i do now ?
arvind
I'm sorry I don't really know how to install MT on Windows. Might this section of the docs be helpful?
aliasghar
thanks but it dosent help. any other idea?
aliasghar
I have found something : i have another MT ver 3.2 that i locally installed on my laptop. when i run the mt-check.cgi the two results from the two MT ( one locally and one on the Server ) are the same but in the end of the resault on my local MT i can see :

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.


but on my server one it doesnt appear.huh.gif
arvind
Hmm that's odd. So the results are exactly the same? You have all the required modules installed (the top third of mt-check.cgi) the database you use has the necessary modules installed (the middle section) ? If so then I don't see why the notice won't come that you're ready to go.
aliasghar
yes they are the same !!! i use the MySql database for both and the DBD::MySql is installed on them !

I sent an Email to my hosting and ask for the Perl path on the server and they said that the Perl is installed on :

c:\Perl\bin\perl.exe

and i change the perl address of the nessesary files to :

/Perl/bin

but it hasen't worked.
aliasghar
you can see the mt-check.cgi here :


http://www.govashir.com/cgi-bin/mt/mt-check.cgi
DaveVT5
This is the exact same problem I am having. I'm getting a CGI error but I too did notice that I'm not seeing the entire mt-check.cgi output.

Here's my mt-check.cgi page:
http://www.dcpub.com/mt/mt-check.cgi


It doesn't show anything after the XML Atom plugin confirmation. What's next on the list? That may be an indication as to the issue.




Here's MY CGI error for reference
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


Can't locate MT/Bootstrap.pm in @INC (@INC contains: lib E:/Perl/lib E:/Perl/site/lib .) at E:\Inetpub\dcpub.com\www\mt\mt.cgi line 11.
BEGIN failed--compilation aborted at E:\Inetpub\dcpub.com\www\mt\mt.cgi line 11.
aliasghar
Hi Dave

there is nothing after it . just :

"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."

its about 12 hours that I and one of my friend are working on it but no change have yet. sad.gif
arvind
Hi both of you, it looks like there might be a problem with the version(s) of IIS you are using (from Brad Choate an MT Dev this is). I would recommend you open a support ticket to get the workaround that is available.
DaveVT5
I'm scouring through mt.cfg looking for any settings I have in there that aren't present in mt-config.cgi. So far the only thing I've found is the Datasource command. I don't thinks its relavant. I added it to mt-config.cgi and still nothing. I tried loading bootstrap.pm into the main /mt/ folder and when I do I get this error:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


Can't locate MT.pm in @INC (@INC contains: lib E:/Perl/lib E:/Perl/site/lib .) at MT/Bootstrap.pm line 4.
BEGIN failed--compilation aborted at MT/Bootstrap.pm line 4.
Compilation failed in require at E:\Inetpub\dcpub.com\www\mt\mt.cgi line 11.
BEGIN failed--compilation aborted at E:\Inetpub\dcpub.com\www\mt\mt.cgi line 11.


So maybe the issue is that its not correctly looking into the /lib/* path

/lib/MT.pm <--- its there on my server
/lib/MT/Bootstrap.pm <--- its there on my server w/ 55 other files/folders

Anyone? Where can we check to make sure MT is looking in the proper folders for things?
DaveVT5
I'm using IIS on Win2000 w/ the .net framework installed. My server is sucessfully running MT version 2.6 w/ DB_File for one user as well as MT 3.16 with DBD:SQLite for another.

What is weird to me is that the top of my mt-check file lists the paths for Perl and includes

E:\Inetpub\dcpub.com\www\mt\extlib
E:\Inetpub\dcpub.com\www\mt\lib
E:/Perl/lib
E:/Perl/site/lib

I don't know if the / versus \ makes any difference...
aliasghar
i try it with / and \ but no change ! What a strange error !
aliasghar
heeelp !?
arvind
Hi aliasghar and DaveVT5, I have already said above that talking to an MT, Six Apart developer, he has said that its most likely a problem with your version of IIS. Six Apart do have a workaround but it is fairly complex to duplicate on the forums hence I would recommend you open a support ticket.
aliasghar
thaks arvind.

where can i open a ticket for this problem ?
aliasghar
( beceuse i use the free personal version of MT i can't open a ticket for it )

I contact with my hosting support for IIS 5.00 upgrade. and here the answer : sad.gif


"Hello,
It is possable that this is the issue. Unfortunatly we cannot upgrade to 5.1. There are some compatability issues and it would cause to many problems. If it were a perl module that I could add I would be happy to help, but IIS is pretty static and cant be upgraded at the moment.
"

now i want to now that MT 3.2 realy incompatable with IIS 5.00 huh.gif
larsr
yesss. need help. pleaseeeeeee
DaveVT5
Hey everyone, its high-time I paid for MT anyway so let me do so, open a trouble ticket, figure out what the issue is, then post back to here. I'll keep you posted although it will likely be Thursday PM EST before I work on this again.

David
aliasghar
BOOOOM I find it !!!


just change this files :

mt.cgi, mt-add-notify.cgi, mt-atom.cgi, mt-comments.cgi, mt-search.cgi, mt-tb.cgi, mt-upgrade.cgi, mt-view.cgi

The line that reads

use lib 'lib';

change to

use lib 'path\to\mt\lib';

for example :

use lib 'C:\hshome\eskandar\mysite.com\cgi-bin\mt\lib';
Bluze
Yeah, writing in the full path worked for me on a Windows 2000 Server machine - thanks loads biggrin.gif
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.