Advertisement:

Author Topic: after bew version cars_attributes plugin is broken....  (Read 1488 times)

dudum

  • Newbie
  • *
  • Posts: 9
after bew version cars_attributes plugin is broken....
« on: April 17, 2011, 01:29:44 am »
it seems that the hooks for insert/replace in database is not working,any idea what to do?

dudum

  • Newbie
  • *
  • Posts: 9
Re: after bew version cars_attributes plugin is broken....
« Reply #1 on: April 17, 2011, 03:09:08 am »
found it. any string shell be escaped like '%s' and not like %s

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: after bew version cars_attributes plugin is broken....
« Reply #2 on: April 18, 2011, 10:37:55 am »
Hi dudum,

Could you explain a little more the error so we could fix it?

Thanks

dudum

  • Newbie
  • *
  • Posts: 9
Re: after bew version cars_attributes plugin is broken....
« Reply #3 on: April 19, 2011, 11:40:34 pm »
Hey,
in the index.php of the plugin,
function "deals_form_post"
in the mysql statement, after VALUES where there is %s it shell be '%s' so empty values can inserted into db....
hope it understood