Exception might be causing issues: Private Survey seems not working properly; country restriction fails

Julian
Julian
  • Julian
  • 3 months ago
Dear SupportI have just subscribed and in the process of exploring. I like what I am seeing so far.I bumped into an issue which I hope you can help me sort out.Exception There's one exception on the browser console. This does not appear on other pages, except the one on the Survey page. Not sure if this is the cause of trouble. See below for details of what is happening.On Firefox Developer:
Uncaught SyntaxError: redeclaration of const uriAttributes
    <anonymous> https://localhost/website/media/system/js/core.js:1
On Chrome:
Uncaught SyntaxError: Identifier 'uriAttributes' has already been declared (at core.js:1:1)
I am working on Community Survey for a project and would want to seek your assistance on the following:1. The link is accessible via the URL without the keySettings:
  • Private Survey = Yes
  • Access = Public
  • Permissions > Public > Respond to Surveys = Allowed Note: No other special configuration
Key via Invite: https://localhost/website/index.php?option=com_communitysurveys&view=survey&id=1&catid=48&Itemid=101&key=5xiMVcvAv1eK6AJuThe following still allows me to access the survey form (i.e., without the key portion):
  • https://localhost/website/index.php?option=com_communitysurveys&view=survey&id=1
  • https://localhost/website/index.php?option=com_communitysurveys&view=survey&id=1&catid=48
  • https://localhost/website/index.php?option=com_communitysurveys&view=survey&id=1&catid=48&Itemid=10
2. By the way, is there a way to use an SEF URL (e.g., created via a hidden menu) + the key? For example,
  • https://localhost/website/surveytest/index.php&key=5xiMVcvAv1eK6AJu or
  • https://localhost/website/surveytest&key=5xiMVcvAv1eK6AJu (if .htaccess is enabled).
I tried this it doesn't work. The first one produces 404 and the next example shows "You don't have permission to access this. ". What became accessible is https://localhost/website/surveylink (even if Private Survey = Yes).3. Country Restriction seems to fail. I am in the Philippines, I have set the Country Restriction to "Philippines" and the survey on the front end prompts "This survey is not available in your country, please contact survey administrator for any queries." I have to remove the selection from the Basic Options > Country Restriction so it can work while I'm testing.
 
I am currently developing on localhost. Latest version of Joomla 4 and latest Community Survey.Kindly instruct what should be done to address these challenges.Thank you.Best regardsJulian

Access to viewing replies is restricted.
Showing 2 of 2 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