Project

General

Profile

Actions

Bug #670

closed

repository: import & export

Added by Anonymous over 13 years ago. Updated about 12 years ago.

Status:
Bug resolved
Priority:
High
Assignee:
Sven Vanpoucke
Target version:
Start date:
05/03/2010
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal

Description

Exports in the latest alpha-versions generate an error when imported after install; Older cpo-files are imported without a problem.

Actions #1

Updated by Sven Vanpoucke over 13 years ago

  • Assignee set to Sven Vanpoucke
Actions #2

Updated by Hans De Bisschop over 13 years ago

  • Status changed from New to Needs testing
Actions #3

Updated by Sven Vanpoucke over 13 years ago

  • % Done changed from 0 to 100

WARNING: Exports that have been made during the presence of this bug will not work anymore.

Actions #4

Updated by Anonymous over 13 years ago

This works again, but there is a small new bug: after login you do not get the portal page but the image which is part of the portal home.

Actions #5

Updated by Stefaan Vanbillemont over 13 years ago

Jean-Marie Maes wrote:

This works again, but there is a small new bug: after login you do not get the portal page but the image which is part of the portal home.

doesn't this has to do with the fact that your import cpo file was corrupt?

Actions #6

Updated by Sven Vanpoucke over 13 years ago

This can nothing to do with the cpo import => portal home is no content object

Actions #7

Updated by Stefaan Vanbillemont over 13 years ago

Jean-Marie, can you retest this?

Actions #8

Updated by Anonymous over 13 years ago

working as expected again, but small problem with portal home remains.
This is the page shown after login: http://localhost/chamilo/core.php?application=repository&go=document_downloader&display=1&object=82

Actions #9

Updated by Anonymous about 13 years ago

New error now on import demo2 export & other old exports:
Fatal error: require_once() [function.require]: Failed opening required 'C:\wamp\www\chamilo\repository\lib/content_object/matching_question/matching_question.class.php' (include_path='C:\wamp\www\chamilo\plugin\pear') in C:\wamp\www\chamilo\repository\lib\content_object.class.php on line 1044

Actions #10

Updated by Anonymous about 13 years ago

  • % Done changed from 100 to 70
Actions #11

Updated by Sven Vanpoucke about 13 years ago

  • % Done changed from 70 to 100
Actions #12

Updated by Stefaan Vanbillemont about 13 years ago

  • Status changed from Needs testing to Bug resolved
Actions #13

Updated by Anonymous about 13 years ago

Error after reinstall: MDB2_Error Object ( [error_message_prefix] => [mode] => 16 [level] => 1024 [code] => 19 [message] => MDB2 Error: no such field [userinfo] => prepare: [Error message: Unable to create prepared statement handle] [Last executed query: SELECT LAST_INSERT_ID()] [Native code: 1054] [Native message: Unknown column 'max_attempts' in 'field list'] [backtrace] => Array ( [0] => Array ( [file] => C:\wamp\www\chamilo\plugin\pear\MDB2.php [line] => 1009 [function] => PEAR_Error [class] => PEAR_Error [type] => -> [args] => Array ( [0] => MDB2 Error: no such field [1] => -19 [2] => 16 [3] => Array ( [0] => DatabaseRepositoryDataManager [1] => handle_error ) [4] => prepare: [Error message: Unable to create prepared statement handle] [Last executed query: SELECT LAST_INSERT_ID()] [Native code: 1054] [Native message: Unknown column 'max_attempts' in 'field list'] ) ) [1] => Array ( [file] => C:\wamp\www\chamilo\plugin\pear\PEAR.php [line] => 574 [function] => MDB2_Error [class] => MDB2_Error [object] => MDB2_Error Object RECURSION [type] => -> [args] => Array ( [0] => -19 [1] => 16 [2] => Array ( [0] => DatabaseRepositoryDataManager [1] => handle_error ) [3] => prepare: [Error message: Unable to create prepared statement handle] [Last executed query: SELECT LAST_INSERT_ID()] [Native code: 1054] [Native message: Unknown column 'max_attempts' in 'field list'] ) ) [2] => Array ( [file] => C:\wamp\www\chamilo\plugin\pear\MDB2.php [line] => 1497 [function] => raiseError [class] => PEAR [object] => MDB2_Driver_mysqli Object ( [string_quoting] => Array ( [start] => ' [end] => ' [escape] => \ [escape_pattern] => \ ) [identifier_quoting] => Array ( [start] => ` [end] => ` [escape] => ` ) [sql_comments] => Array ( [0] => Array ( [start] => - [end] => [escape] => ) [1] => Array ( [start] => # [end] => [escape] => ) [2] => Array ( [start] => /* [end] => */ [escape] => ) ) [server_capabilities_checked] => 1 [start_transaction] => 1 [varchar_max_length] => 65532 [db_index] => 1 [dsn] => Array ( [phptype] => mysqli [dbsyntax] => mysqli [username] => root [password] => [protocol] => tcp [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connected_dsn] => Array ( [phptype] => mysqli [dbsyntax] => mysqli [username] => root [password] => [protocol] => tcp [hostspec] => localhost [port] => [socket] => [database] => [mode] => ) [connection] => mysqli Object ( ) [opened_persistent] => [database_name] => chamilo [connected_database_name] => chamilo [connected_server_info

....

Actions #14

Updated by Stefaan Vanbillemont about 12 years ago

  • Project changed from Chamilo LCMS Connect to Repository
  • Category deleted (4)
Actions #15

Updated by Stefaan Vanbillemont about 12 years ago

  • Target version changed from 2 to 1.0.0
Actions

Also available in: Atom PDF