Help - Search - Members - Calendar
Full Version: Import Error
Movable Type Community Forum > Installing and Upgrading > Importing and Exporting
btrott
Sounds like the object driver is not getting initialized, which generally implies that your mt.cfg file could not be found. If you made a change to mt.cgi to add an explicit path to mt.cfg (which I believe you did), make that same change to mt-import.cgi. Let me know if this helps.
btrott
In mt-import.cgi, the variable is called $mt, not $app, the line you changed should actually be

CODE
my $mt = MT::App::CMS->new( Config => 'C:\inetpub\wwwroot\mt\mt.cfg' );


The only change is $app should be $mt. Let me know if this fixes the problem.
asellke
Anyone getting this?

An error occurred while importing your data:
Can't call method "load" on an undefined value at c:\inetpub\wwwroot\mt\lib/MT/Object.pm line 96.

Everything else is working, since making modifications, per Matt and Ben... is this another one?

Running Win2k, IIS5, IE 6.0
asellke
Added explicit path to mt.cfg, by changing out line 25 with

my $app = MT::App::CMS->new( Config => 'C:\inetpub\wwwroot\mt\mt.cfg' );

but got this:

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


Global symbol "$mt" requires explicit package name at c:\inetpub\wwwroot\mt\mt-import.cgi line 27.
Global symbol "$mt" requires explicit package name at c:\inetpub\wwwroot\mt\mt-import.cgi line 33.
Execution of c:\inetpub\wwwroot\mt\mt-import.cgi aborted due to compilation errors.

Not sure of the syntax to fix this down there. Any help would be greatly appreciated.

Best,

Adam
asellke
Awesome-

That plus, "my $dir = 'c:\inetpub\wwwroot\mt\import';" on line 63 seems to have worked.

Best,

Adam
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-2010 Invision Power Services, Inc.