A PHP Error was encountered

Severity: Notice

Message: Undefined index: name

Filename: models/m_data.php

Line Number: 1141

A PHP Error was encountered

Severity: Notice

Message: Undefined index: name

Filename: models/m_data.php

Line Number: 1141

A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: models/m_data.php

Line Number: 309

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/uh176358/domains/weekender.ua/public_html/system/libraries/Exceptions.php:166)

Filename: codeigniter/Common.php

Line Number: 360

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 '1,116,127,137,138,139,128,134,135,136,241,129,179,180,130,166,167,168,169,189,24' at line 9

SELECT p.id AS p_id, p.p_name_id, p.item_id, p.text, p_n.name, p_n.id FROM property AS p LEFT OUTER JOIN p_name AS p_n ON p.p_name_id = p_n.id WHERE p.item_id IN ( SELECT id FROM item WHERE tree_id IN ( ,1,116,127,137,138,139,128,134,135,136,241,129,179,180,130,166,167,168,169,189,240,132,140,141,142,146,147,153,154,155,176,230,133,143,144,148,149,151,152,156,157,158,159,160,161,165,177,191,201,207,209,210,150,162,163,164,229,170,171,172,173,174,181,186,178,197,199,200,218,219,238,239,243,228,231,236,237,244,245,247,2,115,120,121,122,123,182,183,184,190,198,208,3,187,204,205,224,226,206,211,212,213,214,215,216,217,220,221,222,225,227,4,5,242,6,188,192,193,194,195,196,202,203,7,8,9,175,249 ) ) GROUP BY p_n.name, p.text ORDER BY id, (text+0)