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中base64_decode与base64_encode加密解密函数实例

本文实例讲述了php中base64_decode与base64_encode加密解密函数。分享给大家供大家参考。具体分析如下: 这两个函数在php中是用得对php代码进行加密与解密码的b...

PHP模拟登陆163邮箱发邮件及获取通讯录列表的方法

本文实例讲述了PHP模拟登陆163邮箱发邮件及获取通讯录列表的方法。分享给大家供大家参考。具体实现方法如下: 复制代码 代码如下: <?php   &n...

PHP使用逆波兰式计算工资的方法

本文实例讲述了PHP使用逆波兰式计算工资的方法。分享给大家供大家参考。具体如下: 将一个普通的中序表达式转换为逆波兰表达式的一般算法是: 首先需要分配2个栈,一个作为临时存储运算符的栈S...

PHP异常Parse error: syntax error, unexpected T_VAR错误解决方法

其实,这是一个非常容易解决掉的问题。在我看来,似曾相识,呵呵,最近学JavaScript可是学会了使用var声明变量。 其实,在PHP中根本不需要使用var声明的,但是当一个变量作为一个...

PHP中大括号'{}'用法实例总结

本文实例讲述了PHP中大括号'{}'用法。分享给大家供大家参考,具体如下: 在PHP中,大括号“{}”可以起到如下作用: 1、将多个独立语句合并为一个复合语句,例如 if ... els...