support

Author Topic: Update request, apostrophes handled in meta data.  (Read 6697 times)

Offline thedarksyde

  • Full Member
  • ***
  • Posts: 131
  • Karma: +7/-1
    • View Profile
Update request, apostrophes handled in meta data.
« on: January 27, 2015, 01:40:32 PM »
Please update for apostrophes to be handled in meta data when creating products and categories, now it blows up. 

Here is the error log.

2015-01-27 12:32:56 - database error: AbanteCart core v.1.2.0 Error: 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 's Factory', '801', '1')' at line 1
Error No: 1064
INSERT INTO product_tags (`tag`, `product_id`, `language_id`) VALUES ('Terry's Factory', '801', '1') in <b>/home1/darksyde/public_html/core/database/mysql.php</b> on line <b>114</b>

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2171
  • Karma: +345/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Update request, apostrophes handled in meta data.
« Reply #1 on: January 27, 2015, 03:58:26 PM »
you found a bug.
To solve it just replace file
public_html/admin/model/catalog/product.php
by attached
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod