I am tring to use Text_Diff - I have used it before, but it was quite a while ago. I installed PEAR, then installed Horde Text_Diff..
我想使用Text_Diff - 我之前使用过它,但它已经有一段时间了。我安装了PEAR,然后安装了Horde Text_Diff ..
I had to update my path to pear, but after sucessfully doing that, I now recieve the following messages:
我不得不更新我的梨路径,但在成功完成后,我现在收到以下消息:
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/php54/lib/php/pear/Text/Diff.php on line 383
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/php54/lib/php/pear/Text/Diff.php on line 405
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/php54/lib/php/pear/Text/Diff.php on line 427
Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/php54/lib/php/pear/Text/Diff.php on line 449
Fatal error: Class 'Horde_Text_Diff' not found in /home/key88crazy/reviewmypractice.com/merge/canvis/diff.php on line 10
I have looked for solutions for this, and found quite a bit of info about this issue, but nothing has worked yet.
我已经为此寻找解决方案,并且发现了很多关于这个问题的信息,但还没有任何工作。
First Solution: I found some info that talks about the & being deprecated, so I tried to remove the & where I was instructed, but that did not work.
第一个解决方案:我找到了一些关于&被弃用的信息,所以我试图删除&我被指示的位置,但这不起作用。
Next, I tried to uninstall everything, and re-install. I did this, restarted my web-server, but the issue still remains.
接下来,我尝试卸载所有内容,然后重新安装。我做了这个,重新启动了我的网络服务器,但问题仍然存在。
Here is some of my server info:
这是我的一些服务器信息:
php -v
PHP 5.4.37 (cli) (built: Feb 8 2015 08:55:06)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"
NAME="Ubuntu"
VERSION="12.04.5 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
VERSION_ID="12.04"
Lastly, is the fatal error for the missing class part of the first issue?
最后,第一期缺失的课程部分是致命错误吗?
1 个解决方案
#1
0
This problem has been fixed in Text_Diff version 1.2.0; see the changelog.
Text_Diff版本1.2.0中已修复此问题;看到更改日志。
#1
0
This problem has been fixed in Text_Diff version 1.2.0; see the changelog.
Text_Diff版本1.2.0中已修复此问题;看到更改日志。