PhpMyAdmin出现export.php Missing parameter: what /export_type错误解决方法

yipeiwu_com6年前PHP代码库
PhpMyAdmin 不能导出数据的问题,点击导出后先是一个请求失败或者白页,重新刷新后就报错
export.php: Missing parameter: what (FAQ 2.8)
export.php: Missing parameter: export_type (FAQ 2.8)

解决方法是:

php目录下的php.ini 设置要调整一下
原来的 post_max_size = 8M ,改大到 post_max_size = 20M 就好了。

php源码中解决办法

ini_set('memory_limit', '180M');

如果在linux系统中我们就

This is the path to the affected file on the (dv) Dedicated-Virtual Server:
复制代码 代码如下:

/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries

To apply the fix, log in to your server via SSH as a "root" user and run the following commands:
Change directories into the folder with the affected file. cd
复制代码 代码如下:

/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/librariesMove

the old file as a backup. mv session.inc.php session.inc.php-oldDownload the fixed file. wget
复制代码 代码如下:

http://download1.swsoft.com/Plesk/Autoupdate/Windows/8.1.1.2/120220/session.inc.php

Restart Plesk
复制代码 代码如下:

/etc/init.d/psa restart

相关文章

centos下file_put_contents()无法写入文件的原因及解决方法

centos下file_put_contents()无法写入文件的原因是没有文件夹权限 直接修改目标文件夹/文件 # chmod 777 文件夹名称 以上这篇centos下file_pu...

php 常用的系统函数

字符串函数 strlen:获取字符串长度,字节长度 substr:字符串截取,获取字符串(按照字节进行截取) strchr:与substr相似,从指定位置截取一直到最后 strrchr(...

深入解析PHP中逗号与点号的区别

复制代码 代码如下: echo 'abc'.'def'; //用点号连接字符串  echo 'abc','def'; //用逗号连接字符串 那么下面我们就举一些例子....

数据库查询记录php 多行多列显示

复制代码 代码如下:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or...

PHP setcookie() cannot modify header information 的解决方法

使用setcookie()函数时总是报以下错误: Warning: Cannot modify header information - headers already sent by....