Bug #670
closed
repository: import & export
100%
Description
Exports in the latest alpha-versions generate an error when imported after install; Older cpo-files are imported without a problem.
Updated by Hans De Bisschop over 13 years ago
- Status changed from New to Needs testing
Fix committed in http://code.google.com/p/chamilo/source/detail?r=df7d2e8ad7f2260ff667c29c7bb2be4a11eddd30&repo=chamilo
Could you update your code and try again?
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.
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.
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?
Updated by Sven Vanpoucke over 13 years ago
This can nothing to do with the cpo import => portal home is no content object
Updated by Stefaan Vanbillemont over 13 years ago
Jean-Marie, can you retest this?
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
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
Updated by Sven Vanpoucke about 13 years ago
- % Done changed from 70 to 100
Added some extra checks in
http://code.google.com/p/chamilo/source/detail?r=38a90f6e605bbd81154f66e248c8773636c7b302&repo=chamilo
Updated by Stefaan Vanbillemont about 13 years ago
- Status changed from Needs testing to Bug resolved
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
....
Updated by Stefaan Vanbillemont about 12 years ago
- Project changed from Chamilo LCMS Connect to Repository
- Category deleted (
4)
Updated by Stefaan Vanbillemont about 12 years ago
- Target version changed from 2 to 1.0.0