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

相关文章

PHP7中I/O模型内核剖析详解

PHP7中I/O模型内核剖析详解

1.同步:我客户端(C端调用者)一个功能,该功能没有结束前,我死等结果。 2.异步:我(c端调用者)调用一个功能,不知道该功能结果,该功能有结果后通知我,即回调通知 3.阻塞:就是调用我...

解析PHP实现多进程并行执行脚本

由于php的进程是不支持多线程的,有些场景为了方便以及提高性能,可以用php实现多进程以弥补这个不足:复制代码 代码如下:#!/usr/bin/env php<?php$cmds=...

PHP中让json_encode不自动转义斜杠“/”的方法

前言 最近将使用爬虫爬取的链接保存到 mysql 数据库中时,发现我将链接使用 json_encode 保存时候,在数据库中却显示了转义字符,我并不需要这转义的,看起来不清晰而且占用存储...

PHP正则删除HTML代码中宽高样式的方法

本文实例讲述了PHP正则删除HTML代码中宽高样式的方法。分享给大家供大家参考,具体如下: 因工作需要,需要采集html,并把html内容保存到数据库中。为了避免影响使用,宽高样式需要删...

php+ajax实现无刷新分页

php+ajax实现无刷新分页

本文实例讲述了php+ajax实现无刷新分页实现方法。分享给大家供大家参考。具体如下:     limit  偏移量,长度;  &nbs...