I get the following error on my event nodes. it shows up on every node and I dont' know why. the node shows fine.

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 ')) LIMIT 0, 100' at line 1 query: SELECT DISTINCT(node.nid), signup_log.uid AS signup_log_uid FROM node node INNER JOIN signup_log signup_log ON node.nid = signup_log.nid WHERE (node.status = '1') AND (node.nid IN ()) LIMIT 0, 100 in /var/www/vhosts/beta.activelyOUT.com/httpdocs/includes/database.mysql.inc on line 172.

i had this problem before upgrading to signup2.6

C

Comments

dww’s picture

Version: 5.x-2.6 » 5.x-2.7
Category: bug » support
Status: Active » Postponed (maintainer needs more info)

I don't support older releases when newer ones are available.

socialnicheguru’s picture

still occurs on 5.27

deleted and unistalled all signup and anything signup related.
deleted events.

when i created new event i get a long list of errors:

* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_query.inc on line 81.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_query.inc on line 16.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_query.inc on line 201.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/modules/views_node.inc on line 801.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/calendar/calendar_ical.module on line 216.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_rss.module on line 56.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_query.inc on line 81.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_query.inc on line 16.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_query.inc on line 201.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/modules/views_node.inc on line 801.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/calendar/calendar_ical.module on line 216.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_rss.module on line 56.
* warning: implode() [function.implode]: Invalid arguments passed in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/modules/views_node.inc on line 677.
* 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 ')) LIMIT 0, 100' at line 1 query: SELECT DISTINCT(node.nid), signup_log.uid AS signup_log_uid FROM node node INNER JOIN signup_log signup_log ON node.nid = signup_log.nid WHERE (node.status = '1') AND (node.nid IN ()) LIMIT 0, 100 in /var/www/vhosts/beta.mysite.com/httpdocs/includes/database.mysql.inc on line 172.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_query.inc on line 81.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_query.inc on line 16.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_query.inc on line 201.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/modules/views_node.inc on line 801.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/calendar/calendar_ical.module on line 216.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_rss.module on line 56.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_query.inc on line 81.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_query.inc on line 16.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_query.inc on line 201.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/modules/views_node.inc on line 801.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/calendar/calendar_ical.module on line 216.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/beta.mysite.com/httpdocs/sites/all/modules/views/views_rss.module on line 56.

socialnicheguru’s picture

Project: Viewfield » Signup
Version: 5.x-1.5 » 5.x-2.7
Category: bug » support
Priority: Critical » Normal

I am moving this to viewfield.

a had a link to viewfield to display a view of RSVPs.

i passed in the [nid] of the current node.

because of the recurssion restriction ie.

The fear is that if you pass in the nid of the current node into the argument of the view and the nid is already part of that view then an infinite loop is created.

in the argument code section of my view, I put in the line:

_viewfield_nodestack_pop();

Here is the REALLY smart person who found this out: http://drupal.org/node/165321#comment-1033909

doing so caused errors for the view that was referenced by the viewfield. (see above)

Ok but how do I get rid of the errors?

Thanks,
Chris

socialnicheguru’s picture

Project: Signup » Viewfield
Version: 5.x-2.7 » 5.x-1.5
Category: support » bug
Priority: Normal » Critical

changing because viewfiled causes the problem.

Chris

socialnicheguru’s picture

Title: signup error when showing event node » Viewfield causing error when passing in the nid of the node : _viewfield_nodestack_pop();
Project: Signup » Viewfield
Version: 5.x-2.7 » 5.x-1.5
Category: support » bug
Priority: Normal » Critical

changing title to better reflect new issue

sun’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

I'm sorry, but there is no maintainer for Viewfield for Drupal 5 and D5 is EOL very soon (with the release of D7).