Project

General

Profile

Bug #435

error on creating wiki link

Added by Anonymous almost 10 years ago. Updated over 8 years ago.

Status:
Bug resolved
Priority:
Normal
Target version:
Start date:
15/12/2009
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal

Description

using the wiki-link icon in fckeditor (or [[]]);
the error occurs also if you fist create the page and then want to link to it:

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 * FROM `user_user_quota` AS uq WHERE (uq.`user_id` = '4' AND uq.`content_object_type` = 'wiki_page') LIMIT 0, 1] [Native code: 1054] [Native message: Unknown column 'owner' 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 * FROM `user_user_quota` AS uq WHERE (uq.`user_id` = '4' AND uq.`content_object_type` = 'wiki_page') LIMIT 0, 1] [Native code: 1054] [Native message: Unknown column 'owner' 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 * FROM `user_user_quota` AS uq WHERE (uq.`user_id` = '4' AND uq.`content_object_type` = 'wiki_page') LIMIT 0, 1] [Native code: 1054] [Native message: Unknown column 'owner' 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] => 5.1.36-community-log [supported] => Array ( [sequences] => emulated [indexes] => 1 [affected_rows] => 1 [summary_functions] => 1 [order_by_text] => 1 [transactions] => 1 [savepoints] => 1 [current_id] => emulated [limit_queries] => 1 [LOBs] => 1 [replace] => 1 [sub_selects] => 1 [triggers] => 1 [auto_increment] => 1 [primary_key] => 1 [result_introspection] => 1 [prepared_statements] => 1 [identifier_quoting] => 1 [pattern_escaping] => 1 [new_link] => 1 ) [options] => Array ( [ssl] => [field_case] => 0 [disable_query] => [result_class] => MDB2_Result_%s [buffered_result_class] => MDB2_BufferedResult_%s [result_wrap_class] => [result_buffering] => 1 [fetch_class] => stdClass [persistent] => [debug] => 3 [debug_handler] => Array ( [0] => Database [1] => debug ) [debug_expanded_output] => [default_text_field_length] => 4096 [lob_buffer_length] => 8192 [log_line_break] => [idxname_format] => %s_idx [seqname_format] => %s_seq [savepoint_format] => MDB2_SAVEPOINT_%s [statement_format] => MDB2_STATEMENT_%1$s_%2$s [seqcol_name] => sequence [quote_identifier] => [use_transactions] => 1 [decimal_places] => 2 [portability] => 127 [modules] => Array ( [ex] => Extended [dt] => Datatype [mg] => Manager [rv] => Reverse [na] => Native [fc] => Function ) [emulate_prepared] => [datatype_map] => Array ( ) [datatype_map_callback] => Array ( ) [nativetype_map_callback] => Array ( ) [lob_allow_url_include] => [bindname_format] => (?:\d+)|(?:[a-zA-Z][a-zA-Z0-9_]) [max_identifiers_length] => 64 [default_fk_action_onupdate] => RESTRICT [default_fk_action_ondelete] => RESTRICT [DBA_username] => [DBA_password] => [default_table_type] => [multi_query] => ) [wildcards] => Array ( [0] => % [1] => _ ) [as_keyword] => AS [warnings] => Array ( ) [debug_output] => [in_transaction] => [nested_transaction_counter] => [has_tra

and much more...


Files

wiki_back_to_top_link.png (20.3 KB) wiki_back_to_top_link.png Anonymous, 16/12/2009 13:04

History

#1

Updated by Sven Vanpoucke almost 10 years ago

  • Assignee set to Sven Vanpoucke
#2

Updated by Sven Vanpoucke almost 10 years ago

  • Status changed from New to Needs testing
  • % Done changed from 0 to 100

I could not reproduce the exact bug but i did fix a lot of other wiki bugs that occured due to bad coding
http://code.google.com/p/chamilo/source/detail?r=6e4d23cd6757db5a5fab150e696a288525839bf2&repo=chamilo

#3

Updated by Anonymous almost 10 years ago

I still get the same type of error
*when editing a new page
*when adding a link to a new page or existing page

#4

Updated by Sven Vanpoucke almost 10 years ago

  • Status changed from Needs testing to Assigned
#5

Updated by Sven Vanpoucke almost 10 years ago

  • Status changed from Assigned to Needs testing
#6

Updated by Anonymous almost 10 years ago

works, but the back to top-link does not do anything (supposed to bring you to the top page of the wiki)

#7

Updated by Stefaan Vanbillemont almost 10 years ago

  • Status changed from Needs testing to Bug resolved
#8

Updated by Stefaan Vanbillemont over 8 years ago

  • Project changed from Chamilo LCMS Connect to Wiki
  • Category deleted (35)
#9

Updated by Stefaan Vanbillemont over 8 years ago

  • Target version changed from 2 to 1.0.0

Also available in: Atom PDF