W bazie danych wystąpił błąd podczas próby wywołania zapytania. Proszę zapoznać się z opisem błędu poniżej.
system/libraries/drivers/Database/Mysqli.php [142]:
Wystąpił błąd SQL: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY id ASC LIMIT 0, 1000' at line 1 - SELECT DISTINCT * FROM typ_oferty WHERE id = ORDER BY id ASC LIMIT 0, 1000
Kohana_Mysqli_Result->__construct( mysqli Object ( [affected_rows] => -1 [client_info] => mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $ [client_version] => 50012 [connect_errno] => 0 [connect_error] => [errno] => 1064 [error] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY id ASC LIMIT 0, 1000' at line 1 [error_list] => Array ( ) [field_count] => 6 [host_info] => Localhost via UNIX socket [info] => [insert_id] => 0 [server_info] => 5.5.5-10.6.16-MariaDB-cll-lve [server_version] => 100616 [stat] => Uptime: 2449135 Threads: 142 Questions: 6683442842 Slow queries: 52905 Opens: 38767989 Open tables: 40000 Queries per second avg: 2728.899 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 51183391 [warning_count] => 0 ) , 1, SELECT DISTINCT * FROM typ_oferty WHERE id = ORDER BY id ASC LIMIT 0, 1000 )
Database_Mysqli_Driver->query( SELECT DISTINCT * FROM typ_oferty WHERE id = ORDER BY id ASC LIMIT 0, 1000 )
Database_Core->query( SELECT DISTINCT * FROM typ_oferty WHERE id = ORDER BY id ASC LIMIT 0, 1000 )
Auto_Modeler->get_rows( *, WHERE id = , ORDER BY id ASC )
Oferta_Controller->show( 114 )
ReflectionMethod->invokeArgs( Oferta_Controller Object ( [template_name] => layout [uri] => URI Object ( ) [input] => Input Object ( [use_xss_clean:protected] => 1 [magic_quotes_gpc:protected] => [ip_address] => ) [template] => View Object ( [kohana_filename:protected] => /home/sunplus2021/domains/sunre.pl/public_html/application/views/pl_PL/layout.php [kohana_filetype:protected] => .php [kohana_local_data:protected] => Array ( [content] => View Object ( [kohana_filename:protected] => /home/sunplus2021/domains/sunre.pl/public_html/application/views/pl_PL/oferta/show.php [kohana_filetype:protected] => .php [kohana_local_data:protected] => Array ( [zdjecia] => Kohana_Mysqli_Result Object ( [link:protected] => mysqli Object ( [affected_rows] => -1 [client_info] => mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $ [client_version] => 50012 [connect_errno] => 0 [connect_error] => [errno] => 0 [error] => [error_list] => Array ( ) [field_count] => 6 [host_info] => Localhost via UNIX socket [info] => [insert_id] => 0 [server_info] => 5.5.5-10.6.16-MariaDB-cll-lve [server_version] => 100616 [stat] => Uptime: 2449135 Threads: 142 Questions: 6683442843 Slow queries: 52905 Opens: 38767989 Open tables: 40000 Queries per second avg: 2728.899 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 51183391 [warning_count] => 0 ) [fetch_type:protected] => fetch_object [return_type:protected] => stdClass [result:protected] => mysqli_result Object ( [current_field] => 0 [field_count] => 6 [lengths] => [num_rows] => 5 [type] => 0 ) [insert_id:protected] => [sql:protected] => SELECT DISTINCT * FROM galeria WHERE oferta_id = 114 ORDER BY id ASC LIMIT 0, 200 [current_row:protected] => 0 [total_rows:protected] => 5 ) [oferta] => [title] => [kontakt] => [rec] => Validation Object ( [pre_filters:protected] => Array ( ) [post_filters:protected] => Array ( ) [rules:protected] => Array ( [name] => Array ( [0] => Array ( [0] => Array ( [0] => Validation Object *RECURSION* [1] => required ) [1] => ) ) [email] => Array ( [0] => Array ( [0] => Array ( [0] => Validation Object *RECURSION* [1] => required ) [1] => ) [1] => Array ( [0] => Array ( [0] => valid [1] => email ) [1] => ) ) [telefon] => Array ( [0] => Array ( [0] => Array ( [0] => Validation Object *RECURSION* [1] => required ) [1] => ) ) [message] => Array ( [0] => Array ( [0] => Array ( [0] => Validation Object *RECURSION* [1] => required ) [1] => ) ) ) [callbacks:protected] => Array ( ) [empty_rules:protected] => Array ( [0] => required [1] => matches ) [errors:protected] => Array ( ) [messages:protected] => Array ( ) [array_fields:protected] => Array ( ) [submitted:protected] => [storage:ArrayObject:private] => Array ( ) ) ) ) [title] => ) ) ) , Array ( [0] => 114 ) )
Kohana::instance( )
Event::run( system.execute )
require( system/core/Bootstrap.php )
Czas wywołania: 0.0536 sekund, użyto 0.85MB MB pamięci. Wygenerowano przez Kohana v2.3.4.