phpmyadmin 500 ошибка при импорте
phpmyadmin 500 ошибка при импорте
Здравствуйте! установил сегодня vesta apache + nginx на чистую centos 7 64 и почему то phpmyadmin не хочет импортировать базы, постоянно 500 ошибку выдает.
В логах такая строчка появляется при попытке импорта:
Как бы это подправить?
В логах такая строчка появляется при попытке импорта:
Code: Select all
PHP Fatal error: Call to undefined function PhpMyAdmin\\Plugins\\Import\\Upload\\uploadprogress_get_info() in /usr/share/phpMyAdmin/libraries/classes/Plugins/Import/Upload/UploadProgress.php on line 63
Re: phpmyadmin 500 ошибка при импорте
I got the same error. Can't figure it out.
Re: phpmyadmin 500 ошибка при импорте
Sorry bro gotta write it in English. But try this:
Edit: /usr/share/phpMyAdmin/libraries/classes/Plugins/Import/Upload/UploadProgress.php
remote this line: $status = uploadprogress_get_info($id);
And replace it with these lines:
if (function_exists("uploadprogress_get_info")) {
$status = uploadprogress_get_info($id);
} else {
$status = getallheaders();
}
Edit: /usr/share/phpMyAdmin/libraries/classes/Plugins/Import/Upload/UploadProgress.php
remote this line: $status = uploadprogress_get_info($id);
And replace it with these lines:
if (function_exists("uploadprogress_get_info")) {
$status = uploadprogress_get_info($id);
} else {
$status = getallheaders();
}