An error occured while communicating to the server. Database viewer 
Author: Oli 4.
Visited 57,
Followers 1,
Shared 0
Bonjour,
j'ai le programme websitex5 dernière version pro. Je suis hebergé chez infomaniak. j'y ai une base données. avec le database viewer je souhaite voir les données, mysql (phpmyadmin). Il trouve la base mais ne montre pas les données (message d'erreur : An error occured while communicating to the server.). Où est le problème?
Merci d'avance
Posted on the
Author
Voici le print screen... si ca peut aider ;-)
Hello,
I am sorry about the issue.
Could you please provide the URL of the page?
What version of PHP are you using on your hosting space?
Thank you.
Online translation:
Bonjour,
je suis désolé pour le problème.
Pourriez-vous me fournir l’URL de la page, s’il vous plaît ?
Quelle version de PHP utilisez-vous sur votre espace d’hébergement ?
Merci.
Author
Hi Eric,
Thanks for the quick reply...
Olivier
Hello Olivier,
I was referring to the version of PHP set in the hosting space.
I see that the page requires a login, could you create a test account for me and provide the credentials?
Thank you.
Author
Hi Eric,
here the url : https://www.les-jeudis.ch/db.php
"I was referring to the version of PHP set in the hosting space." - Sorry don't understand this question
Oli
Author
Eric,
Might be : Apache | PHP?
Hello,
yes, but unfortunately it is a protected page, so credentials would be necessary:
Online translation:
Bonjour,
oui, mais malheureusement c’est une page protégée, donc des identifiants seront nécessaires :
What do you see there? It should be a number such as 7.4, 8.0 or 8.2.
Online translation:
Que voyez-vous là ? Ce devrait être un numéro tel que 7.4, 8.0 ou 8.2.
Author
Eric,
I have lifted the protection : https://www.les-jeudis.ch/db.php
apprently it should be : 8.4
Author
Eric,
Sorry... here the test url : https://www.les-jeudis.ch/db-test.php
:-/
Hello,
I would recommend switching to a version between 8.0 and 8.2 and also to disable the PHP parameter called display_errors.
Looking at the dbviewer.php process, some warnings are displayed, and this usually occurs when display_errors is active.
Online translation:
Bonjour,
je vous recommande de passer à une version comprise entre 8.0 et 8.2 et également de désactiver le paramètre PHP appelé display_errors.
En examinant le processus dbviewer.php, certains avertissements sont affichés, ce qui se produit généralement lorsque display_errors est activé.
Author
Eric,
Well I am not a full stack pro in databases, PHP, etc. I thought it could be easier with websitex5 and their option objects. I will resign on using this option.
Thank you anyway.
Have a good day
Oli
Hello,
please consider that, regardless of this object, it is recommended that you follow my suggestions, as 8.2 is the latest version of PHP fully compatible with WebSite X5 and the display_errors parameter should not be active for websites that are not in a testing phase, as it can lead to malfunctions.
I recommend contacting your hosting provider if you are unsure about where to change these aspects.
I remain available.