I'm running 6.x-1.0 on Drupal 6.22 with Webform 3.2.

When I try to enable visitor path on a webform the site hangs and then goes WSOD on the node edit URL.

When I then go to the home page I get the following errors:

warning: Missing argument 2 for visitorpath_webform_component_insert() in /home/dev.rtsfueladvantage.com/public_html/sites/all/modules/visitorpath/visitorpath.module on line 466.
warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/dev.rtsfueladvantage.com/public_html/includes/database.mysql.inc on line 329.
user warning: Duplicate entry '5-12' for key 'PRIMARY' query: INSERT INTO webform_component (nid, cid, pid, form_key, name, type, value, extra, mandatory, weight) VALUES (5, 12, 0, 'visitorpath_source', 'source', 'hidden', '', '', 0, 0) in /home/dev.rtsfueladvantage.com/public_html/sites/all/modules/webform/includes/webform.components.inc on line 708.
warning: Missing argument 2 for visitorpath_webform_component_insert() in /home/dev.rtsfueladvantage.com/public_html/sites/all/modules/visitorpath/visitorpath.module on line 466.
warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/dev.rtsfueladvantage.com/public_html/includes/database.mysql.inc on line 329.
user warning: Duplicate entry '1-13' for key 'PRIMARY' query: INSERT INTO webform_component (nid, cid, pid, form_key, name, type, value, extra, mandatory, weight) VALUES (1, 13, 0, 'visitorpath_', '', 'hidden', '', '', 0, 0) in /home/dev.rtsfueladvantage.com/public_html/sites/all/modules/webform/includes/webform.components.inc on line 708.
warning: Missing argument 2 for visitorpath_webform_component_insert() in /home/dev.rtsfueladvantage.com/public_html/sites/all/modules/visitorpath/visitorpath.module on line 466.
warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/dev.rtsfueladvantage.com/public_html/includes/database.mysql.inc on line 329.

These errors keep going on, but I just pasted this much.

After that, I go back to the webform edit screen and visitor path is not checked.

Any ideas?

I tried implementing the solution posted here, but it didn't work: http://drupal.org/node/907884

Thanks.

Comments

Webster619’s picture

I should probably have posted this in the other thread. I'll do that, and this post can be deleted.

shawngo’s picture

Status: Active » Fixed

See #907884: Not able to enable Visitor path recording for a patch until the 6-x.1.1 version is released.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.