Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install/index.php #825

Closed
freejaso opened this issue Nov 9, 2020 · 4 comments
Closed

install/index.php #825

freejaso opened this issue Nov 9, 2020 · 4 comments

Comments

@freejaso
Copy link

freejaso commented Nov 9, 2020

I am getting a blank page.

Turned on the debug in app.php and I get the following:

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1835 Malformed communication packet in /home/surveyhealthcare/public_html/fileshare/includes/database.php:20 Stack trace: #0 /home/surveyhealthcare/public_html/fileshare/includes/database.php(20): PDO->query('SELECT version(...') #1 /home/surveyhealthcare/public_html/fileshare/install/index.php(15): PDOEx->query('SELECT version(...') #2 {main} thrown in /home/surveyhealthcare/public_html/fileshare/includes/database.php on line 20

How to fix?

@ignacionelson
Copy link
Collaborator

Hi!
Are you by chance using the latest mariadb version and php 7.2 or lower? There's a mariadb bug that produces this error. The solution is to upgrade php to 7.3 or newer, or downgrade mariadb.

@freejaso
Copy link
Author

freejaso commented Nov 9, 2020

PHP: 7.3.6
MariaDB: 10.3.26

@freejaso
Copy link
Author

freejaso commented Nov 9, 2020

Upgraded to PHP 7.4 and I am good now.

@ignacionelson
Copy link
Collaborator

Great! Thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants