[英]htmlspecialchars() throwing an error
I have installed elgg and none of the links work. 我已经安装了elgg,但没有任何链接有效。 In the error log, I see a slew of these error messages:
在错误日志中,我看到了许多错误消息:
htmlspecialchars() expects at most 3 parameters, 4 given
htmlspecialchars()最多期望3个参数,给定4个
You need PHP 5.2.3 or later. 您需要PHP 5.2.3或更高版本。 That's when the 4th parameter to
htmlspecialchars
was added. 那是在
htmlspecialchars
上添加第4个参数的时候。
5.2.3 was released over 5 years ago!! 5.2.3发布于5年前! So how old is your PHP version???
那么您的PHP版本多大???
The current old version is 5.3.16 and 5.4.6 is the version you should really use. 当前的旧版本是5.3.16,而5.4.6是您真正应该使用的版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.