Closed (fixed)
Project:
Custom review
Version:
5.x-2.0-1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
6 May 2008 at 19:18 UTC
Updated:
3 Jul 2008 at 14:04 UTC
I have enabled custom review module, and created a cck type and which has a five star field, When i set binding I get this error,
* warning: Invalid argument supplied for foreach() in /var/www/html/dtesting/modules/node/node.module on line 521.
* warning: implode() [function.implode]: Bad arguments. in /var/www/html/dtesting/modules/node/node.module on line 525.
* 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 '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /var/www/html/dtesting/includes/database.mysqli.inc on line 151.
---
Sharique
Comments
Comment #1
Striky2 commentedok, I can't check that before next week.
Is your binding saved anyway? You mentioned fivestar, do you think it has something to do with that?
thx,
Comment #2
sharique commentedIt nothing to do with five star, I have tested without five star. My binding is saved, but I don't see review link or form at full node.
---
Sharique
Comment #3
Pushkar Gaikwad commentedYa, Striky, I am too getting same error on my localhost installation.
Comment #4
Striky2 commentedall right guys, I put that on top priority. Still don't know why it's working for me. Have to figure it out. The fact is I have to get a blank install of the module to see what's happenin'.
Comment #5
Striky2 commentedSorry guys, but after having tested in your configuration with the last version (reviewed node with fivestar), I've not been able to reproduce your error. The configuration is saved without error for me, and I don't know how to reproduce your bug. Maybe my little changes incoming in the new version, or the very short coming drupal 6 version will make that disappear.
As for the "nothing-appears", that's completely normal, you have to add the custom-review block to see the additional form actually appear on the nodes. Moreover, to see the reviews appear (concerning some nodes), you have to use views. There are no default "display block reviews" for now.
I'd like to have more info on your systems. Please update to the very last version of custom_review 2.1.2.
Basically, the fonction which you go through that might be responsible for the error is:
Or
These are the only two functions called by this part of the programm, so I'm a bit curious about the error you guys get...
Comment #6
Pushkar Gaikwad commentedi think I got it, me and jdev were doing it wrong (atleast I was). I had not enabled the block and was also trying to access reviews in wrong way (I had no idea that the module created 2 demo views...)
Comment #7
Striky2 commentedComment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.