Deprecated: Function ereg_replace() is deprecated in */includes/

今天用瑞豪的服务器的时候。。zencart 1.39h伪静态出现了(这个伪静态是早期的)

Deprecated: Function ereg_replace() is deprecated in */includes/functions/html_output.php on line 19

 

为什么会出现这种情况。。我查了下在php5.3不支持ereg_replace这个函数。所以建议换成str_replace

 

html_output.php找到

$sefu = explode(",", ereg_replace( ' +', '', SEO_URLS_ONLY_IN ));变成

$sefu = explode(",",str_replace ( ' +', '', SEO_URLS_ONLY_IN ));就可以了

五月最新zencart视频教程 - zencart 平常遇到的小错误

问题 & 评论

    共有 0 评论

写个评论或者问题

该视频目前没有评论。

如果有任何关于网站的意见,可以QQ联系或者发邮箱。

WARNING: An Error occurred, please refresh the page and try again.
Fatal error: 1146:Table 'zencartyhs.record_artists_55' doesn't exist :: select content from record_artists_55 where artists_id =544103 in /usr/local/lighthouse/softwares/btpanel/wwwroot/zencart-php.com/includes/classes/db/mysql/query_factory.php on line 102