gpt4 book ai didi

php - 使用 MYSQL DB 迁移网站后,网站 (PHP) 显示错误。错误是什么意思?

转载 作者:行者123 更新时间:2023-12-03 08:07:56 25 4
gpt4 key购买 nike

我对一切还是很陌生。因此,如果您需要更多信息,请告诉我。

到目前为止我做了什么:

我将一个网站从一台 ubuntu 10.10 服务器复制到另一台 12.04 ubuntu 服务器。
我还备份和恢复了 MYSQL 数据库。
我配置了 apache2(现在只是在本地)来显示我的页面。
我在 3 个端口上有 3 个页面,其他页面工作,所以我可能正确配置了 apache2。
起初我只是看到一个空白页面,当我试图联系我的网站时,我打开了错误屏幕。

这就是出现的内容,我将网站名称替换为 xxxx :

 Deprecated: Function set_magic_quotes_runtime() is deprecated in /data/xxxx/www/index.php on line 11
Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/DB.php
on line 311 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/DB.php
on line 385 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/DB.php
on line 923 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/HTML/AJAX/Server.php
on line 161 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/HTML/AJAX.php
on line 612 Deprecated: Assigning the return value of new by reference is deprecated in /data/xxxx/www/pear/HTML/AJAX/Serializer/JSON.php
on line 46 Warning: include_once(../pear/Net/Socket.php): failed to open stream: No such file or directory in /data/xxxx/www/pear/Net/SMTP.php
on line 25 Warning: include_once(): Failed opening '../pear/Net/Socket.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
in /data/xxxx/www/pear/Net/SMTP.php on line 25 Warning: include_once(PEAR.php): failed to open stream: No such file or directory in
/data/xxxx/www/pear/Mail/mime.php on line 65 Warning: include_once(): Failed opening 'PEAR.php' for inclusion
(include_path='.:/usr/share/php:/usr/share/pear') in /data/xxxx/www/pear/Mail/mime.php on line 65 Warning:
include_once(../pear/Mail/mimePart.php): failed to open stream: No such file or directory in /data/xxxx/www/pear/Mail/mime.php
on line 75 Warning: include_once(): Failed opening '../pear/Mail/mimePart.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
in /data/xxxx/www/pear/Mail/mime.php on line 75 Deprecated: Assigning the return value of new by reference is deprecated in
/data/xxxx/www/pear/Spreadsheet/Excel/Writer/Workbook.php on line 180 Deprecated: Assigning the return value of new by reference
is deprecated in /data/xxxx/www/pear/Spreadsheet/Excel/Writer/Workbook.php on line 189 Deprecated: Call-time pass-by-reference
has been deprecated in /data/xxxx/www/modules/statistics/frontend.class.php on line 16 Deprecated: Call-time pass-by-reference
has been deprecated in /data/xxxx/www/modules/users/frontend.class.php on line 19 Deprecated: Assigning the return value of new
by reference is deprecated in /data/xxxx/www/pear/DB/common.php on line 958 Deprecated: Assigning the return value of new by
reference is deprecated in /data/xxxx/www/pear/DB/common.php on line 1150 Notice: DB Error: connect failed in
/data/xxxx/www/classes/registry.class.php on line 70

我在这里唯一了解的是:简单邮件传输协议(protocol)(SMTP)

似乎某些数据未正确复制。
如何检查文件夹和子文件夹的 excat 大小?所以我至少可以比较:)
提前致谢。

任何帮助都会很快被投票。

最佳答案

set_magic_quotes_runtime()



只要摆脱这个函数调用。

Assigning the return value of new by reference is deprecated in



只需摆脱并在声明中签名即可。

Warning: include_once(PEAR.php):



你必须安装梨

关于php - 使用 MYSQL DB 迁移网站后,网站 (PHP) 显示错误。错误是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18253382/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com