Project

General

Profile

Bug #670

repository: import & export

Added by Anonymous almost 10 years ago. Updated almost 9 years ago.

Status:
Bug resolved
Priority:
High
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.

History

#1

Updated by Sven Vanpoucke almost 10 years ago

  • Assignee set to Sven Vanpoucke
#2

Updated by Hans De Bisschop almost 10 years ago

  • Status changed from New to Needs testing
#3

Updated by Sven Vanpoucke almost 10 years ago

  • % Done changed from 0 to 100

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

#4

Updated by Anonymous almost 10 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.

#5

Updated by Stefaan Vanbillemont almost 10 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?

#6

Updated by Sven Vanpoucke almost 10 years ago

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

#7

Updated by Stefaan Vanbillemont almost 10 years ago

Jean-Marie, can you retest this?

#8

Updated by Anonymous almost 10 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

#9

Updated by Anonymous almost 10 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

#10

Updated by Anonymous almost 10 years ago

  • % Done changed from 100 to 70
#12

Updated by Stefaan Vanbillemont almost 10 years ago

  • Status changed from Needs testing to Bug resolved
#13

Updated by Anonymous almost 10 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

....

#14

Updated by Stefaan Vanbillemont almost 9 years ago

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

Updated by Stefaan Vanbillemont almost 9 years ago

  • Target version changed from 2 to 1.0.0

Also available in: Atom PDF