FriendsOfFlarum Polls
[deleted]
Can it be used with Flarum 0.1.0-beta.9?
[deleted]
[deleted] 100%
When I try to activate "poll" and "name request" extensions from the Extensions page,
I get a "method_not_allowed" error. What is the solution to the problem?
I am using beta 9 version.
- Edited
datitisev This is Name Request Error :
[2019-08-22 11:48:03] production.ERROR: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json not null' at line 1 (SQL: alter table `users` add `username_history` json not null) in C:\xampp\htdocs\vendor\illuminate\database\Connection.php:664
This is Polls Error :
[2019-08-22 11:49:22] production.ERROR: UnexpectedValueException: [fof/polls] Please run the latest migration(s) of reflar/polls before enabling this extension. in C:\xampp\htdocs\vendor\fof\polls\src\Migrations\AbstractMigration.php:36
Stack trace:
#0 [internal function]: FoF\Polls\Migrations\AbstractMigration::FoF\Polls\Migrations\{closure}(Object(Illuminate\Database\Schema\MySqlBuilder))
Reflar Polls plugin is not installed. But I get such a mistake.
Alshain I simplified your post to keep the relevant logs and not scroll for miles
That error is thrown when ReFlar Polls was installed at some point, and never updated to the latest version before installing FriendsOfFlarum Polls. To fix this, you'll have to install ReFlar Polls (latest version), enable it, and then install fof/polls once again. Then it should work just fine.
datitisev
I am trying to install the reflar / polls extension. ERROR
datitisev https://imgyukle.com/i/oSRM3o
The installation is now complete. Thank you very much.
However, after creating a poll and voting, the survey disappears. This is an error in Console. Other log records are empty.
- Edited
Alshain Did you translate this extension to Turkish or using an extension for this? I've got same error and after i translate, works normally.
tolgaaaltas Thank you It works...
[deleted]
iPurpl3x Curious to know why you're waiting for the PR when the below CSS can easily be added in the admin section ?
label.PollAnswer span {
display: inline-block;
width: 90%;
}
- Edited
Hi all,
Ups I made a mistake:
- I migrated to beta9
- I saw many warnings about deprecated extension (friends-of-flarum to fof ones) and the reflar/polls' one that should be replaced to fof/polls one
- I mechanically removed the old ones and installed the new
- I did the same with polls and get an issue the I tried to activate it :
Next Illuminate\Database\QueryException: SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP FOREIGN KEYflpoll_options_poll_id_foreign
; check that it exists (SQL: alter tableflpoll_options
drop foreign keyflpoll_options_poll_id_foreign
) in /xxx/forum/vendor/illuminate/database/Connection.php:664`` - Now I understood that there were some instructions to do the migration properly
- I tried to install again reflar/polls extension to follow the step but I always get a "Nothing to install or update" message
So that I'm requesting help knowing that I didn't follow the steps I should have followed
Thanks in advance
Thomas