Gallery
Array
(
[0] => Array
(
[file] => /var/www/vhosts/bureauapi.com/standards/app/db.module.php
[line] => 27
[function] => db_error
[args] => Array
(
[0] => query
[1] => select * from photos where genkey='' and status='1' and file<>'' and thumb_file<>'' order by sequence asc limit -1
)
)
[1] => Array
(
[file] => /var/www/vhosts/hydenyoo.com/library_hydenyoo/templates/product-detail.php
[line] => 54
[function] => db_q
[args] => Array
(
[0] => select * from photos where genkey='%s' and status='%s' and file<>'' and thumb_file<>'' order by sequence asc %s
[1] =>
[2] => 1
[3] => limit -1
)
)
[2] => Array
(
[file] => /var/www/vhosts/bureauapi.com/standards/app/template.module.php
[line] => 149
[args] => Array
(
[0] => /var/www/vhosts/hydenyoo.com/library_hydenyoo/templates/product-detail.php
)
[function] => include
)
[3] => Array
(
[file] => /var/www/vhosts/bureauapi.com/standards/app/template.module.php
[line] => 141
[function] => load_template
[args] => Array
(
[0] => Array
(
[0] => product-detail
)
)
)
[4] => Array
(
[file] => /var/www/vhosts/bureauapi.com/standards/app/template.module.php
[line] => 144
[function] => load_template
[args] => Array
(
[0] => Array
(
[body] => Array
(
[column-center] => Array
(
[0] => product-detail
)
)
)
)
)
[5] => Array
(
[file] => /var/www/vhosts/bureauapi.com/standards/app/template.module.php
[line] => 51
[function] => load_template
[args] => Array
(
[0] => Array
(
[0] => start
[container] => Array
(
[0] => Array
(
[header] => Array
(
[0] => user-menu
[1] => menu
)
)
[1] => Array
(
[body] => Array
(
[column-center] => Array
(
[0] => product-detail
)
)
)
[2] => footer
)
[1] => end
)
)
)
[6] => Array
(
[file] => /var/www/vhosts/hydenyoo.com/httpdocs/index.php
[line] => 24
[function] => construct_template
[args] => Array
(
[0] => stdClass Object
(
[center] => Array
(
[0] => product-detail
)
)
)
)
)
The Query "select * from photos where genkey='' and status='1' and file<>'' and thumb_file<>'' order by sequence asc limit -1 " rendered the error (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' at line 1) on hydenyoo on May Thursday, 2012 at 10:05:03 PM at www.hydenyoo.com/product/detail/116/rion-trench/hyden-yoo