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

Completely blank page on fresh install of PHPMyAdmin #17737

Closed
Giantvince1 opened this issue Sep 27, 2022 · 8 comments
Closed

Completely blank page on fresh install of PHPMyAdmin #17737

Giantvince1 opened this issue Sep 27, 2022 · 8 comments
Assignees
Labels
Bug A problem or regression with an existing feature packaging An issue that affect Debian, Ubuntu or another form of packaging

Comments

@Giantvince1
Copy link

Giantvince1 commented Sep 27, 2022

Describe the bug

I'm getting a completely blank page when doing a completely fresh install of PHPMyAdmin on an Ubuntu 22.04 LTS installation. Apache does have custom site configs, but ultimately should be able to display local resources when pointed to via its local IP address.

To Reproduce

Steps to reproduce the behavior:
Do a complete fresh install of PHPMyAdmin, using the latest packages from the official Ubuntu repos.
Navigate to /phpmyadmin/ in your web browser of choice
See a completely blank page.

Expected behavior

I expect to be able to see the login page and ultimately use PHPMyAdmin for its intended purpose.

Screenshots

image

Server configuration

  • Operating system: Ubuntu 22.04 LTS
  • Web server: Apache2 v2.4 (Official Ubuntu package)
  • Database version: MariaDB 10.6 (Official Ubuntu package)
  • PHP version: 8.1 (Official Ubuntu package)
  • phpMyAdmin version: Replicated issue on 5.2.0 composer install, and the Ubuntu-packaged 5.1.1 and 5.1.4 releases.

Client configuration

  • Browser: Firefox 105
  • Operating system: Windows 11 Pro 22H2

Additional context

It was working completely normally at one point, but after that no system I've tried installing it on, whether Debian or Ubuntu, fresh or not, it just will not work. When I run the PHP index script manually I get in the header this line:

<style id="cfs-style">html{display: none;}</style>

Something is generating this line in the header causing the entire headache, and I can't figure out what or why.
Please help, I can't find a single working answer with Google, and I've even destroyed my entire DB just to see if that would fix it, only for it to result in failure. I'm at a complete loss on how to get this to work. Also of note: no errors are present in /var/log/apache2/access.log or error.log; I did check each time the failure occurred.

@williamdes
Copy link
Member

Hi @Giantvince1
I think this is a duplicate of #17585
You should apply #17585 (comment) to make the Ubuntu/Debian package work

I would recommend you to install the latest 5.2 version in development (phpMyAdmin 5.2+snapshot). It should work fine without any issues

@Giantvince1
Copy link
Author

Giantvince1 commented Sep 27, 2022

Hi, I managed to get it working by installing the package libapache2-mod-php. This package needs to be set as either a dependency or recommends with lighttpd's version as an OR comparison in the same entry so that it can auto install when selecting which webserver to use. This is the one package that was never auto installing, causing the problem.

I only found this when I noticed that my Pi-hole webpage was also acting weird and just surface level googling revealed that was the key. So I ssh'd in and did the install, made sure it was enabled, restarted apache2, and voila, it worked.

@williamdes
Copy link
Member

This is the one package that was never auto installing, causing the problem.

I agree, its often an issue. I need to have a look on how I can make this required.

and voila, it worked.

🇫🇷 Parfait !

I am closing this one since it is solved, I will keep in mind the packaging dependency issue

@williamdes williamdes self-assigned this Sep 28, 2022
@williamdes williamdes added Bug A problem or regression with an existing feature packaging An issue that affect Debian, Ubuntu or another form of packaging labels Sep 28, 2022
@Giantvince1
Copy link
Author

Giantvince1 commented Oct 11, 2022 via email

@neuraload
Copy link

neuraload commented Oct 31, 2022

I am having the same issue but with Nginx. Any ideas ?

Fixed, it was a configuration mistake. False alarm. :) Thank you.

@williamdes
Copy link
Member

I am having the same issue but with Nginx. Any ideas ?

What version are you using ?
Did you try the latest 5.2 version in development (phpMyAdmin 5.2+snapshot) ?

@hodgkinson16
Copy link

Installing "libapache2-mod-php" via my Dockerfile also fixed this issue for me on my Kubernetes container.

@williamdes
Copy link
Member

Installing "libapache2-mod-php" via my Dockerfile also fixed this issue for me on my Kubernetes container.

Why are you not using the phpmyadmin docker official image ?
Just out of curiosity :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A problem or regression with an existing feature packaging An issue that affect Debian, Ubuntu or another form of packaging
Projects
None yet
Development

No branches or pull requests

4 participants