[drupal-devel] Ecommerce module problems with current CVS
Just a warning really. Ecommerce module(s) seem broken on current CVS (HEAD). I was upgrading a development install (earlier CVS) to current CVS, and spent a while trying to sort out my 'upgrade' problems, until I tried a clean install only to find the same problems. Errors look like this: *when viewing a product user 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 'AND n.nid = 3 AND n.type != 'product'' at line 1 query: SELECT COUNT(n.nid) FROM node n WHERE AND n.nid = 3 AND n.type != 'product' in /home/rosskend/public_html/drupal-test/includes/database.mysql.inc on line 66. * when creating a 'product' Fatal error: Call to undefined function: check_query() in /home/rosskend/public_html/drupal-test/modules/ecommerce/product/product.module on line 590 If/when I work out what the issue is I will file a bug.
Two bugs falling on my poor head?
query: SELECT COUNT(n.nid) FROM node n WHERE AND n.nid = 3 AND n.type != 'product' in /home/rosskend/public_html/drupal-test/includes/database.mysql.inc on line 66.
Please find the original query and post it. (hint: xdebug extension) I have a few suspects...
* when creating a 'product' Fatal error: Call to undefined function: check_query() in /home/rosskend/public_html/drupal-test/modules/ecommerce/product/product. module on line 590
If/when I work out what the issue is I will file a bug.
This is not a bug, but I have made this, too (after Dries and Goba insisted on changing the name). check_query is now called db_escape_string. Regards NK
Ecommerce is broken at the moment (at least the 'check_query' bit). I'm working on a major update that'll be applied in the next couple of days. Matt On Saturday 19 February 2005 05:49 pm, Ross Kendall wrote:
Just a warning really.
Ecommerce module(s) seem broken on current CVS (HEAD).
I was upgrading a development install (earlier CVS) to current CVS, and spent a while trying to sort out my 'upgrade' problems, until I tried a clean install only to find the same problems.
Errors look like this: *when viewing a product user 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 'AND n.nid = 3 AND n.type != 'product'' at line 1 query: SELECT COUNT(n.nid) FROM node n WHERE AND n.nid = 3 AND n.type != 'product' in /home/rosskend/public_html/drupal-test/includes/database.mysql.inc on line 66.
* when creating a 'product' Fatal error: Call to undefined function: check_query() in /home/rosskend/public_html/drupal-test/modules/ecommerce/product/product.mo dule on line 590
If/when I work out what the issue is I will file a bug.
participants (3)
-
Matt Westgate -
Negyesi Karoly -
Ross Kendall