Quiz and polls

Add quiz and polls to your website

Back to Quiz and polls Support

exodon39740
exodon39740

After installing and following the steps :

  1. Install plugin
  2. create a poll
  3. add the component to the page where I want to appear
  4. Visually appears on the website but then I go to the settings > quizz and polls and click "general settings" I have this error :

A syntax error was detected in /home/database/html/project-name/plugins/iabsis/quizandpolls/models/settings/fields.yaml. A colon cannot be used in an unquoted mapping value at line 8 (near "placeholder: Example : /data/october/quizandpolls") at line 45 (near /home/database/html/project-name/vendor/october/rain/src/Parse/Yaml.php").

P.S : I change the beggining of the url to : /home/database/html/project-name ( just for confidential )

Last updated

iabsis
iabsis

Hi exodon39740,

Sorry for this issue, we are going to deploy a fix for this soon. In the time being, can you edit the following file :

/home/database/html/project-name/plugins/iabsis/quizandpolls/models/settings/fields.yaml

and replace

placeholder: Example : /data/october/quizandpolls

with

placeholder: Example /data/october/quizandpolls

Or anything which does not contain a semi-colon ?

Thanks for your report, Gilles

exodon39740
exodon39740

thanks for the quick reply ;)

exodon39740
exodon39740

Hi iabsis I´m not able to see results after voting ? is something else that should be configured. On the settings after made the changes I only see a input field like this :

Files folder (specify a folder which is not accessible from the web for more security)

iabsis
iabsis

Hi again,

You need to create a folder on your server (writeable) where to store the potential attachments. For example, if you want to store your data in /data/october/quizandpolls, you need to create the folder on your server, grant write access to your apache user and set this value "/data/october/quizandpolls".

Then you will have the normal UI.

Hope this is clear,

exodon39740
exodon39740

Hi again...sorry I still have some doubts. The path that you mention /data/october/quizandpolls is a relative path of the server or from the october cms project? example :

  • www.hosting.com/octoberproject/data/october/quizandpolls or
  • www.hosting.com /data/october/quizandpolls

Other question. About the write access, do you know the correct folder permission, like :

  • 777
  • 755 -or other

Thanks

Last updated

exodon39740
exodon39740

small update...found the problem. Somehow we can´t include the component into partial and then called in other page. After moved all the markup to the page was working.

1-7 of 7