• Resources
  • Free Flarum hosting on an expert platform by FreeFlarum.com

SKevo I have made few changes (update old template + clear cache)
Can you check if errors are still on ?

    julienlg I don't remember time of last error so I can't tell which one is new (there were like 10 of these error messages from today), but you should be able to see if errors still appear at your side

    Dear Ladies and Gentelmens I discovered lovely bug with Neon Chat. I tried to smash Uninstall button available via extension menu in admin panel my forum throw some nice red message "Oops! Something went wrong. Please reload the page and try again." and now whenever I am trying to enable Neon Chat this message is thrown at my home page. Can anyone have a look into that? I tried clearing cache and also all options added recently like Fixup and reset, but nothing seems to help.
    https://testff.flarum.cloud/

      aaronlbpeterman

      flarum.ERROR: PDOException: SQLSTATE[HY000]: General error: 1553 Cannot drop index 'neonchat_chat_user_removed_by_foreign': needed in a foreign key constraint in /app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:112
      Stack trace:
      #0 /app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(112): PDOStatement->execute()
      #1 /app/vendor/illuminate/database/Connection.php(471): Doctrine\DBAL\Driver\PDOStatement->execute()
      #2 /app/vendor/illuminate/database/Connection.php(671): Illuminate\Database\Connection->Illuminate\Database\{closure}()
      #3 /app/vendor/illuminate/database/Connection.php(638): Illuminate\Database\Connection->runQueryCallback()
      #4 /app/vendor/illuminate/database/Connection.php(472): Illuminate\Database\Connection->run()
      #5 /app/vendor/illuminate/database/Schema/Blueprint.php(109): Illuminate\Database\Connection->statement()
      #6 /app/vendor/illuminate/database/Schema/Builder.php(365): Illuminate\Database\Schema\Blueprint->build()
      #7 /app/vendor/illuminate/database/Schema/Builder.php(212): Illuminate\Database\Schema\Builder->build()
      #8 /app/vendor/xelson/flarum-ext-chat/migrations/2020_10_28_191115_edit_chat_user.php(26): Illuminate\Database\Schema\Builder->table()
      #9 [internal function]: Illuminate\Filesystem\Filesystem::{closure}()
      #10 /app/vendor/flarum/core/src/Database/Migrator.php(197): call_user_func()
      #11 /app/vendor/flarum/core/src/Database/Migrator.php(177): Flarum\Database\Migrator->runClosureMigration()
      #12 /app/vendor/flarum/core/src/Database/Migrator.php(157): Flarum\Database\Migrator->runDown()
      #13 /app/vendor/flarum/core/src/Extension/Extension.php(471): Flarum\Database\Migrator->reset()
      #14 /app/vendor/flarum/core/src/Extension/ExtensionManager.php(298): Flarum\Extension\Extension->migrate()
      #15 /app/vendor/flarum/core/src/Extension/ExtensionManager.php(309): Flarum\Extension\ExtensionManager->migrate()
      #16 /app/vendor/flarum/core/src/Extension/ExtensionManager.php(239): Flarum\Extension\ExtensionManager->migrateDown()
      #17 /app/vendor/flarum/core/src/Api/Controller/UninstallExtensionController.php(41): Flarum\Extension\ExtensionManager->uninstall()
      #18 /app/vendor/flarum/core/src/Api/Controller/AbstractDeleteController.php(24): Flarum\Api\Controller\UninstallExtensionController->delete()
      #19 /app/vendor/flarum/core/src/Http/RouteHandlerFactory.php(38): Flarum\Api\Controller\AbstractDeleteController->handle()
      #20 /app/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
      #21 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ExecuteRoute->process()
      #22 /app/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
      #23 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Api\Middleware\ThrottleApi->process()
      #24 /app/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
      #25 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\CheckCsrfToken->process()
      #26 /app/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle()
      #27 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ResolveRoute->process()
      #28 /app/vendor/flarum/core/src/Http/Middleware/SetLocale.php(50): Laminas\Stratigility\Next->handle()
      #29 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\SetLocale->process()
      #30 /app/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(55): Laminas\Stratigility\Next->handle()
      #31 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\AuthenticateWithHeader->process()
      #32 /app/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(32): Laminas\Stratigility\Next->handle()
      #33 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\AuthenticateWithSession->process()
      #34 /app/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
      #35 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\RememberFromCookie->process()
      #36 /app/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
      #37 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\StartSession->process()
      #38 /app/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
      #39 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Api\Middleware\FakeHttpMethods->process()
      #40 /app/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
      #41 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ParseJsonBody->process()
      #42 /app/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
      #43 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\HandleErrors->process()
      #44 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(84): Laminas\Stratigility\Next->handle()
      #45 /app/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
      #46 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\RequestHandler->process()
      #47 /app/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
      #48 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\BasePathRouter->process()
      #49 /app/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(42): Laminas\Stratigility\Next->handle()
      #50 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Laminas\Stratigility\Middleware\OriginalMessages->process()
      #51 /app/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
      #52 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Middlewares\BasePath->process()
      #53 /app/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
      #54 /app/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\ProcessIp->process()
      #55 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(84): Laminas\Stratigility\Next->handle()
      #56 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(73): Laminas\Stratigility\MiddlewarePipe->process()
      #57 /app/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
      #58 /app/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
      #59 /app/public/index.php(22): Flarum\Http\Server->listen()
      #60 {main}

      It seems that this database column couldn't be deleted properly. Please report this at https://discuss.flarum.org/d/25361.

      I would need to go manually in the database and remove everything Neon Chat related, which might fix it

        Thanks bro. Reported.

        EDIT: Those private messaging extensions are killing me.

          aaronlbpeterman

          flarum.ERROR: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'flarum_testff.neonchat_chat_user' doesn't exist in /app/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:79

          Ah, yes, obviously it wasn't found when I deleted it 🐘
          But if it doesn't, the extension should attempt to recreate it(?) I don't know how extensions keep track whether their tables exist or what happens when you disable/enable them, but I think that I broke this one. I don't have much time ATM, but if it's not urgent I can try and fix it later for you. It seems to me that your forum is just a test one anyways

            how do i make one of the users a moderator?
            I am the admin.

              adminmatthew you can do that on the frontend. Just click the person and then you will see Controls, where you can edit an user and set a specific group (like Moderator).

                Merged 1 post from the imgur in freeflarum doesn't work.

                SKevo
                Thats just the forum I am using for testing, but on my regular (with actual users) we have no chat access since Byobu is down and Neon Chat refuse to work properly. I am really busy in my life as well sorry for delay in answearing. If you can fix it in near future, than thats awesome if not, well maybe we will get working Byobu version soon? Last commits are from beggining of March however.

                  aaronlbpeterman what do you mean that Byobu doesn't work?

                  I have installed the beta.16 development branch on FreeFlarum, since many forums were using that extension. If you have found any errors with that one, please report them to the authors - I can provide logs, if necessary

                    SKevo
                    So I remember it caused some weird bugs like some posts doesnt show up, am I up to date? I am little scared to turn it on.

                      aaronlbpeterman I don't know... Last logs from your testff forum are from 23rd May, nothing Byōbu related.

                      You should browse the JavaScript console and report potential bugs to the authors, as we can't help with bugs in extensions

                        Hey guys, my forum is "offline" today, I've already tried the "fix your forum" from the freeflarum settings but it still offline.

                        Is it some maintenance or update, or something that will come back in some moment in time? 😃

                        Thank you guys!