Query failed: 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 SQL: UPDATE multimedia SET views = views+1 WHERE id =
Array
(
[0] => Array
(
[file] => /var/www/www.realitatea.net/htdocs/libs/classes/multimedia.php
[line] => 109
[function] => query
[class] => MySQL
[object] => MySQL Object
(
[dbConn] => Resource id #9
[connectError] =>
[errorMsg] => Query failed: 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 SQL: UPDATE multimedia SET views = views+1 WHERE id =
)
[type] => ->
[args] => Array
(
[0] => UPDATE multimedia SET views = views+1 WHERE id =
)
)
[1] => Array
(
[file] => /var/www/www.realitatea.net/htdocs/multimedia_item.php
[line] => 44
[function] => addView
[class] => multimedia
[object] => multimedia Object
(
[table_name] => multimedia
[primary_key] => id
[fields] => Array
(
[0] => id
[1] => comment_id
[2] => article_id
[3] => media_type
[4] => datedir
[5] => filename
[6] => preview
[7] => keywords
[8] => description
[9] => filesize
[10] => upload_date
[11] => main
[12] => download
[13] => ingallery
[14] => weekly_photo
[15] => votes
[16] => views
[17] => votes_no
)
[upload_date] => CURRENT_TIMESTAMP
[link] =>
[default_fields] => Array
(
[0] => Array
(
[caption] => Nume
[field] => name
[optional] =>
[type] => text
)
[1] => Array
(
[caption] => Email
[field] => email
[optional] =>
[type] => email
)
[2] => Array
(
[caption] => Comentariu
[field] => content
[optional] =>
[type] => text
)
)
[insert_primary_key] =>
[db] => MySQL Object
(
[dbConn] => Resource id #9
[connectError] =>
[errorMsg] => Query failed: 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 SQL: UPDATE multimedia SET views = views+1 WHERE id =
)
[table] => multimedia
[id] =>
[new] =>
[debug] => 1
[children] => Array
(
)
[last_action] =>
[last_query] =>
[classname] => multimedia
[src] =>
)
[type] => ->
[args] => Array
(
)
)
)