ReFlar / polls

[ABANDONED] See https://github.com/FriendsOfFlarum/polls
MIT License
14 stars 14 forks source link

Polls doesn't works on the flarum beta.8.1 #54

Open Magicalex opened 5 years ago

Magicalex commented 5 years ago

Description

Polls doesn't works on flarum beta8.1

Steps to Reproduce

Try to do a polls and post it.

Technical Details

Docker-flarum beta8.1 https://cloud.docker.com/u/mondedie/repository/docker/mondedie/docker-flarum

frinkfromthedrink commented 5 years ago

I can confirm this issue, and I can't see any errors in console. From what I see, they aren't being rendered on the frontend, but they are present in the database.....

Ralkage commented 5 years ago

Thanks for confirming, @frinkfromthedrink.

@Magicalex we'll investigate :)

Ralkage commented 5 years ago

@Magicalex I'm gonna need more details, please post the output of php flarum info from the root of your Flarum install. I need to know the OS and browser(s) that this is effecting as well.

@frinkfromthedrink can you do the same as well?

This is my local install of Beta 8.1 via WAMP + PHP 7.2.13 + MySQL 5.7.23 + Apache 2.4.37.

image

frinkfromthedrink commented 5 years ago

@Ralkage see below:

Flarum core 0.1.0-beta.8.1
PHP version: 7.2.10-0ubuntu1
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, sodium, session, standard, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, json, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, Zend OPcache
+----------------------+-----------------+--------+
| Flarum Extensions    |                 |        |
+----------------------+-----------------+--------+
| ID                   | Version         | Commit |
+----------------------+-----------------+--------+
| flarum-approval      | v0.1.0-beta.8   |        |
| flarum-bbcode        | v0.1.0-beta.8   |        |
| flarum-emoji         | v0.1.0-beta.8   |        |
| flarum-lang-english  | v0.1.0-beta.8   |        |
| flarum-flags         | v0.1.0-beta.8.1 |        |
| flarum-likes         | v0.1.0-beta.8.1 |        |
| flarum-lock          | v0.1.0-beta.8   |        |
| flarum-markdown      | v0.1.0-beta.8   |        |
| flarum-mentions      | v0.1.0-beta.8.1 |        |
| flarum-statistics    | v0.1.0-beta.8   |        |
| flarum-sticky        | v0.1.0-beta.8   |        |
| flarum-subscriptions | v0.1.0-beta.8   |        |
| flarum-suspend       | v0.1.0-beta.8   |        |
| flarum-tags          | v0.1.0-beta.8.2 |        |
| flagrow-byobu        | 0.2.2           |        |
| flagrow-split        | 0.3.2           |        |
| flagrow-upload       | 0.7.1           |        |
| reflar-polls         | 1.3.2           |        |
| reflar-gamification  | 3.1.1           |        |
| reflar-doorman       | 0.1.1           |        |
+----------------------+-----------------+--------+
Base URL: https://network.camforward.com
Installation path: /var/www/html
Debug mode: off

PHP Version:

Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.10-0ubuntu1, Copyright (c) 1999-2018, by Zend Technologies

Apache Version:

Server version: Apache/2.4.34 (Ubuntu)
Server built:   2018-10-03T13:57:22

MySQL Info:

Ver 14.14 Distrib 5.7.24, for Linux (x86_64) using  EditLine wrapper

This was tested on Chrome in Incognito Mode, Chrome version is Version 71.0.3578.98 (Official Build) (64-bit) and it is on Ubuntu 18.04.1 LTS.

I just tried it not in incognito mode, and it worked absolutely fine, but it doesn't display in incognito still.

frinkfromthedrink commented 5 years ago

Well I don't know what wrong, but it started working again. Weird as hell.

frinkfromthedrink commented 5 years ago

@Magicalex try clearing your forum cache....

Magicalex commented 5 years ago

I use 10.2.20-MariaDB-1:10.2.20+maria~bionic @frinkfromthedrink clear cache do nothing for me.

But when un post a discussion with a poll, I lost data of pull when flarum-tags ask me a tag. Just before a submit my disccussion

Flarum core 0.1.0-beta.8.1
PHP version: 7.2.13
Loaded extensions: Core, date, libxml, pcre, zlib, filter, hash, readline, Reflection, SPL, session, ctype, curl, dom, fileinfo, gd, json, mbstring, openssl, PDO, standard, tokenizer, xmlwriter, zip, mysqlnd, Phar, pdo_mysql, Zend OPcache
+-------------------------+-----------------+------------------------------------------+
| Flarum Extensions       |                 |                                          |
+-------------------------+-----------------+------------------------------------------+
| ID                      | Version         | Commit                                   |
+-------------------------+-----------------+------------------------------------------+
| flarum-lang-english     | v0.1.0-beta.8   |                                          |
| milescellar-lang-french | v1.2.1          |                                          |
| flarum-likes            | v0.1.0-beta.8.1 |                                          |
| flarum-tags             | v0.1.0-beta.8.2 |                                          |
| flarum-statistics       | v0.1.0-beta.8   |                                          |
| flarum-sticky           | v0.1.0-beta.8   |                                          |
| flarum-suspend          | v0.1.0-beta.8   |                                          |
| flarum-subscriptions    | v0.1.0-beta.8   |                                          |
| reflar-polls            | 1.3.2           |                                          |
| flarum-mentions         | v0.1.0-beta.8.1 |                                          |
| s9e-mediaembed          | 1.0.0           |                                          |
| flarum-markdown         | v0.1.0-beta.8   |                                          |
| flarum-lock             | v0.1.0-beta.8   |                                          |
| flarum-bbcode           | v0.1.0-beta.8   |                                          |
| flarum-approval         | v0.1.0-beta.8   |                                          |
| flarum-emoji            | v0.1.0-beta.8   |                                          |
| flagrow-sitemap         | 0.2.0           |                                          |
| flarum-flags            | v0.1.0-beta.8.1 |                                          |
| fof-secure-https        | dev-master      | 32a7536c6761f70038229d2989a63fc8d40fef67 |
| fof-transliterator      | 0.1.1           |                                          |
| fof-user-bio            | dev-master      | 17d5944f9d07bd8c5cf03c57e1b828872721ff77 |
| flarum-auth-github      | v0.1.0-beta.8   |                                          |
+-------------------------+-----------------+------------------------------------------+
Base URL: https://mondedie.fr
Installation path: /
Debug mode: off
KyrneDev commented 5 years ago

@Magicalex Send me the output after running SHOW TABLE STATUS WHERE Name = 'polls' in your flarum MYSQL database? Check your apache/nginx error logs and send those as well.

It would also be super helpful if you could provide your Flarum link so we can take a look for ourselves.

Magicalex commented 5 years ago

SHOW TABLE STATUS WHERE Name = 'mondedie_polls'

Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
mondedie_polls InnoDB 10 Dynamic 2 8192 16384 0 0 0 3 2018-11-05 19:12:00 NULL NULL utf8mb4_unicode_ci NULL

My forum : https://mondedie.fr/ You can test with docker : https://github.com/mondediefr/docker-flarum

Ralkage commented 5 years ago

@Magicalex still an issue?

Magicalex commented 5 years ago

yes :(

xtrmus commented 5 years ago

I'm having trouble with the polls plugin. flarum beta 8.1