Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[疑问] PW出售贴[自己搞定]

[复制链接]
eyecoco 发表于 2008-8-27 23:00:39 | 显示全部楼层 |阅读模式
Parse error: syntax error, unexpected ')' in D:\usr\local\WebSite\dz\X\data\pw63 - uc\function.php(63) : regexp code on line 20

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: parsesell('2', '  [ in D:\usr\local\WebSite\dz\X\data\pw63 - uc\function.php on line 63


用的是最新的x1.3,出售贴的问题依然存在,怎么解决

[ 本帖最后由 eyecoco 于 2008-8-28 03:17 编辑 ]
回复

使用道具 举报

 楼主| eyecoco 发表于 2008-8-28 03:21:19 | 显示全部楼层
pw63 - uc\function.php
  1. if ($first) {
  2.                 $sellfind = array("/\[sell=(\d+)\](.+)\[\/sell\]/ies");
  3.                 $sellreplace = array("parsesell('\\1', '\\2', $tid)");
  4.                 $pregfind = array_merge($pregfind, $sellfind);
  5.                 $pregreplace = array_merge($pregreplace, $sellreplace);
  6.         }
复制代码
我删除这个段代码就可以成功转换第7步主题贴了,90%以上是这段代码有问题,出现1楼的错误,修改办法不知道,官方帮忙解决吧!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-16 04:36 , Processed in 0.117359 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表