ASG
May 9, 2022, 9:39am
1
An error occurs when exporting the database via phpmyadmin:
phpMyAdmin - Error
index.php: Missing parameter: what
index.php: Missing parameter: export_type
I don’t understand where this index.php is located on Hestia and how to fix it correctly?
Install HestiaCP: v1.5.14 on Ubuntu 20.04 LTS, phpMyAdmin: 5.1.3, MariaDB: 10.6.7-MariaDB-1:10.6.7+maria~focal
При экспорте базы данных через phpmyadmin возникает ошибка:
phpMyAdmin - Ошибка
index.php: Отсутствующий параметр: what
index.php: Отсутствующий параметр: export_type
Не понимаю где находится на Hestia этот index.php и как его правильно исправить?
Установлены HestiaCP: v1.5.14 на Ubuntu 20.04 LTS, phpMyAdmin: 5.1.3, MariaDB: 10.6.7-MariaDB-1:10.6.7+maria~focal
eris
May 9, 2022, 10:10am
2
We download HestiaCP directly from source. You should be able to find it in /usr/share/phpmyadmin/
I know there is currently a bug in the export function with certain versions see
[Bug] phpMyAdmin fails to export databases since recent updates · Issue #2529 · hestiacp/hestiacp · GitHub or
opened 02:06PM - 18 Mar 22 UTC
closed 12:14AM - 21 Apr 22 UTC
bug
has-pr
### Describe the bug
Not sure if it's FF or phpMyAdmin or something completel… y 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](https://user-images.githubusercontent.com/275348/159012230-52452e82-3831-440c-a89b-cae0dffca1ae.png)
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: https://github.com/hestiacp/hestiacp/issues/2529#issuecomment-1099876177
### 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