Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 11

G_Mericgillettelucsandino +7 guests

Problem Importing from Vanilla 1

Hi!
I installed/upgraded as recommended, set up the database and an admin-account.
But when I enter xxx/index.php/import I get the following:

Warning: Cannot modify header information - headers already sent by (output started at xxx/forum/applications/garden/controllers/import.php:37) in xxx/forum/library/core/functions.error.php on line 29










Fatal Error in PHP.ErrorHandler();





gzopen(xxx/forum/uploads/export 2010-02-08 152725.txt.gz) [function.gzopen]: failed to open stream: No such file or directory


The error occurred on or near: xxx/forum/applications/garden/models/class.importmodel.php


81: public function SplitFile($Path) {

82: $Tables = array();

83:

84: // Open the import file.

85: $fpin = gzopen($Path, 'rb');

86: $fpout = NULL;

87:

88: // Make sure it has the proper header.

89: $Header = fgets($fpin);


Backtrace:


[xxxt/forum/library/core/functions.error.php:132] PHP::include();

[xxx/forum/library/core/functions.error.php:132] PHP::ErrorHandler();

[xxx/forum/applications/garden/models/class.importmodel.php:85] PHP::gzopen();

[xxx/forum/applications/garden/controllers/import.php:40] Gdn_ImportModel->SplitFile();

[xxx/forum/library/core/class.dispatcher.php:227] ImportController->Index();

[xxx/forum/index.php:41] Gdn_Dispatcher->Dispatch();


Variables in local scope:


[Path] 'xxx/forum/uploads/export 2010-02-08 152725.txt.gz'

[Tables] array (
)


Additional information for support personnel:




Application: Garden


Application Version: 1.0


PHP Version: 5.2.12


Operating System: SunOS


User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-de) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10

Request Uri: /index.php/import


Controller: PHP


Method: ErrorHandler


Any Ideas?

Thanks!

Comments

  • Posts: 110
    I already deleted all files and reinstalled, no change...
  • Posts: 110
    I tried visiting xxx/forum/index.php/upgrade and everything worked like a charm!
Sign In or Register to comment.