Need to be able to take survey more than once

rud0lph
rud0lph
  • rud0lph
  • 12 months ago
I updated the code in Survey.php per your earlier response regarding same topic.

"Edit components/com_communitysurveys/models/survey.php and delete following code at line 964

$key = is_array($key) ? $key[0] : $key;
$cookieName = JUtility::getHash( $app->getName() . S_COOKIE_PREFIX . $sid );
$expire=time()+60*60*24*365;
setcookie($cookieName, $key, $expire, '/');"

I also have cleaned cache, but get the message that I've already taken survey and to contact survey admin.

Any ideas?

Access to viewing replies is restricted.
Showing 3 of 3 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai