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

yipeiwu_com5年前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

相关文章

Json_decode 解析json字符串为NULL的解决方法(必看)

从APP端或从其他页面post,get过来的数据一般因为数组形式。因为数组形式不易传输,所以一般都会转json后再发送。本以为发送方json_encode(),接收方json_decod...

php中替换字符串函数strtr()和str_repalce()的用法与区别

首先来看看这个php字符串替换函数 strtr()的两种用法: strtr(string,from,to) 或者strtr(string,array) 首先针对strtr函数第一种方式:...

php数据库备份还原类分享

复制代码 代码如下:<?php/** * 数据库备份还原类 * @author xialeistudio<admin@xialeistudio.net&g...

PHP如何根据文件头检测文件类型实例代码

前言 什么是文件头部Bom? 说白了,就是在保存文件的时候,文件前面会多出一串隐藏的字符,文件签名一般都在文件的头部,如果你用十六进制方式查看文件,你就可以看到文件的一些签名信息。如用u...

php下关于Cannot use a scalar value as an array的解决办法

今天在测试php程序的时候,出现了一个错误提示:Cannot use a scalar value as an array,这个错误提示前几天也出过,当时好像稍微调了一下就好了,也没深究...