phpmyadmin / phpmyadmin/phpmyadmin

New Window button opens an error after import or drop

Open
#17,358 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug question
Dominant language
PHP
Stars
7.9k
Forks
3.6k
Avg merge
4d 18h
Merged PRs (30d)
36

Description

Describe the bug

The small New Window on the bottom right opens an error message if clicked after a database import (successful or not), or after dropping tables.

To Reproduce
  1. Select a database
  2. Click Import
  3. Browse and select the dump file
  4. Click on Go
  5. When the import is completed, click on the New Window button on the bottom right.
  6. Error "Incorrect format parameter" appears

OR

  1. Select a database
  2. Select a table, click Drop
  3. On the confirmation step and on the page after that, click on the New Window button
  4. An error " Error 405! Request method not allowed." appears.

The above appear in PMA 5.1.1+, the button worked fine in 4.9.0.1

Expected behavior

A new PMA window to open

Screenshots

If applicable, add screenshots to help explain the bug.

Server configuration
  • Operating system: Debian
  • Web server: Apache
  • Database version: 5.7
  • PHP version: 8.0
  • phpMyAdmin version: 5.1.1+
Client configuration
  • Browser: Firefox
  • Operating system: Windows 10
Additional context

In other sections, without importing or dropping, clicking New Window works properly and opens a new PMA window.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the New Window error after a database import and after dropping a table in phpMyAdmin 5.1.1 or later. Inspect the request triggered by the button in each post-action state and compare it with a normal page where the button works. Done means both flows open a new PMA window without an incorrect-format or method-not-allowed error.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
database, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.