Skip to content

Issue with exporting using Firefox or Safari (or PHP8.1.4 issue) - file is not saved because of issue with reading source file #17445

@Draghmar

Description

@Draghmar

Describe the bug

Not sure if it's FF or phpMyAdmin or something completely different but recently whenever I want to export anything (doesn't matter if it's sql or csv and if it's compressed or not) I'm getting weird message about FF not being able to read source file, which results in file not being downloaded/saved. The file placeholder is created at the destination but it's removed right after hitting confirmation on the window:
obraz
The message in the window can be translated as:

Downloading ...
File ... can not be saved because source file is not readable.
You should try later or contact server administrator.

I also tried that on older FF version (98dev) and there was no message but the file was empty.
Using View output as file works properly.

Also affects Safari: hestiacp/hestiacp#2529 (comment)

To Reproduce

Steps to reproduce the behavior:

  1. Go to any table.
  2. Click on Export.
  3. Choose to save as file.
  4. See error.

Server configuration

  • Operating system: ArchLinux
  • Web server: Apache/2.4.52
  • Database version: doesn't matter, tried this on few
  • PHP version: 8.1.4
  • phpMyAdmin version: 5.1.3

Client configuration

  • Browser: Firefox 99.0b5
  • Operating system: Win10

Metadata

Metadata

Assignees

Labels

BugA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incomplete

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions