Deprecated: Function ereg() is deprecated错误解决办法!
[ 2011-07-22 16:24:29 | 作者: admin ]
Function ereg() is deprecated in drupal-6.15\includes\file.inc on line 904
open the file.inc in a good text editor other than notepad, go to the line number 904 to see the following line. Then comment the line and in the next line type the replaced code. this will solve the instalation issues and also most of other issues related to the same issue.
Change
elseif ($depth >= $min_depth && ereg($mask, $file)) {
to
elseif ($depth >= $min_depth && mb_ereg($mask, $file)) {
mb_ereg fortunatly is not deprecated
评论Feed: http://blog.xg98.com/feed.asp?q=comment&id=1713
open the file.inc in a good text editor other than notepad, go to the line number 904 to see the following line. Then comment the line and in the next line type the replaced code. this will solve the instalation issues and also most of other issues related to the same issue.
Change
elseif ($depth >= $min_depth && ereg($mask, $file)) {
to
elseif ($depth >= $min_depth && mb_ereg($mask, $file)) {
mb_ereg fortunatly is not deprecated

这篇日志没有评论。
此日志不可发表评论。