A PHP Error was encountered

Severity: Notice

Message: Undefined variable: dane

Filename: strony_produktowe/Strony_produktowe_m.php

Line Number: 120

Backtrace:

File: /application/models/strony_produktowe/Strony_produktowe_m.php
Line: 120
Function: _error_handler

File: /application/controllers/Producent.php
Line: 67
Function: producent

File: /index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 569

Backtrace:

File: /application/models/strony_produktowe/Strony_produktowe_m.php
Line: 126
Function: query

File: /application/controllers/Producent.php
Line: 67
Function: producent

File: /index.php
Line: 292
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') )' at line 1

SELECT (tytul_pl) as tytul, (link_pl) as link, (alt_pl) as alt, zdjecie, zdjecie_katalog, id_parent, id, (slowa_kluczowe_pl) as slowa_kluczowe, (opis_strony_pl) as opis_strony FROM produkty_producenci WHERE aktywny = '1' AND id = '306' AND id != '1' AND ( id NOT IN () ) ;

Filename: models/strony_produktowe/Strony_produktowe_m.php

Line Number: 126