phpmyadmin/phpmyadmin
TypeError: PhpMyAdmin\Export::getFilenameAndMimetype(): Argument #5 ($filenameTemplate) must be of type string, null given
开放
#17,597 创建于 2022年6月12日
Bugaffects/5.2affects/6.0confirmed/5.2confirmed/6.0help wanted
仓库指标
- 星标
- (6,886 个星标)
- PR 合并指标
- (平均合并 2天 17小时) (30 天内合并 11 个 PR)
描述
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.