- Posts: 19
- Thank you received: 4
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
autoComplete plugin cannot be installed, Missing configuration file.
- francisakabo
- Topic Author
- Offline
- New Member
Less
More
1 year 8 months ago #231434
by francisakabo
autoComplete plugin cannot be installed, Missing configuration file. was created by francisakabo
autoComplete plugin has been working very well for me on version 3.27.6+210629 until I upgraded to Version 5.3.32+220817. When I scan for plugin files, I get this error message: "Missing configuration file". I am running LS on Ubuntu 20.04.4 LTS. When i checked online, i saw that a bug was reported and fixed but then when I pulled the latest version, I realized that the issue persisted.
Please any assistance on how to fix this?
Thank you.
Please any assistance on how to fix this?
Thank you.
Attachments:
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11672
- Thank you received: 2747
1 year 8 months ago #231437
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic autoComplete plugin cannot be installed, Missing configuration file.
It would be a good idea to give a link to this autoComplete plugin.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- francisakabo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 4
1 year 8 months ago #231439
by francisakabo
Replied by francisakabo on topic autoComplete plugin cannot be installed, Missing configuration file.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12977
- Thank you received: 3991
1 year 8 months ago #231440
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic autoComplete plugin cannot be installed, Missing configuration file.
Regarding the configuraqtion file.
Copy a config file from another plugin and adapt the texts
This I use for "autocomplete"
Some plugins originally developed for 3.x. don't include the config.xml. It was not required.
Joffm
Copy a config file from another plugin and adapt the texts
This I use for "autocomplete"
Code:
<?xml version="1.0" encoding="UTF-8"?> <config> <metadata> <name>Autocomplete</name> <type>plugin</type> <creationDate>2016-11-04</creationDate> <lastUpdate>2021-11-12</lastUpdate> <author>Denis Chenu</author> <authorUrl>https://www.sondages.pro</authorUrl> <version>2.2.1</version> <license>GNU Affero General Public License v3.0</license> <description><![CDATA[Autocomplete]]></description> </metadata> <compatibility> <version>5</version> <version>3</version> <version>2.73</version> </compatibility> </config>
Some plugins originally developed for 3.x. don't include the config.xml. It was not required.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: holch
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11672
- Thank you received: 2747
1 year 8 months ago - 1 year 8 months ago #231441
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic autoComplete plugin cannot be installed, Missing configuration file.
Maybe a pull request would make sense to update the plugin, so that it works out of the box. Thank you Joffm for providing this!
Adding the Config file was what I had remembered, but I couldn't provide any details.
Adding the Config file was what I had remembered, but I couldn't provide any details.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Last edit: 1 year 8 months ago by holch.
The following user(s) said Thank You: DenisChenu
Please Log in to join the conversation.
- francisakabo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 4
1 year 8 months ago #231448
by francisakabo
Replied by francisakabo on topic autoComplete plugin cannot be installed, Missing configuration file.
Thank you @Joffm I did exactly that and it worked.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12977
- Thank you received: 3991
1 year 8 months ago #231450
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic autoComplete plugin cannot be installed, Missing configuration file.
One more word about this plugin.
It gets very very slow when there are many elements.
E.g. a list of 5000 elements took 12 seconds to show a result.
If you have many elements you should use this solution which is really fast.
If there are only a few elements (150) you may have a look at the question theme "searchable dropdown", or even "Multiple Choice dropdown"
[url] github.com/tpartner?tab=repositories [/url]
Joffm
It gets very very slow when there are many elements.
E.g. a list of 5000 elements took 12 seconds to show a result.
If you have many elements you should use this solution which is really fast.
Code:
<link href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" rel="stylesheet" /> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-csv/1.0.11/jquery.csv.min.js"></script><script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:complete',function() { var url = "/upload/surveys/{SID}/files/names.csv"; var Names = new Array(); $.get(url,function(data){ fullArray = $.csv.toArrays(data); $(fullArray).each(function(i, item){ Names.push(item[0]); }); $("#question{QID} input[type=text]:eq(0)").autocomplete({ minLength: 2, source: Names }); });});</script>
If there are only a few elements (150) you may have a look at the question theme "searchable dropdown", or even "Multiple Choice dropdown"
[url] github.com/tpartner?tab=repositories [/url]
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12977
- Thank you received: 3991
1 year 8 months ago #231452
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic autoComplete plugin cannot be installed, Missing configuration file.
Again the script
Code:
<link href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" rel="stylesheet" /> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-csv/1.0.11/jquery.csv.min.js"></script> <script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:complete', function() { var url = "/upload/surveys/{SID}/files/names.csv"; var Names = new Array(); $.get(url, function(data) { fullArray = $.csv.toArrays(data); $(fullArray).each(function(i, item) { Names.push(item[0]); }); $("#question{QID} input[type=text]:eq(0)").autocomplete({ minLength: 2, source: Names }); }); }); </script>
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- francisakabo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 4
1 year 8 months ago #231467
by francisakabo
Replied by francisakabo on topic autoComplete plugin cannot be installed, Missing configuration file.
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11672
- Thank you received: 2747
1 year 6 months ago #232737
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic autoComplete plugin cannot be installed, Missing configuration file.
Ryan, my friend, you have earned yourself a forum ban for spamming the forum! Congratulations!
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.