WebSite X5Help Center

 
Oli 4.
Oli 4.
User

An error occured while communicating to the server. Database viewer  fr

Автор: Oli 4.
Просмотрено 123, Подписчики 1, Размещенный 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

Размещено
12 Ответы
Oli 4.
Oli 4.
User
Автор

Voici le print screen... si ca peut aider ;-)

Читать больше
Размещено От Oli 4.
Incomedia
Eric C.
Incomedia

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.

Читать больше
Размещено От Eric C.
Oli 4.
Oli 4.
User
Автор

Hi Eric,

Thanks for the quick reply...

Olivier

Читать больше
Размещено От Oli 4.
Incomedia
Eric C.
Incomedia


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.

Читать больше
Размещено От Eric C.
Oli 4.
Oli 4.
User
Автор

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

Читать больше
Размещено От Oli 4.
Oli 4.
Oli 4.
User
Автор

Eric,

Might be : Apache | PHP?

Читать больше
Размещено От Oli 4.
Incomedia
Eric C.
Incomedia

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.

Читать больше
Размещено От Eric C.
Oli 4.
Oli 4.
User
Автор

Eric,

I have lifted the protection : https://www.les-jeudis.ch/db.php

apprently it should be : 8.4

Читать больше
Размещено От Oli 4.
Incomedia
Eric C.
Incomedia

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é.

Читать больше
Размещено От Eric C.
Oli 4.
Oli 4.
User
Автор

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

Читать больше
Размещено От Oli 4.
Incomedia
Eric C.
Incomedia

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.

Читать больше
Размещено От Eric C.