I noticed that Surveys is still in beta. When will a final release be made? I assume that since you are not selling enough to finish it?
Hi,
Please check
this thread.
When clicking on a survey email link I get the following:
Parse error: syntax error, unexpected $end in /usr/home/kimberly/public_html/components/com_surveys/functions.php on line 143
Edit functions.php and find this (line 135 aprox.):
function sess_process($page=0,$action='next') {
$post_question=mosGetParam($_POST,"question");
$post_cpage =mosGetParam($_POST,"cpage" );
if ($post_cpage=="last"){
$post_cpage = -1;
}
if ($action=='next') {
$page_name = "page_".intval($post_cpage);
if (!is_array($_SESSION["survey"])){
$_SESSION["survey"] = array();
}
$_SESSION["survey"][$page_name]=serialize($post_question);
$_SESSION['pre_page'][$page]=intval($post_cpage);
}
elseif ($action=='back') {
if (!is_array($_SESSION["survey"])){
$_SESSION["survey"] = array();
}
$_SESSION["survey"]["page_".intval($post_cpage)]=null;
}
}
And compare them. If you find differences replace that part of your code with this.
If the problem persists please submit a support ticket.
Best regards,