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

相关文章

PHP使用xmllint命令处理xml与html的方法

本文实例讲述了PHP使用xmllint命令处理xml与html的方法。分享给大家供大家参考。具体分析如下: xmllint是一个很方便的处理及验证xml、处理html的工具,linux下...

Laravel中正确地返回HTTP状态码方法示例

Laravel中正确地返回HTTP状态码方法示例

在 API 中返回状态码是很重要的,因为响应处理程序是工作在 API 的响应状态码之上的。 写 API 时其中有一个重要的地方是更好的处理响应状态码。以前,我一般会使用不常用的 Int...

Php注入点构造代码

把下面保存成 Test.asp 复制代码 代码如下:<?   $mysql_server_name = "localhost";&...

10个对初学者非常有用的PHP技巧

本文介绍一些关于改善和优化PHP代码的提示和技巧,供大家参考,具体内容如下 1.不要使用相对路径,要定义一个根路径 这样的代码行很常见: require_once('../../li...

JSON字符串传到后台PHP处理问题的解决方法

在项目开发的时候由于涉及到批量记录数组的传入,由于字段多,所以不可能能用普通的方式&a=322&=gsd&v=rwe 这样去传送,所以想到了前端传JSON格式过去content=[{'a...