Skip to content

phpmyadmin wont display in an iframe #94

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

Closed
apolopena opened this issue Apr 8, 2021 · 0 comments
Closed

phpmyadmin wont display in an iframe #94

apolopena opened this issue Apr 8, 2021 · 0 comments
Assignees
Labels
bug Something isn't working passed-dev-qa Optional state. Use this when QAing other peoples fixes in another branch.ready to be merged to main

Comments

@apolopena
Copy link
Owner

Describe the bug

phpmyadmin will not display in iframes such as simple brtowser and theia preview

Steps to reproduce

  1. Fork the starter with the environment variaable #EXAMPLE=1 in the url.
  2. Ensure the default server is apache (in starter.ini)
  3. Once the system is ready run: gp preview $(gp url 8001)/phpmyadmin/

The screen is white. The console shows error about the parent frame permissions.

Expected behavior

The phpmyadmin login page should display

Additional information

phpmyadmin just needs this added to its config.inc.php file

$cfg['AllowThirdPartyFraming'] = true;

The fix will be to inject this snippet into public/phpmyadmin/config.inc.php during the workspace initialization

@apolopena apolopena added bug Something isn't working in-dev-qa labels Apr 8, 2021
@apolopena apolopena self-assigned this Apr 8, 2021
@apolopena apolopena added passed-dev-qa Optional state. Use this when QAing other peoples fixes in another branch.ready to be merged to main and removed in-dev-qa labels Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working passed-dev-qa Optional state. Use this when QAing other peoples fixes in another branch.ready to be merged to main
Projects
None yet
Development

No branches or pull requests

1 participant