phpmyadmin / phpmyadmin/phpmyadmin
New Window button opens an error after import or drop
Nobody has claimed this yet.
- 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
- Select a database
- Click Import
- Browse and select the dump file
- Click on Go
- When the import is completed, click on the New Window button on the bottom right.
- Error "Incorrect format parameter" appears
OR
- Select a database
- Select a table, click Drop
- On the confirmation step and on the page after that, click on the New Window button
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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