librecores / librecores-web

LibreCores Web Site
https://www.librecores.org/
Other
35 stars 30 forks source link

Fix phpmyadmin warnings #377

Open aquibbaig opened 5 years ago

aquibbaig commented 5 years ago

On opening pma.librecores.devel/, for every table, it shows a list of warnings. We can ignore it but appears every time when I try to click on a table. The warning goes as follows:

count(): Parameter must be an array or an object that implements Countable
.......
*and some further queries that failed*

I went to fix this using this Stack Overflow link. But this seems to appear each time you create a fresh vm

recrsn commented 5 years ago

Install phpmyadmin from the website instead from Ubuntu repos to fix it. The one that comes with Ubuntu doesn't work with php 7.3.

Phpmyadmin is a codebase built on php quirks

On Tue, 4 Jun, 2019, 3:33 PM Aquib Baig, notifications@github.com wrote:

On opening pma.librecores.devel/, for every table, it shows a list of warnings. We can ignore it but appears every time when I try to click on a table. The warning goes as follows:

count(): Parameter must be an array or an object that implements Countable ....... and some further queries that failed

I went to fix this using [ https://stackoverflow.com/questions/48001569/phpmyadmin-count-parameter-must-be-an-array-or-an-object-that-implements-co](Stack Overflow link here). But this problem would be there each time you create a fresh vm

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/librecores/librecores-web/issues/377?email_source=notifications&email_token=AEAJUT5CYMW2VLNG5QZMQYLPYY4X5A5CNFSM4HS2X642YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXPR5NA, or mute the thread https://github.com/notifications/unsubscribe-auth/AEAJUT2OCN63I53TXKMTI3TPYY4X5ANCNFSM4HS2X64Q .

aquibbaig commented 5 years ago

@agathver Isn't phpmyadmin installed through ansible ?