Skip to content

phpmyadmin wont display in an iframe #94

@apolopena

Description

@apolopena

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpassed-dev-qaOptional state. Use this when QAing other peoples fixes in another branch.ready to be merged to main

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions