phpmyadmin/phpmyadmin
TypeError: PhpMyAdmin\Export::getFilenameAndMimetype(): Argument #5 ($filenameTemplate) must be of type string, null given
Aberta
#17.597 aberto em 12 de jun. de 2022
Bugaffects/5.2affects/6.0confirmed/5.2confirmed/6.0help wanted
Métricas do repositório
- Stars
- (6.886 estrelas)
- Métricas de merge de PR
- (Mesclagem média 2d 17h) (11 fundiu PRs em 30d)
Description
Describe the bug
TypeError: PhpMyAdmin\Export::getFilenameAndMimetype(): Argument #5 ($filenameTemplate) must be of type string, null given when exporting a database.
To Reproduce
Steps to reproduce the behavior:
- Set max_input_vars to 1000
- Create a database with 15000 tables
- Export database
Expected behavior
No error should be given and the export should work.
Screenshots
Server configuration
- Operating system: Windows 10
- Web server: nginx/1.22.0
- Database version: 5.7.38 - MySQL Community Server (GPL)
- PHP version: 8.1.6
- phpMyAdmin version: 5.2.1-dev
Client configuration
- Browser: Firefox 102
- Operating system: Windows 10
Additional context
5.2.3-dev
Internal error in .\libraries\classes\Export.php#346
TypeError: PhpMyAdmin\Export::getFilenameAndMimetype(): Argument #5 ($filenameTemplate) must be of type string, null given, called in \phpmyadmin\libraries\classes\Controllers\Export\ExportController.php on line 398
6.0.0-dev
Export is incomplete, and filename is `sql` without any extension.