Just installed latest Paypernode.mod version (v 1.1 2006/12/10) with Ecommerce 4.7.x-2.1 (Drupal 4.7.2):

bulkupdate feature works sweet as expected. Couldn't make the ecommerce product to work though....created the paytopublish product, setted price, node type (tryed both with poll and book content types), quantity and everything. Bought the product and checked out with my paypal sandbox.

The transaction completes fine, but if i try to add that node with my "peon" user i get an 'access denied' error, and the menu item does not show up too of course.

The only "hint" i can give is this warning i get when i try to edit and submit again my paytopublish product:

user warning: 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 '0 = '' WHERE vid = 1347' at line 1 query: product_save UPDATE ec_product SET nid = '1110', vid = '1347', pparent = '0', sku = '', price = '3000', is_recurring = '0', price_interval = '0', price_unit = '0', price_cycle = '-1', auto_charge = '0', ptype = 'paypernode', hide_cart_link = '0', 0 = '' WHERE vid = 1347 in /home/public_html/test/includes/database

can anyone give an hand on this? thank you very much

CommentFileSizeAuthor
#4 paypernode.patch1.3 KBmarcoBauli

Comments

marcoBauli’s picture

seems others are experiencing same problem. A patch that should fix this has been rolled and posted at http://drupal.org/node/113977

it would be nice if any savvy or the mantainer could have a look. I am, but i'm no coder.

marcoBauli’s picture

this seems similar to the issue at http://drupal.org/node/113977, except that here no node credits are assigned, not even to anonymous users..

marcoBauli’s picture

please forget the Warning above, as it seems generated by the Ad.module.

bug still applies though. Thx

marcoBauli’s picture

Status: Active » Needs review
StatusFileSize
new1.3 KB

attaching a patch that solves the problem. Works fine now :)

jose reyero’s picture

Status: Needs review » Postponed (maintainer needs more info)

I've applied the second part of this patch, see #114012
About the second part, using global user I don't know why we cannot use user id from node, please explain.

jose reyero’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I don't know if this works (no feedback) but whatever this version won't be supported anymore. Please, consider upgrading to 5.x