Home > Backend Development > PHP Tutorial > akeeba恢复jooma3站点到服务器出错误,求解决

akeeba恢复jooma3站点到服务器出错误,求解决

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 14:18:24
Original
832 people have browsed it

到了“数据库恢复”这一步,却提示了下面的错误!

恢复数据库时发生了错误。下面显示了出错提示。点击本窗口右上角的 × 按钮来关闭它,返回数据库恢复页面。

HTTP Request Error
HTTP Status: 500 (Internal Server Error)
Internal status: error
XHR ReadyState: 4
Raw server response:
PHP Warning: mysql_close(): 29 is not a valid MySQL-Link resource in D:\wwwroot\alwyftp\wwwroot\installation\framework\database\driver\mysql.php on line 117

我的站是在本地wamp环境下测试的,然后安装了akeeba 备份组件,但在虚拟主机上恢复站点时,出现以上错误,求高手指点一下!多谢


回复讨论(解决方案)

问题出在这里
D:\wwwroot\alwyftp\wwwroot\installation\framework\database\driver\mysql.php
第 117 行
可能是sql语句有错误,你可以var_dump()输出一下sql语句看看语句的格式是否正确,是否少了什么参数或值

后来着急,没用插件恢复,所以楼上的方法没有测试,直接用ftp把源码上传了,数据库是自己导出再导入到服务器的,就OK了

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template